From 5945635d1d6545b381e7235a6dd650c26a432fba Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 3 Aug 2019 17:25:24 +0200 Subject: [PATCH 01/37] Remove doc commands from sol-tracing-utils because we don't gen docs for this package --- packages/sol-tracing-utils/package.json | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/sol-tracing-utils/package.json b/packages/sol-tracing-utils/package.json index 44a302b117..fc0d3b121e 100644 --- a/packages/sol-tracing-utils/package.json +++ b/packages/sol-tracing-utils/package.json @@ -21,16 +21,11 @@ "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib test/fixtures/artifacts src/artifacts generated_docs", "copy_test_fixtures": "copyfiles 'test/fixtures/**/*' ./lib", - "compile_test": "sol-compiler compile", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "compile_test": "sol-compiler compile" }, "config": { "postpublish": { - "assets": [], - "docOmitExports": [ - "ProfilerSubprovider", - "RevertTraceSubprovider" - ] + "assets": [] } }, "repository": { @@ -83,7 +78,6 @@ "shx": "^0.2.2", "sinon": "^4.0.0", "tslint": "5.11.0", - "typedoc": "0.13.0", "typescript": "3.0.1" }, "publishConfig": { From 957e6b150050d8cf5b8c3613172210b6548c734e Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 3 Aug 2019 18:12:45 +0200 Subject: [PATCH 02/37] Add Doc MD generation & S3 upload commands and generate the MD docs for the current version --- .gitignore | 3 + packages/0x.js/package.json | 5 +- packages/asset-buyer/docs/reference.md | 1352 +++++ packages/asset-buyer/package.json | 5 +- packages/asset-swapper/docs/reference.md | 3385 +++++++++++ packages/asset-swapper/package.json | 5 +- packages/connect/docs/reference.md | 647 ++ packages/connect/package.json | 5 +- packages/contract-wrappers/docs/reference.md | 5657 ++++++++++++++++++ packages/contract-wrappers/package.json | 10 +- packages/ethereum-types/docs/reference.md | 5447 +++++++++++++++++ packages/ethereum-types/package.json | 4 + packages/instant/package.json | 1 - packages/instant/typedoc-tsconfig.json | 7 - packages/json-schemas/docs/reference.md | 107 + packages/json-schemas/package.json | 5 +- packages/migrations/docs/reference.md | 228 + packages/migrations/package.json | 5 +- packages/monorepo-scripts/package.json | 2 +- packages/order-utils/docs/reference.md | 1688 ++++++ packages/order-utils/package.json | 5 +- packages/order-watcher/docs/reference.md | 1169 ++++ packages/sol-compiler/docs/reference.md | 401 ++ packages/sol-compiler/package.json | 5 +- packages/sol-coverage/docs/reference.md | 212 + packages/sol-coverage/package.json | 5 +- packages/sol-profiler/docs/reference.md | 175 + packages/sol-profiler/package.json | 5 +- packages/sol-trace/docs/reference.md | 161 + packages/sol-trace/package.json | 4 + packages/subproviders/docs/reference.md | 3232 ++++++++++ packages/subproviders/package.json | 5 +- packages/web3-wrapper/docs/reference.md | 2026 +++++++ packages/web3-wrapper/package.json | 5 +- yarn.lock | 104 +- 35 files changed, 26057 insertions(+), 25 deletions(-) create mode 100644 packages/asset-buyer/docs/reference.md create mode 100644 packages/asset-swapper/docs/reference.md create mode 100644 packages/connect/docs/reference.md create mode 100644 packages/contract-wrappers/docs/reference.md create mode 100644 packages/ethereum-types/docs/reference.md delete mode 100644 packages/instant/typedoc-tsconfig.json create mode 100644 packages/json-schemas/docs/reference.md create mode 100644 packages/migrations/docs/reference.md create mode 100644 packages/order-utils/docs/reference.md create mode 100644 packages/order-watcher/docs/reference.md create mode 100644 packages/sol-compiler/docs/reference.md create mode 100644 packages/sol-coverage/docs/reference.md create mode 100644 packages/sol-profiler/docs/reference.md create mode 100644 packages/sol-trace/docs/reference.md create mode 100644 packages/subproviders/docs/reference.md create mode 100644 packages/web3-wrapper/docs/reference.md diff --git a/.gitignore b/.gitignore index e1c4c80adf..5747e51bda 100644 --- a/.gitignore +++ b/.gitignore @@ -151,3 +151,6 @@ python-packages/*/.coverage # python keeps package-local copies of json schemas python-packages/json_schemas/src/zero_ex/json_schemas/schemas + +# Doc README copy +packages/*/docs/README.md diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index fbb3c42766..57b9a69685 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -27,6 +27,8 @@ "clean": "shx rm -rf _bundles lib test_temp src/generated_contract_wrappers generated_docs", "build:umd:prod": "NODE_ENV=production node --max_old_space_size=8192 ../../node_modules/.bin/webpack --mode production", "build:commonjs": "tsc -b", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -46,6 +48,7 @@ "@0x/contract-addresses": "^3.1.0", "@0x/dev-utils": "^2.3.1", "@0x/migrations": "^4.3.0", + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", @@ -66,7 +69,7 @@ "sinon": "^4.0.0", "source-map-support": "^0.5.0", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typescript": "3.0.1", "uglifyjs-webpack-plugin": "^2.0.1", "webpack": "^4.20.2" diff --git a/packages/asset-buyer/docs/reference.md b/packages/asset-buyer/docs/reference.md new file mode 100644 index 0000000000..01f1844708 --- /dev/null +++ b/packages/asset-buyer/docs/reference.md @@ -0,0 +1,1352 @@ +> # Class: AssetBuyer + +## Hierarchy + +* **AssetBuyer** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [expiryBufferSeconds](#expirybufferseconds) +* [networkId](#networkid) +* [orderProvider](#orderprovider) +* [orderRefreshIntervalMs](#orderrefreshintervalms) +* [provider](#provider) + +### Methods + +* [executeBuyQuoteAsync](#executebuyquoteasync) +* [getAvailableAssetDatasAsync](#getavailableassetdatasasync) +* [getBuyQuoteAsync](#getbuyquoteasync) +* [getBuyQuoteForERC20TokenAddressAsync](#getbuyquoteforerc20tokenaddressasync) +* [getLiquidityForAssetDataAsync](#getliquidityforassetdataasync) +* [getOrdersAndFillableAmountsAsync](#getordersandfillableamountsasync) +* [getAssetBuyerForProvidedOrders](#static-getassetbuyerforprovidedorders) +* [getAssetBuyerForStandardRelayerAPIUrl](#static-getassetbuyerforstandardrelayerapiurl) + +## Constructors + +### constructor + +\+ **new AssetBuyer**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#class-assetbuyer)* + +*Defined in [asset_buyer.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L84)* + +Instantiates a new AssetBuyer instance + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | The Provider instance you would like to use for interacting with the Ethereum network. | +`orderProvider` | [OrderProvider](#interface-orderprovider) | - | An object that conforms to OrderProvider, see type for definition. | +`options` | `Partial` | {} | Initialization options for the AssetBuyer. See type definition for details. | + +**Returns:** *[AssetBuyer](#class-assetbuyer)* + +An instance of AssetBuyer + +## Properties + +### expiryBufferSeconds + +• **expiryBufferSeconds**: *number* + +*Defined in [asset_buyer.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L41)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [asset_buyer.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L39)* + +___ + +### orderProvider + +• **orderProvider**: *[OrderProvider](#interface-orderprovider)* + +*Defined in [asset_buyer.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L38)* + +___ + +### orderRefreshIntervalMs + +• **orderRefreshIntervalMs**: *number* + +*Defined in [asset_buyer.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L40)* + +___ + +### provider + +• **provider**: *`ZeroExProvider`* + +*Defined in [asset_buyer.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L37)* + +## Methods + +### executeBuyQuoteAsync + +▸ **executeBuyQuoteAsync**(`buyQuote`: [BuyQuote](#interface-buyquote), `options`: `Partial`): *`Promise`* + +*Defined in [asset_buyer.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L227)* + +Given a BuyQuote and desired rate, attempt to execute the buy. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`buyQuote` | [BuyQuote](#interface-buyquote) | - | An object that conforms to BuyQuote. See type definition for more information. | +`options` | `Partial` | {} | Options for the execution of the BuyQuote. See type definition for more information. | + +**Returns:** *`Promise`* + +A promise of the txHash. + +___ + +### getAvailableAssetDatasAsync + +▸ **getAvailableAssetDatasAsync**(): *`Promise`* + +*Defined in [asset_buyer.ts:297](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L297)* + +Get the asset data of all assets that are purchaseable with ether token (wETH) in the order provider passed in at init. + +**Returns:** *`Promise`* + +An array of asset data strings that can be purchased using wETH. + +___ + +### getBuyQuoteAsync + +▸ **getBuyQuoteAsync**(`assetData`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* + +*Defined in [asset_buyer.ts:126](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L126)* + +Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired assetData. +You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`assetData` | string | - | The assetData of the desired asset to buy (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`assetBuyAmount` | `BigNumber` | - | The amount of asset to buy. | +`options` | `Partial` | {} | Options for the request. See type definition for more information. | + +**Returns:** *`Promise`* + +An object that conforms to BuyQuote that satisfies the request. See type definition for more information. + +___ + +### getBuyQuoteForERC20TokenAddressAsync + +▸ **getBuyQuoteForERC20TokenAddressAsync**(`tokenAddress`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* + +*Defined in [asset_buyer.ts:174](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L174)* + +Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired ERC20 token address. +You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The ERC20 token address. | +`assetBuyAmount` | `BigNumber` | - | The amount of asset to buy. | +`options` | `Partial` | {} | Options for the request. See type definition for more information. | + +**Returns:** *`Promise`* + +An object that conforms to BuyQuote that satisfies the request. See type definition for more information. + +___ + +### getLiquidityForAssetDataAsync + +▸ **getLiquidityForAssetDataAsync**(`assetData`: string, `options`: `Partial`): *`Promise`* + +*Defined in [asset_buyer.ts:193](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L193)* + +Returns information about available liquidity for an asset +Does not factor in slippage or fees + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`assetData` | string | - | The assetData of the desired asset to buy (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`options` | `Partial` | {} | Options for the request. See type definition for more information. | + +**Returns:** *`Promise`* + +An object that conforms to LiquidityForAssetData that satisfies the request. See type definition for more information. + +___ + +### getOrdersAndFillableAmountsAsync + +▸ **getOrdersAndFillableAmountsAsync**(`assetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* + +*Defined in [asset_buyer.ts:306](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L306)* + +Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | The assetData of the desired asset to buy (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`shouldForceOrderRefresh` | boolean | If set to true, new orders and state will be fetched instead of waiting for the next orderRefreshIntervalMs. | + +**Returns:** *`Promise`* + +___ + +### `Static` getAssetBuyerForProvidedOrders + +▸ **getAssetBuyerForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* + +*Defined in [asset_buyer.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L54)* + +Instantiates a new AssetBuyer instance given existing liquidity in the form of orders and feeOrders. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | The Provider instance you would like to use for interacting with the Ethereum network. | +`orders` | `SignedOrder`[] | - | A non-empty array of objects that conform to SignedOrder. All orders must have the same makerAssetData and takerAssetData (WETH). | +`options` | `Partial` | {} | Initialization options for the AssetBuyer. See type definition for details. | + +**Returns:** *[AssetBuyer](#class-assetbuyer)* + +An instance of AssetBuyer + +___ + +### `Static` getAssetBuyerForStandardRelayerAPIUrl + +▸ **getAssetBuyerForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* + +*Defined in [asset_buyer.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L73)* + +Instantiates a new AssetBuyer instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | The Provider instance you would like to use for interacting with the Ethereum network. | +`sraApiUrl` | string | - | The standard relayer API base HTTP url you would like to source orders from. | +`options` | `Partial` | {} | Initialization options for the AssetBuyer. See type definition for details. | + +**Returns:** *[AssetBuyer](#class-assetbuyer)* + +An instance of AssetBuyer + +
+ +> # Class: InsufficientAssetLiquidityError + +Error class representing insufficient asset liquidity + +## Hierarchy + +* `Error` + + * **InsufficientAssetLiquidityError** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [amountAvailableToFill](#amountavailabletofill) +* [message](#message) +* [name](#name) +* [stack](#optional-stack) +* [Error](#static-error) + +## Constructors + +### constructor + +\+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* + +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/errors.ts#L12)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`amountAvailableToFill` | `BigNumber` | The amount availabe to fill (in base units) factoring in slippage | + +**Returns:** *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* + +## Properties + +### amountAvailableToFill + +• **amountAvailableToFill**: *`BigNumber`* + +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/errors.ts#L12)* + +The amount availabe to fill (in base units) factoring in slippage. + +___ + +### message + +• **message**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974 + +___ + +### name + +• **name**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973 + +___ + +### `Optional` stack + +• **stack**? : *undefined | string* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975 + +___ + +### `Static` Error + +▪ **Error**: *`ErrorConstructor`* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984 + +
+ +> # Class: BasicOrderProvider + +## Hierarchy + +* **BasicOrderProvider** + +## Implements + +* [OrderProvider](#interface-orderprovider) + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [orders](#orders) + +### Methods + +* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) +* [getOrdersAsync](#getordersasync) + +## Constructors + +### constructor + +\+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* + +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* + +Instantiates a new BasicOrderProvider instance + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `SignedOrder`[] | An array of objects that conform to SignedOrder to fetch from. | + +**Returns:** *[BasicOrderProvider](#class-basicorderprovider)* + +An instance of BasicOrderProvider + +## Properties + +### orders + +• **orders**: *`SignedOrder`[]* + +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* + +## Methods + +### getAvailableMakerAssetDatasAsync + +▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* + +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L37)* + +Given a taker asset data string, return all availabled paired maker asset data strings. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`takerAssetData` | string | A string representing the taker asset data. | + +**Returns:** *`Promise`* + +An array of asset data strings that can be purchased using takerAssetData. + +___ + +### getOrdersAsync + +▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* + +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L24)* + +Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderProviderRequest` | [OrderProviderRequest](#interface-orderproviderrequest) | An instance of OrderFetcherRequest. See type for more information. | + +**Returns:** *`Promise`* + +An instance of OrderProviderResponse. See type for more information. + +
+ +> # Class: StandardRelayerAPIOrderProvider + +## Hierarchy + +* **StandardRelayerAPIOrderProvider** + +## Implements + +* [OrderProvider](#interface-orderprovider) + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [apiUrl](#apiurl) +* [networkId](#networkid) + +### Methods + +* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) +* [getOrdersAsync](#getordersasync) + +## Constructors + +### constructor + +\+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L48)* + +Instantiates a new StandardRelayerAPIOrderProvider instance + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`apiUrl` | string | The standard relayer API base HTTP url you would like to source orders from. | +`networkId` | number | The ethereum network id. | + +**Returns:** *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* + +An instance of StandardRelayerAPIOrderProvider + +## Properties + +### apiUrl + +• **apiUrl**: *string* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L17)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L18)* + +## Methods + +### getAvailableMakerAssetDatasAsync + +▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L91)* + +Given a taker asset data string, return all availabled paired maker asset data strings. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`takerAssetData` | string | A string representing the taker asset data. | + +**Returns:** *`Promise`* + +An array of asset data strings that can be purchased using takerAssetData. + +___ + +### getOrdersAsync + +▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:67](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L67)* + +Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderProviderRequest` | [OrderProviderRequest](#interface-orderproviderrequest) | An instance of OrderProviderRequest. See type for more information. | + +**Returns:** *`Promise`* + +An instance of OrderProviderResponse. See type for more information. + +
+ +> # Enumeration: AssetBuyerError + +Possible error messages thrown by an AssetBuyer instance or associated static methods. + +## Index + +### Enumeration members + +* [AssetUnavailable](#assetunavailable) +* [InsufficientAssetLiquidity](#insufficientassetliquidity) +* [InsufficientZrxLiquidity](#insufficientzrxliquidity) +* [InvalidOrderProviderResponse](#invalidorderproviderresponse) +* [NoAddressAvailable](#noaddressavailable) +* [NoEtherTokenContractFound](#noethertokencontractfound) +* [NoZrxTokenContractFound](#nozrxtokencontractfound) +* [SignatureRequestDenied](#signaturerequestdenied) +* [StandardRelayerApiError](#standardrelayerapierror) +* [TransactionValueTooLow](#transactionvaluetoolow) + +## Enumeration members + +### AssetUnavailable + +• **AssetUnavailable**: = "ASSET_UNAVAILABLE" + +*Defined in [types.ts:122](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L122)* + +___ + +### InsufficientAssetLiquidity + +• **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" + +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L118)* + +___ + +### InsufficientZrxLiquidity + +• **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" + +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L119)* + +___ + +### InvalidOrderProviderResponse + +• **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" + +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L121)* + +___ + +### NoAddressAvailable + +• **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" + +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L120)* + +___ + +### NoEtherTokenContractFound + +• **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" + +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L115)* + +___ + +### NoZrxTokenContractFound + +• **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" + +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L116)* + +___ + +### SignatureRequestDenied + +• **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" + +*Defined in [types.ts:123](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L123)* + +___ + +### StandardRelayerApiError + +• **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" + +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L117)* + +___ + +### TransactionValueTooLow + +• **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" + +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L124)* + +
+ +> # Interface: AssetBuyerOpts + +networkId: The ethereum network id. Defaults to 1 (mainnet). +orderRefreshIntervalMs: The interval in ms that getBuyQuoteAsync should trigger an refresh of orders and order states. Defaults to 10000ms (10s). +expiryBufferSeconds: The number of seconds to add when calculating whether an order is expired or not. Defaults to 300s (5m). + +## Hierarchy + +* **AssetBuyerOpts** + +## Index + +### Properties + +* [expiryBufferSeconds](#expirybufferseconds) +* [networkId](#networkid) +* [orderRefreshIntervalMs](#orderrefreshintervalms) + +## Properties + +### expiryBufferSeconds + +• **expiryBufferSeconds**: *number* + +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L108)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L106)* + +___ + +### orderRefreshIntervalMs + +• **orderRefreshIntervalMs**: *number* + +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L107)* + +
+ +> # Interface: BuyQuote + +assetData: String that represents a specific asset (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). +assetBuyAmount: The amount of asset to buy. +orders: An array of objects conforming to SignedOrder. These orders can be used to cover the requested assetBuyAmount plus slippage. +feeOrders: An array of objects conforming to SignedOrder. These orders can be used to cover the fees for the orders param above. +feePercentage: Optional affiliate fee percentage used to calculate the eth amounts above. +bestCaseQuoteInfo: Info about the best case price for the asset. +worstCaseQuoteInfo: Info about the worst case price for the asset. + +## Hierarchy + +* **BuyQuote** + +## Index + +### Properties + +* [assetBuyAmount](#assetbuyamount) +* [assetData](#assetdata) +* [bestCaseQuoteInfo](#bestcasequoteinfo) +* [feeOrders](#feeorders) +* [feePercentage](#optional-feepercentage) +* [orders](#orders) +* [worstCaseQuoteInfo](#worstcasequoteinfo) + +## Properties + +### assetBuyAmount + +• **assetBuyAmount**: *`BigNumber`* + +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L48)* + +___ + +### assetData + +• **assetData**: *string* + +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L47)* + +___ + +### bestCaseQuoteInfo + +• **bestCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* + +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L52)* + +___ + +### feeOrders + +• **feeOrders**: *`SignedOrder`[]* + +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L50)* + +___ + +### `Optional` feePercentage + +• **feePercentage**? : *undefined | number* + +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L51)* + +___ + +### orders + +• **orders**: *`SignedOrder`[]* + +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L49)* + +___ + +### worstCaseQuoteInfo + +• **worstCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* + +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L53)* + +
+ +> # Interface: BuyQuoteExecutionOpts + +ethAmount: The desired amount of eth to spend. Defaults to buyQuote.worstCaseQuoteInfo.totalEthAmount. +takerAddress: The address to perform the buy. Defaults to the first available address from the provider. +gasLimit: The amount of gas to send with a transaction (in Gwei). Defaults to an eth_estimateGas rpc call. +gasPrice: Gas price in Wei to use for a transaction +feeRecipient: The address where affiliate fees are sent. Defaults to null address (0x000...000). + +## Hierarchy + +* **BuyQuoteExecutionOpts** + +## Index + +### Properties + +* [ethAmount](#optional-ethamount) +* [feeRecipient](#feerecipient) +* [gasLimit](#optional-gaslimit) +* [gasPrice](#optional-gasprice) +* [takerAddress](#optional-takeraddress) + +## Properties + +### `Optional` ethAmount + +• **ethAmount**? : *`BigNumber`* + +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L93)* + +___ + +### feeRecipient + +• **feeRecipient**: *string* + +*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L97)* + +___ + +### `Optional` gasLimit + +• **gasLimit**? : *undefined | number* + +*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L95)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *`BigNumber`* + +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L96)* + +___ + +### `Optional` takerAddress + +• **takerAddress**? : *undefined | string* + +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L94)* + +
+ +> # Interface: BuyQuoteInfo + +assetEthAmount: The amount of eth required to pay for the requested asset. +feeEthAmount: The amount of eth required to pay the affiliate fee. +totalEthAmount: The total amount of eth required to complete the buy (filling orders, feeOrders, and paying affiliate fee). + +## Hierarchy + +* **BuyQuoteInfo** + +## Index + +### Properties + +* [assetEthAmount](#assetethamount) +* [feeEthAmount](#feeethamount) +* [totalEthAmount](#totalethamount) + +## Properties + +### assetEthAmount + +• **assetEthAmount**: *`BigNumber`* + +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L62)* + +___ + +### feeEthAmount + +• **feeEthAmount**: *`BigNumber`* + +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L63)* + +___ + +### totalEthAmount + +• **totalEthAmount**: *`BigNumber`* + +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L64)* + +
+ +> # Interface: BuyQuoteRequestOpts + +feePercentage: The affiliate fee percentage. Defaults to 0. +shouldForceOrderRefresh: If set to true, new orders and state will be fetched instead of waiting for the next orderRefreshIntervalMs. Defaults to false. +slippagePercentage: The percentage buffer to add to account for slippage. Affects max ETH price estimates. Defaults to 0.2 (20%). + +## Hierarchy + +* **BuyQuoteRequestOpts** + +## Index + +### Properties + +* [feePercentage](#feepercentage) +* [shouldForceOrderRefresh](#shouldforceorderrefresh) +* [slippagePercentage](#slippagepercentage) + +## Properties + +### feePercentage + +• **feePercentage**: *number* + +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L73)* + +___ + +### shouldForceOrderRefresh + +• **shouldForceOrderRefresh**: *boolean* + +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L74)* + +___ + +### slippagePercentage + +• **slippagePercentage**: *number* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L75)* + +
+ +> # Interface: LiquidityForAssetData + +Represents available liquidity for a given assetData + +## Hierarchy + +* **LiquidityForAssetData** + +## Index + +### Properties + +* [ethValueAvailableInWei](#ethvalueavailableinwei) +* [tokensAvailableInBaseUnits](#tokensavailableinbaseunits) + +## Properties + +### ethValueAvailableInWei + +• **ethValueAvailableInWei**: *`BigNumber`* + +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L141)* + +___ + +### tokensAvailableInBaseUnits + +• **tokensAvailableInBaseUnits**: *`BigNumber`* + +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L140)* + +
+ +> # Interface: OrderProvider + +gerOrdersAsync: Given an OrderProviderRequest, get an OrderProviderResponse. +getAvailableMakerAssetDatasAsync: Given a taker asset data string, return all availabled paired maker asset data strings. + +## Hierarchy + +* **OrderProvider** + +## Implemented by + +* [BasicOrderProvider](#class-basicorderprovider) +* [StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) + +## Index + +### Properties + +* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) +* [getOrdersAsync](#getordersasync) + +## Properties + +### getAvailableMakerAssetDatasAsync + +• **getAvailableMakerAssetDatasAsync**: *function* + +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L34)* + +#### Type declaration: + +▸ (`takerAssetData`: string): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`takerAssetData` | string | + +___ + +### getOrdersAsync + +• **getOrdersAsync**: *function* + +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L33)* + +#### Type declaration: + +▸ (`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderProviderRequest` | [OrderProviderRequest](#interface-orderproviderrequest) | + +
+ +> # Interface: OrderProviderRequest + +makerAssetData: The assetData representing the desired makerAsset. +takerAssetData: The assetData representing the desired takerAsset. +networkId: The networkId that the desired orders should be for. + +## Hierarchy + +* **OrderProviderRequest** + +## Index + +### Properties + +* [makerAssetData](#makerassetdata) +* [takerAssetData](#takerassetdata) + +## Properties + +### makerAssetData + +• **makerAssetData**: *string* + +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L10)* + +___ + +### takerAssetData + +• **takerAssetData**: *string* + +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L11)* + +
+ +> # Interface: OrderProviderResponse + +orders: An array of orders with optional remaining fillable makerAsset amounts. See type for more info. + +## Hierarchy + +* **OrderProviderResponse** + +## Index + +### Properties + +* [orders](#orders) + +## Properties + +### orders + +• **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* + +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L18)* + +
+ +> # Interface: OrdersAndFillableAmounts + +orders: An array of signed orders +remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed orders. The index of an item in the array associates the amount with the corresponding order. + +## Hierarchy + +* **OrdersAndFillableAmounts** + +## Index + +### Properties + +* [orders](#orders) +* [remainingFillableMakerAssetAmounts](#remainingfillablemakerassetamounts) + +## Properties + +### orders + +• **orders**: *`SignedOrder`[]* + +*Defined in [types.ts:132](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L132)* + +___ + +### remainingFillableMakerAssetAmounts + +• **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* + +*Defined in [types.ts:133](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L133)* + +
+ +> # Interface: SignedOrderWithRemainingFillableMakerAssetAmount + +A normal SignedOrder with one extra optional property `remainingFillableMakerAssetAmount` +remainingFillableMakerAssetAmount: The amount of the makerAsset that is available to be filled + +## Hierarchy + +* `SignedOrder` + + * **SignedOrderWithRemainingFillableMakerAssetAmount** + +## Index + +### Properties + +* [exchangeAddress](#exchangeaddress) +* [expirationTimeSeconds](#expirationtimeseconds) +* [feeRecipientAddress](#feerecipientaddress) +* [makerAddress](#makeraddress) +* [makerAssetAmount](#makerassetamount) +* [makerAssetData](#makerassetdata) +* [makerFee](#makerfee) +* [remainingFillableMakerAssetAmount](#optional-remainingfillablemakerassetamount) +* [salt](#salt) +* [senderAddress](#senderaddress) +* [signature](#signature) +* [takerAddress](#takeraddress) +* [takerAssetAmount](#takerassetamount) +* [takerAssetData](#takerassetdata) +* [takerFee](#takerfee) + +## Properties + +### exchangeAddress + +• **exchangeAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:14 + +___ + +### expirationTimeSeconds + +• **expirationTimeSeconds**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:16 + +___ + +### feeRecipientAddress + +• **feeRecipientAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:15 + +___ + +### makerAddress + +• **makerAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:5 + +___ + +### makerAssetAmount + +• **makerAssetAmount**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:9 + +___ + +### makerAssetData + +• **makerAssetData**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:11 + +___ + +### makerFee + +• **makerFee**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:7 + +___ + +### `Optional` remainingFillableMakerAssetAmount + +• **remainingFillableMakerAssetAmount**? : *`BigNumber`* + +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L26)* + +___ + +### salt + +• **salt**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:13 + +___ + +### senderAddress + +• **senderAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:4 + +___ + +### signature + +• **signature**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:33 + +___ + +### takerAddress + +• **takerAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:6 + +___ + +### takerAssetAmount + +• **takerAssetAmount**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:10 + +___ + +### takerAssetData + +• **takerAssetData**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:12 + +___ + +### takerFee + +• **takerFee**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:8 + +
+ +* [Globals](globals.md) +* [External Modules]() + * [asset_buyer](modules/_asset_buyer_.md) + * [asset_buyer.AssetBuyer](#class-assetbuyer) + * [constants](modules/_constants_.md) + * [errors](modules/_errors_.md) + * [errors.InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror) + * [index](modules/_index_.md) + * [order_providers/basic_order_provider](modules/_order_providers_basic_order_provider_.md) + * [order_providers/basic_order_provider.BasicOrderProvider](#class-basicorderprovider) + * [order_providers/standard_relayer_api_order_provider](modules/_order_providers_standard_relayer_api_order_provider_.md) + * [order_providers/standard_relayer_api_order_provider.StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) + * [types](modules/_types_.md) + * [types.AssetBuyerError](#class-assetbuyererror) + * [types.AssetBuyerOpts](#class-assetbuyeropts) + * [types.BuyQuote](#class-buyquote) + * [types.BuyQuoteExecutionOpts](#class-buyquoteexecutionopts) + * [types.BuyQuoteInfo](#class-buyquoteinfo) + * [types.BuyQuoteRequestOpts](#class-buyquoterequestopts) + * [types.LiquidityForAssetData](#class-liquidityforassetdata) + * [types.OrderProvider](#class-orderprovider) + * [types.OrderProviderRequest](#class-orderproviderrequest) + * [types.OrderProviderResponse](#class-orderproviderresponse) + * [types.OrdersAndFillableAmounts](#class-ordersandfillableamounts) + * [types.SignedOrderWithRemainingFillableMakerAssetAmount](#class-signedorderwithremainingfillablemakerassetamount) + * [utils/assert](modules/_utils_assert_.md) + * [utils/asset_data_utils](modules/_utils_asset_data_utils_.md) + * [utils/buy_quote_calculator](modules/_utils_buy_quote_calculator_.md) + * [utils/calculate_liquidity](modules/_utils_calculate_liquidity_.md) + * [utils/order_provider_response_processor](modules/_utils_order_provider_response_processor_.md) +* [Classes]() + * [asset_buyer.AssetBuyer](#class-assetbuyer) + * [errors.InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror) + * [order_providers/basic_order_provider.BasicOrderProvider](#class-basicorderprovider) + * [order_providers/standard_relayer_api_order_provider.StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) +* [Enums]() + * [types.AssetBuyerError](#class-assetbuyererror) +* [Interfaces]() + * [types.AssetBuyerOpts](#class-assetbuyeropts) + * [types.BuyQuote](#class-buyquote) + * [types.BuyQuoteExecutionOpts](#class-buyquoteexecutionopts) + * [types.BuyQuoteInfo](#class-buyquoteinfo) + * [types.BuyQuoteRequestOpts](#class-buyquoterequestopts) + * [types.LiquidityForAssetData](#class-liquidityforassetdata) + * [types.OrderProvider](#class-orderprovider) + * [types.OrderProviderRequest](#class-orderproviderrequest) + * [types.OrderProviderResponse](#class-orderproviderresponse) + * [types.OrdersAndFillableAmounts](#class-ordersandfillableamounts) + * [types.SignedOrderWithRemainingFillableMakerAssetAmount](#class-signedorderwithremainingfillablemakerassetamount) + +
+ diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index 36494db852..cf500aa6bf 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -19,6 +19,8 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib test_temp", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -51,6 +53,7 @@ "lodash": "^4.17.11" }, "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", @@ -65,7 +68,7 @@ "nyc": "^11.0.1", "shx": "^0.2.2", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typemoq": "^2.1.0", "typescript": "3.0.1" }, diff --git a/packages/asset-swapper/docs/reference.md b/packages/asset-swapper/docs/reference.md new file mode 100644 index 0000000000..965dacb869 --- /dev/null +++ b/packages/asset-swapper/docs/reference.md @@ -0,0 +1,3385 @@ +> # Class: InsufficientAssetLiquidityError + +Error class representing insufficient asset liquidity + +## Hierarchy + +* `Error` + + * **InsufficientAssetLiquidityError** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [amountAvailableToFill](#amountavailabletofill) +* [message](#message) +* [name](#name) +* [stack](#optional-stack) +* [Error](#static-error) + +## Constructors + +### constructor + +\+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* + +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/errors.ts#L12)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`amountAvailableToFill` | `BigNumber` | The amount availabe to fill (in base units) factoring in slippage | + +**Returns:** *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* + +## Properties + +### amountAvailableToFill + +• **amountAvailableToFill**: *`BigNumber`* + +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/errors.ts#L12)* + +The amount availabe to fill (in base units) factoring in slippage. + +___ + +### message + +• **message**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974 + +___ + +### name + +• **name**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973 + +___ + +### `Optional` stack + +• **stack**? : *undefined | string* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975 + +___ + +### `Static` Error + +▪ **Error**: *`ErrorConstructor`* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984 + +
+ +> # Class: BasicOrderProvider + +## Hierarchy + +* **BasicOrderProvider** + +## Implements + +* [OrderProvider](#interface-orderprovider) + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [orders](#orders) + +### Methods + +* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) +* [getAvailableTakerAssetDatasAsync](#getavailabletakerassetdatasasync) +* [getOrdersAsync](#getordersasync) + +## Constructors + +### constructor + +\+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* + +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* + +Instantiates a new BasicOrderProvider instance + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `SignedOrder`[] | An array of objects that conform to SignedOrder to fetch from. | + +**Returns:** *[BasicOrderProvider](#class-basicorderprovider)* + +An instance of BasicOrderProvider + +## Properties + +### orders + +• **orders**: *`SignedOrder`[]* + +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* + +## Methods + +### getAvailableMakerAssetDatasAsync + +▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* + +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L37)* + +Given a taker asset data string, return all availabled paired maker asset data strings. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`takerAssetData` | string | A string representing the taker asset data. | + +**Returns:** *`Promise`* + +An array of asset data strings that can be purchased using takerAssetData. + +___ + +### getAvailableTakerAssetDatasAsync + +▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* + +*Defined in [order_providers/basic_order_provider.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L46)* + +Given a maker asset data string, return all availabled paired taker asset data strings. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`makerAssetData` | string | A string representing the maker asset data. | + +**Returns:** *`Promise`* + +An array of asset data strings that can be used to purchased makerAssetData. + +___ + +### getOrdersAsync + +▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* + +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L24)* + +Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderProviderRequest` | [OrderProviderRequest](#interface-orderproviderrequest) | An instance of OrderFetcherRequest. See type for more information. | + +**Returns:** *`Promise`* + +An instance of OrderProviderResponse. See type for more information. + +
+ +> # Class: StandardRelayerAPIOrderProvider + +## Hierarchy + +* **StandardRelayerAPIOrderProvider** + +## Implements + +* [OrderProvider](#interface-orderprovider) + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [apiUrl](#apiurl) +* [networkId](#networkid) + +### Methods + +* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) +* [getAvailableTakerAssetDatasAsync](#getavailabletakerassetdatasasync) +* [getOrdersAsync](#getordersasync) + +## Constructors + +### constructor + +\+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L49)* + +Instantiates a new StandardRelayerAPIOrderProvider instance + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`apiUrl` | string | The standard relayer API base HTTP url you would like to source orders from. | +`networkId` | number | The ethereum network id. | + +**Returns:** *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* + +An instance of StandardRelayerAPIOrderProvider + +## Properties + +### apiUrl + +• **apiUrl**: *string* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L18)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L19)* + +## Methods + +### getAvailableMakerAssetDatasAsync + +▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L92)* + +Given a taker asset data string, return all available paired maker asset data strings. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`takerAssetData` | string | A string representing the taker asset data. | + +**Returns:** *`Promise`* + +An array of asset data strings that can be purchased using takerAssetData. + +___ + +### getAvailableTakerAssetDatasAsync + +▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L120)* + +Given a maker asset data string, return all availabled paired taker asset data strings. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`makerAssetData` | string | A string representing the maker asset data. | + +**Returns:** *`Promise`* + +An array of asset data strings that can be used to purchased makerAssetData. + +___ + +### getOrdersAsync + +▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* + +*Defined in [order_providers/standard_relayer_api_order_provider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L68)* + +Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderProviderRequest` | [OrderProviderRequest](#interface-orderproviderrequest) | An instance of OrderProviderRequest. See type for more information. | + +**Returns:** *`Promise`* + +An instance of OrderProviderResponse. See type for more information. + +
+ +> # Class: ExchangeSwapQuoteConsumer + +## Hierarchy + +* **ExchangeSwapQuoteConsumer** + +## Implements + +* [SwapQuoteConsumerBase](#exchangesmartcontractparams)*› + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [networkId](#networkid) +* [provider](#provider) + +### Methods + +* [executeSwapQuoteOrThrowAsync](#executeswapquoteorthrowasync) +* [getCalldataOrThrowAsync](#getcalldataorthrowasync) +* [getSmartContractParamsOrThrowAsync](#getsmartcontractparamsorthrowasync) + +## Constructors + +### constructor + +\+ **new ExchangeSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer)* + +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L28)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | +`options` | `Partial` | {} | + +**Returns:** *[ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer)* + +## Properties + +### networkId + +• **networkId**: *number* + +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L26)* + +___ + +### provider + +• **provider**: *`ZeroExProvider`* + +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L25)* + +## Methods + +### executeSwapQuoteOrThrowAsync + +▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* + +*Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* + +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:121](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L121)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quote` | [SwapQuote](#swapquote) | +`opts` | `Partial` | + +**Returns:** *`Promise`* + +___ + +### getCalldataOrThrowAsync + +▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* + +*Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* + +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L42)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quote` | [SwapQuote](#swapquote) | +`opts` | `Partial` | + +**Returns:** *`Promise`* + +___ + +### getSmartContractParamsOrThrowAsync + +▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `_opts`: `Partial`): *`Promise>`* + +*Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* + +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L70)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quote` | [SwapQuote](#swapquote) | +`_opts` | `Partial` | + +**Returns:** *`Promise>`* + +
+ +> # Class: ForwarderSwapQuoteConsumer + +## Hierarchy + +* **ForwarderSwapQuoteConsumer** + +## Implements + +* [SwapQuoteConsumerBase](#forwardersmartcontractparams)*› + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [networkId](#networkid) +* [provider](#provider) + +### Methods + +* [executeSwapQuoteOrThrowAsync](#executeswapquoteorthrowasync) +* [getCalldataOrThrowAsync](#getcalldataorthrowasync) +* [getSmartContractParamsOrThrowAsync](#getsmartcontractparamsorthrowasync) + +## Constructors + +### constructor + +\+ **new ForwarderSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer)* + +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L31)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | +`options` | `Partial` | {} | + +**Returns:** *[ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer)* + +## Properties + +### networkId + +• **networkId**: *number* + +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L29)* + +___ + +### provider + +• **provider**: *`ZeroExProvider`* + +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L28)* + +## Methods + +### executeSwapQuoteOrThrowAsync + +▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* + +*Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* + +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:163](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L163)* + +Given a SwapQuote and desired rate (in Eth), attempt to execute the swap. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`quote` | [SwapQuote](#swapquote) | An object that conforms to SwapQuote. See type definition for more information. | +`opts` | `Partial` | Options for getting CalldataInfo. See type definition for more information. | + +**Returns:** *`Promise`* + +___ + +### getCalldataOrThrowAsync + +▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* + +*Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* + +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L50)* + +Given a SwapQuote, returns 'CalldataInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`quote` | [SwapQuote](#swapquote) | An object that conforms to SwapQuote. See type definition for more information. | +`opts` | `Partial` | Options for getting CalldataInfo. See type definition for more information. | + +**Returns:** *`Promise`* + +___ + +### getSmartContractParamsOrThrowAsync + +▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise>`* + +*Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* + +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:82](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L82)* + +Given a SwapQuote, returns 'SmartContractParamsInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`quote` | [SwapQuote](#swapquote) | An object that conforms to SwapQuote. See type definition for more information. | +`opts` | `Partial` | Options for getting SmartContractParams. See type definition for more information. | + +**Returns:** *`Promise>`* + +
+ +> # Class: SwapQuoteConsumer + +## Hierarchy + +* **SwapQuoteConsumer** + +## Implements + +* [SwapQuoteConsumerBase](#smartcontractparams)*› + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [networkId](#networkid) +* [provider](#provider) + +### Methods + +* [executeSwapQuoteOrThrowAsync](#executeswapquoteorthrowasync) +* [getCalldataOrThrowAsync](#getcalldataorthrowasync) +* [getSmartContractParamsOrThrowAsync](#getsmartcontractparamsorthrowasync) + +## Constructors + +### constructor + +\+ **new SwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[SwapQuoteConsumer](#class-swapquoteconsumer)* + +*Defined in [quote_consumers/swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L30)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | +`options` | `Partial` | {} | + +**Returns:** *[SwapQuoteConsumer](#class-swapquoteconsumer)* + +## Properties + +### networkId + +• **networkId**: *number* + +*Defined in [quote_consumers/swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L26)* + +___ + +### provider + +• **provider**: *`ZeroExProvider`* + +*Defined in [quote_consumers/swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L25)* + +## Methods + +### executeSwapQuoteOrThrowAsync + +▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* + +*Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* + +*Defined in [quote_consumers/swap_quote_consumer.ts:80](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L80)* + +Given a SwapQuote and desired rate (in takerAsset), attempt to execute the swap. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`quote` | [SwapQuote](#swapquote) | An object that conforms to SwapQuote. See type definition for more information. | +`opts` | `Partial` | Options for getting CalldataInfo. See type definition for more information. | + +**Returns:** *`Promise`* + +___ + +### getCalldataOrThrowAsync + +▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* + +*Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* + +*Defined in [quote_consumers/swap_quote_consumer.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L52)* + +Given a SwapQuote, returns 'CalldataInfo' for a 0x exchange call. See type definition of CalldataInfo for more information. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`quote` | [SwapQuote](#swapquote) | An object that conforms to SwapQuote. See type definition for more information. | +`opts` | `Partial` | Options for getting SmartContractParams. See type definition for more information. | + +**Returns:** *`Promise`* + +___ + +### getSmartContractParamsOrThrowAsync + +▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise>`* + +*Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* + +*Defined in [quote_consumers/swap_quote_consumer.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L66)* + +Given a SwapQuote, returns 'SmartContractParamsInfo' for a 0x exchange call. See type definition of SmartContractParamsInfo for more information. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`quote` | [SwapQuote](#swapquote) | An object that conforms to SwapQuote. See type definition for more information. | +`opts` | `Partial` | Options for getting SmartContractParams. See type definition for more information. | + +**Returns:** *`Promise>`* + +
+ +> # Class: SwapQuoter + +## Hierarchy + +* **SwapQuoter** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [expiryBufferMs](#expirybufferms) +* [networkId](#networkid) +* [orderProvider](#orderprovider) +* [orderRefreshIntervalMs](#orderrefreshintervalms) +* [provider](#provider) + +### Methods + +* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) +* [getAvailableTakerAssetDatasAsync](#getavailabletakerassetdatasasync) +* [getLiquidityForMakerTakerAssetDataPairAsync](#getliquidityformakertakerassetdatapairasync) +* [getMarketBuySwapQuoteAsync](#getmarketbuyswapquoteasync) +* [getMarketBuySwapQuoteForAssetDataAsync](#getmarketbuyswapquoteforassetdataasync) +* [getMarketSellSwapQuoteAsync](#getmarketsellswapquoteasync) +* [getMarketSellSwapQuoteForAssetDataAsync](#getmarketsellswapquoteforassetdataasync) +* [getOrdersAndFillableAmountsAsync](#getordersandfillableamountsasync) +* [isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync](#istakeraddressallowanceenoughforbestandworstquoteinfoasync) +* [isTakerMakerAssetDataPairAvailableAsync](#istakermakerassetdatapairavailableasync) +* [getSwapQuoterForProvidedOrders](#static-getswapquoterforprovidedorders) +* [getSwapQuoterForStandardRelayerAPIUrl](#static-getswapquoterforstandardrelayerapiurl) + +## Constructors + +### constructor + +\+ **new SwapQuoter**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#class-swapquoter)* + +*Defined in [swap_quoter.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L93)* + +Instantiates a new SwapQuoter instance + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | The Provider instance you would like to use for interacting with the Ethereum network. | +`orderProvider` | [OrderProvider](#interface-orderprovider) | - | An object that conforms to OrderProvider, see type for definition. | +`options` | `Partial` | {} | Initialization options for the SwapQuoter. See type definition for details. | + +**Returns:** *[SwapQuoter](#class-swapquoter)* + +An instance of SwapQuoter + +## Properties + +### expiryBufferMs + +• **expiryBufferMs**: *number* + +*Defined in [swap_quoter.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L41)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [swap_quoter.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L39)* + +___ + +### orderProvider + +• **orderProvider**: *[OrderProvider](#interface-orderprovider)* + +*Defined in [swap_quoter.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L38)* + +___ + +### orderRefreshIntervalMs + +• **orderRefreshIntervalMs**: *number* + +*Defined in [swap_quoter.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L40)* + +___ + +### provider + +• **provider**: *`ZeroExProvider`* + +*Defined in [swap_quoter.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L37)* + +## Methods + +### getAvailableMakerAssetDatasAsync + +▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* + +*Defined in [swap_quoter.ts:291](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L291)* + +Get the asset data of all assets that are purchaseable with takerAssetData in the order provider passed in at init. + +**Parameters:** + +Name | Type | +------ | ------ | +`takerAssetData` | string | + +**Returns:** *`Promise`* + +An array of asset data strings that are purchaseable with takerAssetData. + +___ + +### getAvailableTakerAssetDatasAsync + +▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* + +*Defined in [swap_quoter.ts:280](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L280)* + +Get the asset data of all assets that can be used to purchase makerAssetData in the order provider passed in at init. + +**Parameters:** + +Name | Type | +------ | ------ | +`makerAssetData` | string | + +**Returns:** *`Promise`* + +An array of asset data strings that can purchase makerAssetData. + +___ + +### getLiquidityForMakerTakerAssetDataPairAsync + +▸ **getLiquidityForMakerTakerAssetDataPairAsync**(`makerAssetData`: string, `takerAssetData`: string, `options`: `Partial`): *`Promise`* + +*Defined in [swap_quoter.ts:246](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L246)* + +Returns information about available liquidity for an asset +Does not factor in slippage or fees + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`makerAssetData` | string | - | The makerAssetData of the desired asset to swap for (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`takerAssetData` | string | - | The takerAssetData of the asset to swap makerAssetData for (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`options` | `Partial` | {} | Options for the request. See type definition for more information. | + +**Returns:** *`Promise`* + +An object that conforms to LiquidityForAssetData that satisfies the request. See type definition for more information. + +___ + +### getMarketBuySwapQuoteAsync + +▸ **getMarketBuySwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* + +*Defined in [swap_quoter.ts:187](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L187)* + +Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. +You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`makerTokenAddress` | string | - | The address of the maker asset | +`takerTokenAddress` | string | - | The address of the taker asset | +`makerAssetBuyAmount` | `BigNumber` | - | The amount of maker asset to swap for. | +`options` | `Partial` | {} | Options for the request. See type definition for more information. | + +**Returns:** *`Promise`* + +An object that conforms to SwapQuote that satisfies the request. See type definition for more information. + +___ + +### getMarketBuySwapQuoteForAssetDataAsync + +▸ **getMarketBuySwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* + +*Defined in [swap_quoter.ts:162](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L162)* + +Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. +You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`makerAssetData` | string | - | The makerAssetData of the desired asset to swap for (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`takerAssetData` | string | - | The takerAssetData of the asset to swap makerAssetData for (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`makerAssetBuyAmount` | `BigNumber` | - | The amount of maker asset to swap for. | +`options` | `Partial` | {} | Options for the request. See type definition for more information. | + +**Returns:** *`Promise`* + +An object that conforms to SwapQuote that satisfies the request. See type definition for more information. + +___ + +### getMarketSellSwapQuoteAsync + +▸ **getMarketSellSwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* + +*Defined in [swap_quoter.ts:217](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L217)* + +Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. +You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`makerTokenAddress` | string | - | The address of the maker asset | +`takerTokenAddress` | string | - | The address of the taker asset | +`takerAssetSellAmount` | `BigNumber` | - | The amount of taker asset to sell. | +`options` | `Partial` | {} | Options for the request. See type definition for more information. | + +**Returns:** *`Promise`* + +An object that conforms to SwapQuote that satisfies the request. See type definition for more information. + +___ + +### getMarketSellSwapQuoteForAssetDataAsync + +▸ **getMarketSellSwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* + +*Defined in [swap_quoter.ts:136](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L136)* + +Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. +You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`makerAssetData` | string | - | The makerAssetData of the desired asset to swap for (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`takerAssetData` | string | - | The takerAssetData of the asset to swap makerAssetData for (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`takerAssetSellAmount` | `BigNumber` | - | The amount of taker asset to swap for. | +`options` | `Partial` | {} | Options for the request. See type definition for more information. | + +**Returns:** *`Promise`* + +An object that conforms to SwapQuote that satisfies the request. See type definition for more information. + +___ + +### getOrdersAndFillableAmountsAsync + +▸ **getOrdersAndFillableAmountsAsync**(`makerAssetData`: string, `takerAssetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* + +*Defined in [swap_quoter.ts:320](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L320)* + +Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`makerAssetData` | string | The makerAssetData of the desired asset to swap for (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`takerAssetData` | string | The takerAssetData of the asset to swap makerAssetData for (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). | +`shouldForceOrderRefresh` | boolean | If set to true, new orders and state will be fetched instead of waiting for the next orderRefreshIntervalMs. | + +**Returns:** *`Promise`* + +___ + +### isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync + +▸ **isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync**(`swapQuote`: [SwapQuote](#swapquote), `takerAddress`: string): *`Promise<[boolean, boolean]>`* + +*Defined in [swap_quoter.ts:381](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L381)* + +Util function to check if takerAddress's allowance is enough for 0x exchange contracts to conduct the swap specified by the swapQuote. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`swapQuote` | [SwapQuote](#swapquote) | The swapQuote in question to check enough allowance enabled for 0x exchange contracts to conduct the swap. | +`takerAddress` | string | The address of the taker of the provided swapQuote | + +**Returns:** *`Promise<[boolean, boolean]>`* + +___ + +### isTakerMakerAssetDataPairAvailableAsync + +▸ **isTakerMakerAssetDataPairAvailableAsync**(`makerAssetData`: string, `takerAssetData`: string): *`Promise`* + +*Defined in [swap_quoter.ts:302](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L302)* + +Validates the taker + maker asset pair is available from the order provider provided to `SwapQuote`. + +**Parameters:** + +Name | Type | +------ | ------ | +`makerAssetData` | string | +`takerAssetData` | string | + +**Returns:** *`Promise`* + +A boolean on if the taker, maker pair exists + +___ + +### `Static` getSwapQuoterForProvidedOrders + +▸ **getSwapQuoterForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* + +*Defined in [swap_quoter.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L54)* + +Instantiates a new SwapQuoter instance given existing liquidity in the form of orders and feeOrders. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | The Provider instance you would like to use for interacting with the Ethereum network. | +`orders` | `SignedOrder`[] | - | A non-empty array of objects that conform to SignedOrder. All orders must have the same makerAssetData and takerAssetData. | +`options` | `Partial` | {} | Initialization options for the SwapQuoter. See type definition for details. | + +**Returns:** *[SwapQuoter](#class-swapquoter)* + +An instance of SwapQuoter + +___ + +### `Static` getSwapQuoterForStandardRelayerAPIUrl + +▸ **getSwapQuoterForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* + +*Defined in [swap_quoter.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L74)* + +Instantiates a new SwapQuoter instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | The Provider instance you would like to use for interacting with the Ethereum network. | +`sraApiUrl` | string | - | The standard relayer API base HTTP url you would like to source orders from. | +`options` | `Partial` | {} | Initialization options for the SwapQuoter. See type definition for details. | + +**Returns:** *[SwapQuoter](#class-swapquoter)* + +An instance of SwapQuoter + +
+ +> # Enumeration: ConsumerType + +Represents the varying smart contracts that can consume a valid swap quote + +## Index + +### Enumeration members + +* [Exchange](#exchange) +* [Forwarder](#forwarder) + +## Enumeration members + +### Exchange + +• **Exchange**: + +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L102)* + +___ + +### Forwarder + +• **Forwarder**: + +*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L101)* + +
+ +> # Enumeration: SwapQuoteConsumerError + +Possible error messages thrown by an SwapQuoterConsumer instance or associated static methods. + +## Index + +### Enumeration members + +* [InvalidForwarderSwapQuote](#invalidforwarderswapquote) +* [InvalidMarketSellOrMarketBuySwapQuote](#invalidmarketsellormarketbuyswapquote) +* [NoAddressAvailable](#noaddressavailable) +* [SignatureRequestDenied](#signaturerequestdenied) +* [TransactionValueTooLow](#transactionvaluetoolow) + +## Enumeration members + +### InvalidForwarderSwapQuote + +• **InvalidForwarderSwapQuote**: = "INVALID_FORWARDER_SWAP_QUOTE_PROVIDED" + +*Defined in [types.ts:304](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L304)* + +___ + +### InvalidMarketSellOrMarketBuySwapQuote + +• **InvalidMarketSellOrMarketBuySwapQuote**: = "INVALID_MARKET_BUY_SELL_SWAP_QUOTE" + +*Defined in [types.ts:303](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L303)* + +___ + +### NoAddressAvailable + +• **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" + +*Defined in [types.ts:305](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L305)* + +___ + +### SignatureRequestDenied + +• **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" + +*Defined in [types.ts:306](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L306)* + +___ + +### TransactionValueTooLow + +• **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" + +*Defined in [types.ts:307](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L307)* + +
+ +> # Enumeration: SwapQuoterError + +Possible error messages thrown by an SwapQuoter instance or associated static methods. + +## Index + +### Enumeration members + +* [AssetUnavailable](#assetunavailable) +* [InsufficientAssetLiquidity](#insufficientassetliquidity) +* [InsufficientZrxLiquidity](#insufficientzrxliquidity) +* [InvalidOrderProviderResponse](#invalidorderproviderresponse) +* [NoEtherTokenContractFound](#noethertokencontractfound) +* [NoZrxTokenContractFound](#nozrxtokencontractfound) +* [StandardRelayerApiError](#standardrelayerapierror) + +## Enumeration members + +### AssetUnavailable + +• **AssetUnavailable**: = "ASSET_UNAVAILABLE" + +*Defined in [types.ts:320](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L320)* + +___ + +### InsufficientAssetLiquidity + +• **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" + +*Defined in [types.ts:317](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L317)* + +___ + +### InsufficientZrxLiquidity + +• **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" + +*Defined in [types.ts:318](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L318)* + +___ + +### InvalidOrderProviderResponse + +• **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" + +*Defined in [types.ts:319](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L319)* + +___ + +### NoEtherTokenContractFound + +• **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" + +*Defined in [types.ts:314](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L314)* + +___ + +### NoZrxTokenContractFound + +• **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" + +*Defined in [types.ts:315](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L315)* + +___ + +### StandardRelayerApiError + +• **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" + +*Defined in [types.ts:316](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L316)* + +
+ +> # Interface: CalldataInfo + +Represents the metadata to call a smart contract with calldata. +calldataHexString: The hexstring of the calldata. +methodAbi: The ABI of the smart contract method to call. +toAddress: The contract address to call. +ethAmount: If provided, the eth amount in wei to send with the smart contract call. + +## Hierarchy + +* **CalldataInfo** + +## Index + +### Properties + +* [calldataHexString](#calldatahexstring) +* [ethAmount](#optional-ethamount) +* [methodAbi](#methodabi) +* [toAddress](#toaddress) + +## Properties + +### calldataHexString + +• **calldataHexString**: *string* + +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L50)* + +___ + +### `Optional` ethAmount + +• **ethAmount**? : *`BigNumber`* + +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L53)* + +___ + +### methodAbi + +• **methodAbi**: *`MethodAbi`* + +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L51)* + +___ + +### toAddress + +• **toAddress**: *string* + +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L52)* + +
+ +> # Interface: ExchangeMarketBuySmartContractParams + +makerAssetFillAmount: The amount of makerAsset to swap for. +type: String specifiying which market operation will be performed with the provided parameters. (In this case a market buy operation) + +## Hierarchy + +* [SmartContractParamsBase](#interface-smartcontractparamsbase) + + * **ExchangeMarketBuySmartContractParams** + + * [ForwarderMarketBuySmartContractParams](#interface-forwardermarketbuysmartcontractparams) + +## Index + +### Properties + +* [makerAssetFillAmount](#makerassetfillamount) +* [orders](#orders) +* [signatures](#signatures) +* [type](#type) + +## Properties + +### makerAssetFillAmount + +• **makerAssetFillAmount**: *`BigNumber`* + +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L84)* + +___ + +### orders + +• **orders**: *`SignedOrder`[]* + +*Inherited from [SmartContractParamsBase](#orders)* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L75)* + +___ + +### signatures + +• **signatures**: *string[]* + +*Inherited from [SmartContractParamsBase](#signatures)* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L76)* + +___ + +### type + +• **type**: *`Buy`* + +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L85)* + +
+ +> # Interface: ExchangeMarketSellSmartContractParams + +takerAssetFillAmount: The amount of takerAsset swapped for makerAsset. +type: String specifiying which market operation will be performed with the provided parameters. (In this case a market sell operation) + +## Hierarchy + +* [SmartContractParamsBase](#interface-smartcontractparamsbase) + + * **ExchangeMarketSellSmartContractParams** + +## Index + +### Properties + +* [orders](#orders) +* [signatures](#signatures) +* [takerAssetFillAmount](#takerassetfillamount) +* [type](#type) + +## Properties + +### orders + +• **orders**: *`SignedOrder`[]* + +*Inherited from [SmartContractParamsBase](#orders)* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L75)* + +___ + +### signatures + +• **signatures**: *string[]* + +*Inherited from [SmartContractParamsBase](#signatures)* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L76)* + +___ + +### takerAssetFillAmount + +• **takerAssetFillAmount**: *`BigNumber`* + +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L93)* + +___ + +### type + +• **type**: *`Sell`* + +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L94)* + +
+ +> # Interface: ForwarderMarketBuySmartContractParams + +## Hierarchy + + * [ExchangeMarketBuySmartContractParams](#interface-exchangemarketbuysmartcontractparams) + +* [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase) + + * **ForwarderMarketBuySmartContractParams** + +## Index + +### Properties + +* [feeOrders](#feeorders) +* [feePercentage](#feepercentage) +* [feeRecipient](#feerecipient) +* [feeSignatures](#feesignatures) +* [makerAssetFillAmount](#makerassetfillamount) +* [orders](#orders) +* [signatures](#signatures) +* [type](#type) + +## Properties + +### feeOrders + +• **feeOrders**: *`SignedOrder`[]* + +*Inherited from [ForwarderSmartContractParamsBase](#feeorders)* + +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L117)* + +___ + +### feePercentage + +• **feePercentage**: *`BigNumber`* + +*Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* + +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L119)* + +___ + +### feeRecipient + +• **feeRecipient**: *string* + +*Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* + +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L120)* + +___ + +### feeSignatures + +• **feeSignatures**: *string[]* + +*Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* + +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L118)* + +___ + +### makerAssetFillAmount + +• **makerAssetFillAmount**: *`BigNumber`* + +*Inherited from [ExchangeMarketBuySmartContractParams](#makerassetfillamount)* + +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L84)* + +___ + +### orders + +• **orders**: *`SignedOrder`[]* + +*Inherited from [SmartContractParamsBase](#orders)* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L75)* + +___ + +### signatures + +• **signatures**: *string[]* + +*Inherited from [SmartContractParamsBase](#signatures)* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L76)* + +___ + +### type + +• **type**: *`Buy`* + +*Inherited from [ExchangeMarketBuySmartContractParams](#type)* + +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L85)* + +
+ +> # Interface: ForwarderMarketSellSmartContractParams + +## Hierarchy + +* object + +* [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase) + + * **ForwarderMarketSellSmartContractParams** + +## Index + +### Properties + +* [feeOrders](#feeorders) +* [feePercentage](#feepercentage) +* [feeRecipient](#feerecipient) +* [feeSignatures](#feesignatures) + +## Properties + +### feeOrders + +• **feeOrders**: *`SignedOrder`[]* + +*Inherited from [ForwarderSmartContractParamsBase](#feeorders)* + +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L117)* + +___ + +### feePercentage + +• **feePercentage**: *`BigNumber`* + +*Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* + +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L119)* + +___ + +### feeRecipient + +• **feeRecipient**: *string* + +*Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* + +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L120)* + +___ + +### feeSignatures + +• **feeSignatures**: *string[]* + +*Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* + +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L118)* + +
+ +> # Interface: ForwarderSmartContractParamsBase + +feeOrders: An array of objects conforming to SignedOrder. These orders can be used to cover the fees for the orders param above. +feeSignatures: An array of signatures that attest that the maker of the orders in fact made the orders. +feePercentage: Optional affiliate fee percentage used to calculate the eth amount paid to fee recipient. +feeRecipient: The address where affiliate fees are sent. Defaults to null address (0x000...000). + +## Hierarchy + +* **ForwarderSmartContractParamsBase** + + * [ForwarderMarketBuySmartContractParams](#interface-forwardermarketbuysmartcontractparams) + + * [ForwarderMarketSellSmartContractParams](#interface-forwardermarketsellsmartcontractparams) + +## Index + +### Properties + +* [feeOrders](#feeorders) +* [feePercentage](#feepercentage) +* [feeRecipient](#feerecipient) +* [feeSignatures](#feesignatures) + +## Properties + +### feeOrders + +• **feeOrders**: *`SignedOrder`[]* + +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L117)* + +___ + +### feePercentage + +• **feePercentage**: *`BigNumber`* + +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L119)* + +___ + +### feeRecipient + +• **feeRecipient**: *string* + +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L120)* + +___ + +### feeSignatures + +• **feeSignatures**: *string[]* + +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L118)* + +
+ +> # Interface: ForwarderSwapQuoteExecutionOpts + +## Hierarchy + + * [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts) + + * [SwapQuoteExecutionOptsBase](#interface-swapquoteexecutionoptsbase) + + * **ForwarderSwapQuoteExecutionOpts** + + * [SwapQuoteExecutionOpts](#interface-swapquoteexecutionopts) + +## Index + +### Properties + +* [ethAmount](#optional-ethamount) +* [feePercentage](#feepercentage) +* [feeRecipient](#feerecipient) +* [gasLimit](#optional-gaslimit) +* [gasPrice](#optional-gasprice) +* [takerAddress](#optional-takeraddress) + +## Properties + +### `Optional` ethAmount + +• **ethAmount**? : *`BigNumber`* + +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* + +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L192)* + +___ + +### feePercentage + +• **feePercentage**: *number* + +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* + +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L190)* + +___ + +### feeRecipient + +• **feeRecipient**: *string* + +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* + +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L191)* + +___ + +### `Optional` gasLimit + +• **gasLimit**? : *undefined | number* + +*Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* + +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L180)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *`BigNumber`* + +*Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* + +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L181)* + +___ + +### `Optional` takerAddress + +• **takerAddress**? : *undefined | string* + +*Inherited from [SwapQuoteExecutionOptsBase](#optional-takeraddress)* + +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L179)* + +
+ +> # Interface: ForwarderSwapQuoteGetOutputOpts + +feePercentage: percentage (up to 5%) of the taker asset paid to feeRecipient +feeRecipient: address of the receiver of the feePercentage of taker asset +ethAmount: The amount of eth (in Wei) sent to the forwarder contract. + +## Hierarchy + +* [SwapQuoteGetOutputOptsBase](#interface-swapquotegetoutputoptsbase) + + * **ForwarderSwapQuoteGetOutputOpts** + + * [SwapQuoteGetOutputOpts](#interface-swapquotegetoutputopts) + + * [ForwarderSwapQuoteExecutionOpts](#interface-forwarderswapquoteexecutionopts) + +## Index + +### Properties + +* [ethAmount](#optional-ethamount) +* [feePercentage](#feepercentage) +* [feeRecipient](#feerecipient) + +## Properties + +### `Optional` ethAmount + +• **ethAmount**? : *`BigNumber`* + +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L192)* + +___ + +### feePercentage + +• **feePercentage**: *number* + +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L190)* + +___ + +### feeRecipient + +• **feeRecipient**: *string* + +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L191)* + +
+ +> # Interface: LiquidityForAssetData + +Represents available liquidity for a given assetData + +## Hierarchy + +* **LiquidityForAssetData** + +## Index + +### Properties + +* [makerTokensAvailableInBaseUnits](#makertokensavailableinbaseunits) +* [takerTokensAvailableInBaseUnits](#takertokensavailableinbaseunits) + +## Properties + +### makerTokensAvailableInBaseUnits + +• **makerTokensAvailableInBaseUnits**: *`BigNumber`* + +*Defined in [types.ts:336](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L336)* + +___ + +### takerTokensAvailableInBaseUnits + +• **takerTokensAvailableInBaseUnits**: *`BigNumber`* + +*Defined in [types.ts:337](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L337)* + +
+ +> # Interface: MarketBuySwapQuote + +makerAssetFillAmount: The amount of makerAsset bought with takerAsset. +type: Specified MarketOperation the SwapQuote is provided for + +## Hierarchy + +* [SwapQuoteBase](#interface-swapquotebase) + + * **MarketBuySwapQuote** + + * [MarketBuySwapQuoteWithAffiliateFee](#interface-marketbuyswapquotewithaffiliatefee) + +## Index + +### Properties + +* [bestCaseQuoteInfo](#bestcasequoteinfo) +* [feeOrders](#feeorders) +* [makerAssetData](#makerassetdata) +* [makerAssetFillAmount](#makerassetfillamount) +* [orders](#orders) +* [takerAssetData](#takerassetdata) +* [type](#type) +* [worstCaseQuoteInfo](#worstcasequoteinfo) + +## Properties + +### bestCaseQuoteInfo + +• **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Inherited from [SwapQuoteBase](#bestcasequoteinfo)* + +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* + +___ + +### feeOrders + +• **feeOrders**: *`SignedOrder`[]* + +*Inherited from [SwapQuoteBase](#feeorders)* + +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* + +___ + +### makerAssetData + +• **makerAssetData**: *string* + +*Inherited from [SwapQuoteBase](#makerassetdata)* + +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* + +___ + +### makerAssetFillAmount + +• **makerAssetFillAmount**: *`BigNumber`* + +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L244)* + +___ + +### orders + +• **orders**: *`SignedOrder`[]* + +*Inherited from [SwapQuoteBase](#orders)* + +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* + +___ + +### takerAssetData + +• **takerAssetData**: *string* + +*Inherited from [SwapQuoteBase](#takerassetdata)* + +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* + +___ + +### type + +• **type**: *`Buy`* + +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L245)* + +___ + +### worstCaseQuoteInfo + +• **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Inherited from [SwapQuoteBase](#worstcasequoteinfo)* + +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* + +
+ +> # Interface: MarketBuySwapQuoteWithAffiliateFee + +## Hierarchy + +* [SwapQuoteWithAffiliateFeeBase](#interface-swapquotewithaffiliatefeebase) + + * [MarketBuySwapQuote](#interface-marketbuyswapquote) + + * **MarketBuySwapQuoteWithAffiliateFee** + +## Index + +### Properties + +* [bestCaseQuoteInfo](#bestcasequoteinfo) +* [feeOrders](#feeorders) +* [feePercentage](#feepercentage) +* [makerAssetData](#makerassetdata) +* [makerAssetFillAmount](#makerassetfillamount) +* [orders](#orders) +* [takerAssetData](#takerassetdata) +* [type](#type) +* [worstCaseQuoteInfo](#worstcasequoteinfo) + +## Properties + +### bestCaseQuoteInfo + +• **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Inherited from [SwapQuoteBase](#bestcasequoteinfo)* + +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* + +___ + +### feeOrders + +• **feeOrders**: *`SignedOrder`[]* + +*Inherited from [SwapQuoteBase](#feeorders)* + +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* + +___ + +### feePercentage + +• **feePercentage**: *number* + +*Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* + +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L249)* + +___ + +### makerAssetData + +• **makerAssetData**: *string* + +*Inherited from [SwapQuoteBase](#makerassetdata)* + +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* + +___ + +### makerAssetFillAmount + +• **makerAssetFillAmount**: *`BigNumber`* + +*Inherited from [MarketBuySwapQuote](#makerassetfillamount)* + +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L244)* + +___ + +### orders + +• **orders**: *`SignedOrder`[]* + +*Inherited from [SwapQuoteBase](#orders)* + +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* + +___ + +### takerAssetData + +• **takerAssetData**: *string* + +*Inherited from [SwapQuoteBase](#takerassetdata)* + +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* + +___ + +### type + +• **type**: *`Buy`* + +*Inherited from [MarketBuySwapQuote](#type)* + +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L245)* + +___ + +### worstCaseQuoteInfo + +• **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Inherited from [SwapQuoteBase](#worstcasequoteinfo)* + +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* + +
+ +> # Interface: MarketSellSwapQuote + +takerAssetFillAmount: The amount of takerAsset sold for makerAsset. +type: Specified MarketOperation the SwapQuote is provided for + +## Hierarchy + +* [SwapQuoteBase](#interface-swapquotebase) + + * **MarketSellSwapQuote** + + * [MarketSellSwapQuoteWithAffiliateFee](#interface-marketsellswapquotewithaffiliatefee) + +## Index + +### Properties + +* [bestCaseQuoteInfo](#bestcasequoteinfo) +* [feeOrders](#feeorders) +* [makerAssetData](#makerassetdata) +* [orders](#orders) +* [takerAssetData](#takerassetdata) +* [takerAssetFillAmount](#takerassetfillamount) +* [type](#type) +* [worstCaseQuoteInfo](#worstcasequoteinfo) + +## Properties + +### bestCaseQuoteInfo + +• **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Inherited from [SwapQuoteBase](#bestcasequoteinfo)* + +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* + +___ + +### feeOrders + +• **feeOrders**: *`SignedOrder`[]* + +*Inherited from [SwapQuoteBase](#feeorders)* + +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* + +___ + +### makerAssetData + +• **makerAssetData**: *string* + +*Inherited from [SwapQuoteBase](#makerassetdata)* + +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* + +___ + +### orders + +• **orders**: *`SignedOrder`[]* + +*Inherited from [SwapQuoteBase](#orders)* + +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* + +___ + +### takerAssetData + +• **takerAssetData**: *string* + +*Inherited from [SwapQuoteBase](#takerassetdata)* + +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* + +___ + +### takerAssetFillAmount + +• **takerAssetFillAmount**: *`BigNumber`* + +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L235)* + +___ + +### type + +• **type**: *`Sell`* + +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L236)* + +___ + +### worstCaseQuoteInfo + +• **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Inherited from [SwapQuoteBase](#worstcasequoteinfo)* + +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* + +
+ +> # Interface: MarketSellSwapQuoteWithAffiliateFee + +## Hierarchy + +* [SwapQuoteWithAffiliateFeeBase](#interface-swapquotewithaffiliatefeebase) + + * [MarketSellSwapQuote](#interface-marketsellswapquote) + + * **MarketSellSwapQuoteWithAffiliateFee** + +## Index + +### Properties + +* [bestCaseQuoteInfo](#bestcasequoteinfo) +* [feeOrders](#feeorders) +* [feePercentage](#feepercentage) +* [makerAssetData](#makerassetdata) +* [orders](#orders) +* [takerAssetData](#takerassetdata) +* [takerAssetFillAmount](#takerassetfillamount) +* [type](#type) +* [worstCaseQuoteInfo](#worstcasequoteinfo) + +## Properties + +### bestCaseQuoteInfo + +• **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Inherited from [SwapQuoteBase](#bestcasequoteinfo)* + +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* + +___ + +### feeOrders + +• **feeOrders**: *`SignedOrder`[]* + +*Inherited from [SwapQuoteBase](#feeorders)* + +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* + +___ + +### feePercentage + +• **feePercentage**: *number* + +*Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* + +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L249)* + +___ + +### makerAssetData + +• **makerAssetData**: *string* + +*Inherited from [SwapQuoteBase](#makerassetdata)* + +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* + +___ + +### orders + +• **orders**: *`SignedOrder`[]* + +*Inherited from [SwapQuoteBase](#orders)* + +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* + +___ + +### takerAssetData + +• **takerAssetData**: *string* + +*Inherited from [SwapQuoteBase](#takerassetdata)* + +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* + +___ + +### takerAssetFillAmount + +• **takerAssetFillAmount**: *`BigNumber`* + +*Inherited from [MarketSellSwapQuote](#takerassetfillamount)* + +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L235)* + +___ + +### type + +• **type**: *`Sell`* + +*Inherited from [MarketSellSwapQuote](#type)* + +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L236)* + +___ + +### worstCaseQuoteInfo + +• **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Inherited from [SwapQuoteBase](#worstcasequoteinfo)* + +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* + +
+ +> # Interface: OrderProvider + +gerOrdersAsync: Given an OrderProviderRequest, get an OrderProviderResponse. +getAvailableMakerAssetDatasAsync: Given a taker asset data string, return all availabled paired maker asset data strings. +getAvailableTakerAssetDatasAsync: Given a maker asset data string, return all availabled paired taker asset data strings. + +## Hierarchy + +* **OrderProvider** + +## Implemented by + +* [BasicOrderProvider](#class-basicorderprovider) +* [StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) + +## Index + +### Properties + +* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) +* [getAvailableTakerAssetDatasAsync](#getavailabletakerassetdatasasync) +* [getOrdersAsync](#getordersasync) + +## Properties + +### getAvailableMakerAssetDatasAsync + +• **getAvailableMakerAssetDatasAsync**: *function* + +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L38)* + +#### Type declaration: + +▸ (`takerAssetData`: string): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`takerAssetData` | string | + +___ + +### getAvailableTakerAssetDatasAsync + +• **getAvailableTakerAssetDatasAsync**: *function* + +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L39)* + +#### Type declaration: + +▸ (`makerAssetData`: string): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`makerAssetData` | string | + +___ + +### getOrdersAsync + +• **getOrdersAsync**: *function* + +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L37)* + +#### Type declaration: + +▸ (`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderProviderRequest` | [OrderProviderRequest](#interface-orderproviderrequest) | + +
+ +> # Interface: OrderProviderRequest + +makerAssetData: The assetData representing the desired makerAsset. +takerAssetData: The assetData representing the desired takerAsset. +networkId: The networkId that the desired orders should be for. + +## Hierarchy + +* **OrderProviderRequest** + +## Index + +### Properties + +* [makerAssetData](#makerassetdata) +* [networkId](#networkid) +* [takerAssetData](#takerassetdata) + +## Properties + +### makerAssetData + +• **makerAssetData**: *string* + +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L11)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L13)* + +___ + +### takerAssetData + +• **takerAssetData**: *string* + +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L12)* + +
+ +> # Interface: OrderProviderResponse + +orders: An array of orders with optional remaining fillable makerAsset amounts. See type for more info. + +## Hierarchy + +* **OrderProviderResponse** + +## Index + +### Properties + +* [orders](#orders) + +## Properties + +### orders + +• **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* + +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L20)* + +
+ +> # Interface: OrdersAndFillableAmounts + +orders: An array of signed orders +remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed orders. The index of an item in the array associates the amount with the corresponding order. + +## Hierarchy + +* **OrdersAndFillableAmounts** + +## Index + +### Properties + +* [orders](#orders) +* [remainingFillableMakerAssetAmounts](#remainingfillablemakerassetamounts) + +## Properties + +### orders + +• **orders**: *`SignedOrder`[]* + +*Defined in [types.ts:328](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L328)* + +___ + +### remainingFillableMakerAssetAmounts + +• **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* + +*Defined in [types.ts:329](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L329)* + +
+ +> # Interface: SignedOrderWithRemainingFillableMakerAssetAmount + +A normal SignedOrder with one extra optional property `remainingFillableMakerAssetAmount` +remainingFillableMakerAssetAmount: The amount of the makerAsset that is available to be filled + +## Hierarchy + +* `SignedOrder` + + * **SignedOrderWithRemainingFillableMakerAssetAmount** + +## Index + +### Properties + +* [exchangeAddress](#exchangeaddress) +* [expirationTimeSeconds](#expirationtimeseconds) +* [feeRecipientAddress](#feerecipientaddress) +* [makerAddress](#makeraddress) +* [makerAssetAmount](#makerassetamount) +* [makerAssetData](#makerassetdata) +* [makerFee](#makerfee) +* [remainingFillableMakerAssetAmount](#optional-remainingfillablemakerassetamount) +* [salt](#salt) +* [senderAddress](#senderaddress) +* [signature](#signature) +* [takerAddress](#takeraddress) +* [takerAssetAmount](#takerassetamount) +* [takerAssetData](#takerassetdata) +* [takerFee](#takerfee) + +## Properties + +### exchangeAddress + +• **exchangeAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:14 + +___ + +### expirationTimeSeconds + +• **expirationTimeSeconds**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:16 + +___ + +### feeRecipientAddress + +• **feeRecipientAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:15 + +___ + +### makerAddress + +• **makerAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:5 + +___ + +### makerAssetAmount + +• **makerAssetAmount**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:9 + +___ + +### makerAssetData + +• **makerAssetData**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:11 + +___ + +### makerFee + +• **makerFee**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:7 + +___ + +### `Optional` remainingFillableMakerAssetAmount + +• **remainingFillableMakerAssetAmount**? : *`BigNumber`* + +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L28)* + +___ + +### salt + +• **salt**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:13 + +___ + +### senderAddress + +• **senderAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:4 + +___ + +### signature + +• **signature**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:33 + +___ + +### takerAddress + +• **takerAddress**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:6 + +___ + +### takerAssetAmount + +• **takerAssetAmount**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:10 + +___ + +### takerAssetData + +• **takerAssetData**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:12 + +___ + +### takerFee + +• **takerFee**: *`BigNumber`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:8 + +
+ +> # Interface: SmartContractParamsBase + +orders: An array of objects conforming to SignedOrder. These orders can be used to cover the requested assetBuyAmount plus slippage. +signatures: An array of signatures that attest that the maker of the orders in fact made the orders. + +## Hierarchy + +* **SmartContractParamsBase** + + * [ExchangeMarketBuySmartContractParams](#interface-exchangemarketbuysmartcontractparams) + + * [ExchangeMarketSellSmartContractParams](#interface-exchangemarketsellsmartcontractparams) + +## Index + +### Properties + +* [orders](#orders) +* [signatures](#signatures) + +## Properties + +### orders + +• **orders**: *`SignedOrder`[]* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L75)* + +___ + +### signatures + +• **signatures**: *string[]* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L76)* + +
+ +> # Interface: SmartContractParamsInfo <**T**> + +Represents the metadata to call a smart contract with parameters. +params: The metadata object containing all the input parameters of a smart contract call. +toAddress: The contract address to call. +ethAmount: If provided, the eth amount in wei to send with the smart contract call. +methodAbi: The ABI of the smart contract method to call with params. + +## Type parameters + +▪ **T** + +## Hierarchy + +* **SmartContractParamsInfo** + +## Index + +### Properties + +* [ethAmount](#optional-ethamount) +* [methodAbi](#methodabi) +* [params](#params) +* [toAddress](#toaddress) + +## Properties + +### `Optional` ethAmount + +• **ethAmount**? : *`BigNumber`* + +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L66)* + +___ + +### methodAbi + +• **methodAbi**: *`MethodAbi`* + +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L67)* + +___ + +### params + +• **params**: *`T`* + +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L64)* + +___ + +### toAddress + +• **toAddress**: *string* + +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L65)* + +
+ +> # Interface: SwapQuoteBase + +takerAssetData: String that represents a specific taker asset (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). +makerAssetData: String that represents a specific maker asset (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). +orders: An array of objects conforming to SignedOrder. These orders can be used to cover the requested assetBuyAmount plus slippage. +feeOrders: An array of objects conforming to SignedOrder. These orders can be used to cover the fees for the orders param above. +bestCaseQuoteInfo: Info about the best case price for the asset. +worstCaseQuoteInfo: Info about the worst case price for the asset. + +## Hierarchy + +* **SwapQuoteBase** + + * [MarketSellSwapQuote](#interface-marketsellswapquote) + + * [MarketBuySwapQuote](#interface-marketbuyswapquote) + +## Index + +### Properties + +* [bestCaseQuoteInfo](#bestcasequoteinfo) +* [feeOrders](#feeorders) +* [makerAssetData](#makerassetdata) +* [orders](#orders) +* [takerAssetData](#takerassetdata) +* [worstCaseQuoteInfo](#worstcasequoteinfo) + +## Properties + +### bestCaseQuoteInfo + +• **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* + +___ + +### feeOrders + +• **feeOrders**: *`SignedOrder`[]* + +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* + +___ + +### makerAssetData + +• **makerAssetData**: *string* + +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* + +___ + +### orders + +• **orders**: *`SignedOrder`[]* + +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* + +___ + +### takerAssetData + +• **takerAssetData**: *string* + +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* + +___ + +### worstCaseQuoteInfo + +• **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* + +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* + +
+ +> # Interface: SwapQuoteConsumerBase <**T**> + +Interface that varying SwapQuoteConsumers adhere to (exchange consumer, router consumer, forwarder consumer, coordinator consumer) +getCalldataOrThrow: Get CalldataInfo to swap for tokens with provided SwapQuote. Throws if invalid SwapQuote is provided. +getSmartContractParamsOrThrow: Get SmartContractParamsInfo to swap for tokens with provided SwapQuote. Throws if invalid SwapQuote is provided. +executeSwapQuoteOrThrowAsync: Executes a web3 transaction to swap for tokens with provided SwapQuote. Throws if invalid SwapQuote is provided. + +## Type parameters + +▪ **T** + +## Hierarchy + +* **SwapQuoteConsumerBase** + +## Implemented by + +* [ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer) +* [ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer) +* [SwapQuoteConsumer](#class-swapquoteconsumer) + +## Index + +### Methods + +* [executeSwapQuoteOrThrowAsync](#executeswapquoteorthrowasync) +* [getCalldataOrThrowAsync](#getcalldataorthrowasync) +* [getSmartContractParamsOrThrowAsync](#getsmartcontractparamsorthrowasync) + +## Methods + +### executeSwapQuoteOrThrowAsync + +▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* + +*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L158)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quote` | [SwapQuote](#swapquote) | +`opts` | `Partial` | + +**Returns:** *`Promise`* + +___ + +### getCalldataOrThrowAsync + +▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* + +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L153)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quote` | [SwapQuote](#swapquote) | +`opts` | `Partial` | + +**Returns:** *`Promise`* + +___ + +### getSmartContractParamsOrThrowAsync + +▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise>`* + +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L154)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quote` | [SwapQuote](#swapquote) | +`opts` | `Partial` | + +**Returns:** *`Promise>`* + +
+ +> # Interface: SwapQuoteConsumerOpts + +networkId: The networkId that the desired orders should be for. + +## Hierarchy + +* **SwapQuoteConsumerOpts** + +## Index + +### Properties + +* [networkId](#networkid) + +## Properties + +### networkId + +• **networkId**: *number* + +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L165)* + +
+ +> # Interface: SwapQuoteExecutionOpts + +Represents the options for executing a swap quote with SwapQuoteConsumer + +## Hierarchy + + * [SwapQuoteGetOutputOpts](#interface-swapquotegetoutputopts) + + * [ForwarderSwapQuoteExecutionOpts](#interface-forwarderswapquoteexecutionopts) + + * **SwapQuoteExecutionOpts** + +## Index + +### Properties + +* [ethAmount](#optional-ethamount) +* [feePercentage](#feepercentage) +* [feeRecipient](#feerecipient) +* [gasLimit](#optional-gaslimit) +* [gasPrice](#optional-gasprice) +* [takerAddress](#optional-takeraddress) +* [useConsumerType](#optional-useconsumertype) + +## Properties + +### `Optional` ethAmount + +• **ethAmount**? : *`BigNumber`* + +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* + +*Overrides [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* + +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L192)* + +___ + +### feePercentage + +• **feePercentage**: *number* + +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* + +*Overrides [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* + +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L190)* + +___ + +### feeRecipient + +• **feeRecipient**: *string* + +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* + +*Overrides [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* + +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L191)* + +___ + +### `Optional` gasLimit + +• **gasLimit**? : *undefined | number* + +*Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* + +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L180)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *`BigNumber`* + +*Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* + +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L181)* + +___ + +### `Optional` takerAddress + +• **takerAddress**? : *undefined | string* + +*Inherited from [SwapQuoteGetOutputOpts](#optional-takeraddress)* + +*Overrides [SwapQuoteExecutionOptsBase](#optional-takeraddress)* + +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L202)* + +___ + +### `Optional` useConsumerType + +• **useConsumerType**? : *[ConsumerType](#enumeration-consumertype)* + +*Inherited from [SwapQuoteGetOutputOpts](#optional-useconsumertype)* + +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L203)* + +
+ +> # Interface: SwapQuoteExecutionOptsBase + +takerAddress: The address to perform the buy. Defaults to the first available address from the provider. +gasLimit: The amount of gas to send with a transaction (in Gwei). Defaults to an eth_estimateGas rpc call. +gasPrice: Gas price in Wei to use for a transaction + +## Hierarchy + +* [SwapQuoteGetOutputOptsBase](#interface-swapquotegetoutputoptsbase) + + * **SwapQuoteExecutionOptsBase** + + * [ForwarderSwapQuoteExecutionOpts](#interface-forwarderswapquoteexecutionopts) + +## Index + +### Properties + +* [gasLimit](#optional-gaslimit) +* [gasPrice](#optional-gasprice) +* [takerAddress](#optional-takeraddress) + +## Properties + +### `Optional` gasLimit + +• **gasLimit**? : *undefined | number* + +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L180)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *`BigNumber`* + +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L181)* + +___ + +### `Optional` takerAddress + +• **takerAddress**? : *undefined | string* + +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L179)* + +
+ +> # Interface: SwapQuoteGetOutputOpts + +takerAddress: The address to perform the buy. Defaults to the first available address from the provider. +useConsumerType: If provided, defaults the SwapQuoteConsumer to create output consumed by ConsumerType. + +## Hierarchy + + * [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts) + + * **SwapQuoteGetOutputOpts** + + * [SwapQuoteExecutionOpts](#interface-swapquoteexecutionopts) + +## Index + +### Properties + +* [ethAmount](#optional-ethamount) +* [feePercentage](#feepercentage) +* [feeRecipient](#feerecipient) +* [takerAddress](#optional-takeraddress) +* [useConsumerType](#optional-useconsumertype) + +## Properties + +### `Optional` ethAmount + +• **ethAmount**? : *`BigNumber`* + +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* + +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L192)* + +___ + +### feePercentage + +• **feePercentage**: *number* + +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* + +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L190)* + +___ + +### feeRecipient + +• **feeRecipient**: *string* + +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* + +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L191)* + +___ + +### `Optional` takerAddress + +• **takerAddress**? : *undefined | string* + +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L202)* + +___ + +### `Optional` useConsumerType + +• **useConsumerType**? : *[ConsumerType](#enumeration-consumertype)* + +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L203)* + +
+ +> # Interface: SwapQuoteGetOutputOptsBase + +Represents the options provided to a generic SwapQuoteConsumer + +## Hierarchy + +* **SwapQuoteGetOutputOptsBase** + + * [SwapQuoteExecutionOptsBase](#interface-swapquoteexecutionoptsbase) + + * [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts) + +
+ +> # Interface: SwapQuoteInfo + +feeTakerTokenAmount: The amount of takerToken required any fee concerned with completing the swap. +takerTokenAmount: The amount of takerToken required to conduct the swap. +totalTakerTokenAmount: The total amount of takerToken required to complete the swap (filling orders, feeOrders, and paying affiliate fee) +makerTokenAmount: The amount of makerToken that will be acquired through the swap. + +## Hierarchy + +* **SwapQuoteInfo** + +## Index + +### Properties + +* [feeTakerTokenAmount](#feetakertokenamount) +* [makerTokenAmount](#makertokenamount) +* [takerTokenAmount](#takertokenamount) +* [totalTakerTokenAmount](#totaltakertokenamount) + +## Properties + +### feeTakerTokenAmount + +• **feeTakerTokenAmount**: *`BigNumber`* + +*Defined in [types.ts:265](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L265)* + +___ + +### makerTokenAmount + +• **makerTokenAmount**: *`BigNumber`* + +*Defined in [types.ts:268](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L268)* + +___ + +### takerTokenAmount + +• **takerTokenAmount**: *`BigNumber`* + +*Defined in [types.ts:267](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L267)* + +___ + +### totalTakerTokenAmount + +• **totalTakerTokenAmount**: *`BigNumber`* + +*Defined in [types.ts:266](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L266)* + +
+ +> # Interface: SwapQuoteRequestOpts + +shouldForceOrderRefresh: If set to true, new orders and state will be fetched instead of waiting for the next orderRefreshIntervalMs. Defaults to false. +shouldDisableRequestingFeeOrders: If set to true, requesting a swapQuote will not perform any computation or requests for fees. +slippagePercentage: The percentage buffer to add to account for slippage. Affects max ETH price estimates. Defaults to 0.2 (20%). + +## Hierarchy + +* **SwapQuoteRequestOpts** + +## Index + +### Properties + +* [shouldDisableRequestingFeeOrders](#shoulddisablerequestingfeeorders) +* [shouldForceOrderRefresh](#shouldforceorderrefresh) +* [slippagePercentage](#slippagepercentage) + +## Properties + +### shouldDisableRequestingFeeOrders + +• **shouldDisableRequestingFeeOrders**: *boolean* + +*Defined in [types.ts:278](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L278)* + +___ + +### shouldForceOrderRefresh + +• **shouldForceOrderRefresh**: *boolean* + +*Defined in [types.ts:277](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L277)* + +___ + +### slippagePercentage + +• **slippagePercentage**: *number* + +*Defined in [types.ts:279](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L279)* + +
+ +> # Interface: SwapQuoterOpts + +networkId: The ethereum network id. Defaults to 1 (mainnet). +orderRefreshIntervalMs: The interval in ms that getBuyQuoteAsync should trigger an refresh of orders and order states. Defaults to 10000ms (10s). +expiryBufferMs: The number of seconds to add when calculating whether an order is expired or not. Defaults to 300s (5m). + +## Hierarchy + +* **SwapQuoterOpts** + +## Index + +### Properties + +* [expiryBufferMs](#expirybufferms) +* [networkId](#networkid) +* [orderRefreshIntervalMs](#orderrefreshintervalms) + +## Properties + +### expiryBufferMs + +• **expiryBufferMs**: *number* + +*Defined in [types.ts:296](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L296)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [types.ts:294](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L294)* + +___ + +### orderRefreshIntervalMs + +• **orderRefreshIntervalMs**: *number* + +*Defined in [types.ts:295](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L295)* + +
+ +> # Interface: SwapQuoteWithAffiliateFeeBase + +## Hierarchy + +* **SwapQuoteWithAffiliateFeeBase** + + * [MarketSellSwapQuoteWithAffiliateFee](#interface-marketsellswapquotewithaffiliatefee) + + * [MarketBuySwapQuoteWithAffiliateFee](#interface-marketbuyswapquotewithaffiliatefee) + +## Index + +### Properties + +* [feePercentage](#feepercentage) + +## Properties + +### feePercentage + +• **feePercentage**: *number* + +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L249)* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [constants](modules/_constants_.md) + * [errors](modules/_errors_.md) + * [errors.InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror) + * [index](modules/_index_.md) + * [order_providers/basic_order_provider](modules/_order_providers_basic_order_provider_.md) + * [order_providers/basic_order_provider.BasicOrderProvider](#class-basicorderprovider) + * [order_providers/standard_relayer_api_order_provider](modules/_order_providers_standard_relayer_api_order_provider_.md) + * [order_providers/standard_relayer_api_order_provider.StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) + * [quote_consumers/exchange_swap_quote_consumer](modules/_quote_consumers_exchange_swap_quote_consumer_.md) + * [quote_consumers/exchange_swap_quote_consumer.ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer) + * [quote_consumers/forwarder_swap_quote_consumer](modules/_quote_consumers_forwarder_swap_quote_consumer_.md) + * [quote_consumers/forwarder_swap_quote_consumer.ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer) + * [quote_consumers/swap_quote_consumer](modules/_quote_consumers_swap_quote_consumer_.md) + * [quote_consumers/swap_quote_consumer.SwapQuoteConsumer](#class-swapquoteconsumer) + * [swap_quoter](modules/_swap_quoter_.md) + * [swap_quoter.SwapQuoter](#class-swapquoter) + * [types](modules/_types_.md) + * [types.ConsumerType](#class-consumertype) + * [types.SwapQuoteConsumerError](#class-swapquoteconsumererror) + * [types.SwapQuoterError](#class-swapquotererror) + * [types.CalldataInfo](#class-calldatainfo) + * [types.ExchangeMarketBuySmartContractParams](#class-exchangemarketbuysmartcontractparams) + * [types.ExchangeMarketSellSmartContractParams](#class-exchangemarketsellsmartcontractparams) + * [types.ForwarderMarketBuySmartContractParams](#class-forwardermarketbuysmartcontractparams) + * [types.ForwarderMarketSellSmartContractParams](#class-forwardermarketsellsmartcontractparams) + * [types.ForwarderSmartContractParamsBase](#class-forwardersmartcontractparamsbase) + * [types.ForwarderSwapQuoteExecutionOpts](#class-forwarderswapquoteexecutionopts) + * [types.ForwarderSwapQuoteGetOutputOpts](#class-forwarderswapquotegetoutputopts) + * [types.LiquidityForAssetData](#class-liquidityforassetdata) + * [types.MarketBuySwapQuote](#class-marketbuyswapquote) + * [types.MarketBuySwapQuoteWithAffiliateFee](#class-marketbuyswapquotewithaffiliatefee) + * [types.MarketSellSwapQuote](#class-marketsellswapquote) + * [types.MarketSellSwapQuoteWithAffiliateFee](#class-marketsellswapquotewithaffiliatefee) + * [types.OrderProvider](#class-orderprovider) + * [types.OrderProviderRequest](#class-orderproviderrequest) + * [types.OrderProviderResponse](#class-orderproviderresponse) + * [types.OrdersAndFillableAmounts](#class-ordersandfillableamounts) + * [types.SignedOrderWithRemainingFillableMakerAssetAmount](#class-signedorderwithremainingfillablemakerassetamount) + * [types.SmartContractParamsBase](#class-smartcontractparamsbase) + * [types.SmartContractParamsInfo](#class-smartcontractparamsinfo) + * [types.SwapQuoteBase](#class-swapquotebase) + * [types.SwapQuoteConsumerBase](#class-swapquoteconsumerbase) + * [types.SwapQuoteConsumerOpts](#class-swapquoteconsumeropts) + * [types.SwapQuoteExecutionOpts](#class-swapquoteexecutionopts) + * [types.SwapQuoteExecutionOptsBase](#class-swapquoteexecutionoptsbase) + * [types.SwapQuoteGetOutputOpts](#class-swapquotegetoutputopts) + * [types.SwapQuoteGetOutputOptsBase](#class-swapquotegetoutputoptsbase) + * [types.SwapQuoteInfo](#class-swapquoteinfo) + * [types.SwapQuoteRequestOpts](#class-swapquoterequestopts) + * [types.SwapQuoteWithAffiliateFeeBase](#class-swapquotewithaffiliatefeebase) + * [types.SwapQuoterOpts](#class-swapquoteropts) + * [utils/affiliate_fee_utils](modules/_utils_affiliate_fee_utils_.md) + * [utils/assert](modules/_utils_assert_.md) + * [utils/asset_data_utils](modules/_utils_asset_data_utils_.md) + * [utils/calculate_liquidity](modules/_utils_calculate_liquidity_.md) + * [utils/order_provider_response_processor](modules/_utils_order_provider_response_processor_.md) + * [utils/swap_quote_calculator](modules/_utils_swap_quote_calculator_.md) + * [utils/swap_quote_consumer_utils](modules/_utils_swap_quote_consumer_utils_.md) + * [utils/utils](modules/_utils_utils_.md) +* [Classes]() + * [errors.InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror) + * [order_providers/basic_order_provider.BasicOrderProvider](#class-basicorderprovider) + * [order_providers/standard_relayer_api_order_provider.StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) + * [quote_consumers/exchange_swap_quote_consumer.ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer) + * [quote_consumers/forwarder_swap_quote_consumer.ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer) + * [quote_consumers/swap_quote_consumer.SwapQuoteConsumer](#class-swapquoteconsumer) + * [swap_quoter.SwapQuoter](#class-swapquoter) +* [Enums]() + * [types.ConsumerType](#class-consumertype) + * [types.SwapQuoteConsumerError](#class-swapquoteconsumererror) + * [types.SwapQuoterError](#class-swapquotererror) +* [Interfaces]() + * [types.CalldataInfo](#class-calldatainfo) + * [types.ExchangeMarketBuySmartContractParams](#class-exchangemarketbuysmartcontractparams) + * [types.ExchangeMarketSellSmartContractParams](#class-exchangemarketsellsmartcontractparams) + * [types.ForwarderMarketBuySmartContractParams](#class-forwardermarketbuysmartcontractparams) + * [types.ForwarderMarketSellSmartContractParams](#class-forwardermarketsellsmartcontractparams) + * [types.ForwarderSmartContractParamsBase](#class-forwardersmartcontractparamsbase) + * [types.ForwarderSwapQuoteExecutionOpts](#class-forwarderswapquoteexecutionopts) + * [types.ForwarderSwapQuoteGetOutputOpts](#class-forwarderswapquotegetoutputopts) + * [types.LiquidityForAssetData](#class-liquidityforassetdata) + * [types.MarketBuySwapQuote](#class-marketbuyswapquote) + * [types.MarketBuySwapQuoteWithAffiliateFee](#class-marketbuyswapquotewithaffiliatefee) + * [types.MarketSellSwapQuote](#class-marketsellswapquote) + * [types.MarketSellSwapQuoteWithAffiliateFee](#class-marketsellswapquotewithaffiliatefee) + * [types.OrderProvider](#class-orderprovider) + * [types.OrderProviderRequest](#class-orderproviderrequest) + * [types.OrderProviderResponse](#class-orderproviderresponse) + * [types.OrdersAndFillableAmounts](#class-ordersandfillableamounts) + * [types.SignedOrderWithRemainingFillableMakerAssetAmount](#class-signedorderwithremainingfillablemakerassetamount) + * [types.SmartContractParamsBase](#class-smartcontractparamsbase) + * [types.SmartContractParamsInfo](#class-smartcontractparamsinfo) + * [types.SwapQuoteBase](#class-swapquotebase) + * [types.SwapQuoteConsumerBase](#class-swapquoteconsumerbase) + * [types.SwapQuoteConsumerOpts](#class-swapquoteconsumeropts) + * [types.SwapQuoteExecutionOpts](#class-swapquoteexecutionopts) + * [types.SwapQuoteExecutionOptsBase](#class-swapquoteexecutionoptsbase) + * [types.SwapQuoteGetOutputOpts](#class-swapquotegetoutputopts) + * [types.SwapQuoteGetOutputOptsBase](#class-swapquotegetoutputoptsbase) + * [types.SwapQuoteInfo](#class-swapquoteinfo) + * [types.SwapQuoteRequestOpts](#class-swapquoterequestopts) + * [types.SwapQuoteWithAffiliateFeeBase](#class-swapquotewithaffiliatefeebase) + * [types.SwapQuoterOpts](#class-swapquoteropts) + +
+ diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index fca19ecbe3..521a267263 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -19,6 +19,8 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit", "clean": "shx rm -rf lib test_temp", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -55,6 +57,7 @@ "lodash": "^4.17.11" }, "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", @@ -69,7 +72,7 @@ "nyc": "^11.0.1", "shx": "^0.2.2", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typemoq": "^2.1.0", "typescript": "3.0.1" }, diff --git a/packages/connect/docs/reference.md b/packages/connect/docs/reference.md new file mode 100644 index 0000000000..6bb8eedfa9 --- /dev/null +++ b/packages/connect/docs/reference.md @@ -0,0 +1,647 @@ +> # Class: HttpClient + +This class includes all the functionality related to interacting with a set of HTTP endpoints +that implement the standard relayer API v2 + +## Hierarchy + +* **HttpClient** + +## Implements + +* [Client](#interface-client) + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [getAssetPairsAsync](#getassetpairsasync) +* [getFeeRecipientsAsync](#getfeerecipientsasync) +* [getOrderAsync](#getorderasync) +* [getOrderConfigAsync](#getorderconfigasync) +* [getOrderbookAsync](#getorderbookasync) +* [getOrdersAsync](#getordersasync) +* [submitOrderAsync](#submitorderasync) + +## Constructors + +### constructor + +\+ **new HttpClient**(`url`: string): *[HttpClient](#class-httpclient)* + +*Defined in [http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L44)* + +Instantiates a new HttpClient instance + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`url` | string | The relayer API base HTTP url you would like to interact with | + +**Returns:** *[HttpClient](#class-httpclient)* + +An instance of HttpClient + +## Methods + +### getAssetPairsAsync + +▸ **getAssetPairsAsync**(`requestOpts?`: `RequestOpts` & `AssetPairsRequestOpts` & `PagedRequestOpts`): *`Promise`* + +*Defined in [http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L59)* + +Retrieve assetData pair info from the API + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`requestOpts?` | `RequestOpts` & `AssetPairsRequestOpts` & `PagedRequestOpts` | Options specifying assetData information to retrieve, page information, and network id. | + +**Returns:** *`Promise`* + +The resulting AssetPairsResponse that match the request + +___ + +### getFeeRecipientsAsync + +▸ **getFeeRecipientsAsync**(`requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* + +*Defined in [http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L160)* + +Retrieve the list of fee recipient addresses used by the relayer. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`requestOpts?` | `RequestOpts` & `PagedRequestOpts` | Options specifying page information, and network id. | + +**Returns:** *`Promise`* + +The resulting FeeRecipientsResponse + +___ + +### getOrderAsync + +▸ **getOrderAsync**(`orderHash`: string, `requestOpts?`: `RequestOpts`): *`Promise`* + +*Defined in [http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L99)* + +Retrieve a specific order from the API + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderHash` | string | An orderHash generated from the desired order | +`requestOpts?` | `RequestOpts` | - | + +**Returns:** *`Promise`* + +The APIOrder that matches the supplied orderHash + +___ + +### getOrderConfigAsync + +▸ **getOrderConfigAsync**(`request`: `OrderConfigRequest`, `requestOpts?`: `RequestOpts`): *`Promise`* + +*Defined in [http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L139)* + +Retrieve fee information from the API + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`request` | `OrderConfigRequest` | A OrderConfigRequest instance describing the specific fees to retrieve | +`requestOpts?` | `RequestOpts` | Options specifying network id. | + +**Returns:** *`Promise`* + +The resulting OrderConfigResponse that matches the request + +___ + +### getOrderbookAsync + +▸ **getOrderbookAsync**(`request`: `OrderbookRequest`, `requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* + +*Defined in [http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L117)* + +Retrieve an orderbook from the API + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`request` | `OrderbookRequest` | An OrderbookRequest instance describing the specific orderbook to retrieve | +`requestOpts?` | `RequestOpts` & `PagedRequestOpts` | Options specifying page information, and network id. | + +**Returns:** *`Promise`* + +The resulting OrderbookResponse that matches the request + +___ + +### getOrdersAsync + +▸ **getOrdersAsync**(`requestOpts?`: `RequestOpts` & `OrdersRequestOpts` & `PagedRequestOpts`): *`Promise`* + +*Defined in [http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L79)* + +Retrieve orders from the API + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`requestOpts?` | `RequestOpts` & `OrdersRequestOpts` & `PagedRequestOpts` | Options specifying orders to retrieve and page information, page information, and network id. | + +**Returns:** *`Promise`* + +The resulting OrdersResponse that match the request + +___ + +### submitOrderAsync + +▸ **submitOrderAsync**(`signedOrder`: `SignedOrder`, `requestOpts?`: `RequestOpts`): *`Promise`* + +*Defined in [http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L177)* + +Submit a signed order to the API + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | A SignedOrder instance to submit | +`requestOpts?` | `RequestOpts` | Options specifying network id. | + +**Returns:** *`Promise`* + +
+ +> # Class: WebSocketOrdersChannel + +This class includes all the functionality related to interacting with a websocket endpoint +that implements the standard relayer API v0 + +## Hierarchy + +* **WebSocketOrdersChannel** + +## Implements + +* [OrdersChannel](#interface-orderschannel) + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [close](#close) +* [subscribe](#subscribe) + +## Constructors + +### constructor + +\+ **new WebSocketOrdersChannel**(`client`: `w3cwebsocket`, `handler`: [OrdersChannelHandler](#class-websocketorderschannel)* + +*Defined in [ws_orders_channel.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/ws_orders_channel.ts#L21)* + +Instantiates a new WebSocketOrdersChannel instance + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`client` | `w3cwebsocket` | A WebSocket client | +`handler` | [OrdersChannelHandler](#interface-orderschannelhandler) | An OrdersChannelHandler instance that responds to various channel updates | + +**Returns:** *[WebSocketOrdersChannel](#class-websocketorderschannel)* + +An instance of WebSocketOrdersChannel + +## Methods + +### close + +▸ **close**(): *void* + +*Defined in [ws_orders_channel.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/ws_orders_channel.ts#L66)* + +Close the websocket and stop receiving updates + +**Returns:** *void* + +___ + +### subscribe + +▸ **subscribe**(`subscriptionOpts`: `OrdersChannelSubscriptionOpts`): *void* + +*Defined in [ws_orders_channel.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/ws_orders_channel.ts#L50)* + +Subscribe to orderbook snapshots and updates from the websocket + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionOpts` | `OrdersChannelSubscriptionOpts` | An OrdersChannelSubscriptionOpts instance describing which assetData pair to subscribe to | + +**Returns:** *void* + +
+ +> # Enumeration: HttpRequestType + +## Index + +### Enumeration members + +* [Get](#get) +* [Post](#post) + +## Enumeration members + +### Get + +• **Get**: = "GET" + +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L46)* + +___ + +### Post + +• **Post**: = "POST" + +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L47)* + +
+ +> # Interface: Client + +## Hierarchy + +* **Client** + +## Implemented by + +* [HttpClient](#class-httpclient) + +## Index + +### Properties + +* [getAssetPairsAsync](#getassetpairsasync) +* [getFeeRecipientsAsync](#getfeerecipientsasync) +* [getOrderAsync](#getorderasync) +* [getOrderConfigAsync](#getorderconfigasync) +* [getOrderbookAsync](#getorderbookasync) +* [getOrdersAsync](#getordersasync) +* [submitOrderAsync](#submitorderasync) + +## Properties + +### getAssetPairsAsync + +• **getAssetPairsAsync**: *function* + +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L18)* + +#### Type declaration: + +▸ (`requestOpts?`: `AssetPairsRequestOpts` & `PagedRequestOpts`): *`Promise>`* + +**Parameters:** + +Name | Type | +------ | ------ | +`requestOpts?` | `AssetPairsRequestOpts` & `PagedRequestOpts` | + +___ + +### getFeeRecipientsAsync + +• **getFeeRecipientsAsync**: *function* + +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L25)* + +#### Type declaration: + +▸ (`requestOpts?`: `PagedRequestOpts`): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`requestOpts?` | `PagedRequestOpts` | + +___ + +### getOrderAsync + +• **getOrderAsync**: *function* + +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L22)* + +#### Type declaration: + +▸ (`orderHash`: string): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | + +___ + +### getOrderConfigAsync + +• **getOrderConfigAsync**: *function* + +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L24)* + +#### Type declaration: + +▸ (`request`: `OrderConfigRequest`): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`request` | `OrderConfigRequest` | + +___ + +### getOrderbookAsync + +• **getOrderbookAsync**: *function* + +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L23)* + +#### Type declaration: + +▸ (`request`: `OrderbookRequest`, `requestOpts?`: `PagedRequestOpts`): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`request` | `OrderbookRequest` | +`requestOpts?` | `PagedRequestOpts` | + +___ + +### getOrdersAsync + +• **getOrdersAsync**: *function* + +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L21)* + +#### Type declaration: + +▸ (`requestOpts?`: `OrdersRequestOpts` & `PagedRequestOpts`): *`Promise>`* + +**Parameters:** + +Name | Type | +------ | ------ | +`requestOpts?` | `OrdersRequestOpts` & `PagedRequestOpts` | + +___ + +### submitOrderAsync + +• **submitOrderAsync**: *function* + +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L26)* + +#### Type declaration: + +▸ (`signedOrder`: `SignedOrder`): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`signedOrder` | `SignedOrder` | + +
+ +> # Interface: HttpRequestOptions + +## Hierarchy + +* **HttpRequestOptions** + +## Index + +### Properties + +* [params](#optional-params) +* [payload](#optional-payload) + +## Properties + +### `Optional` params + +• **params**? : *undefined | object* + +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L41)* + +___ + +### `Optional` payload + +• **payload**? : *undefined | object* + +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L42)* + +
+ +> # Interface: OrdersChannel + +## Hierarchy + +* **OrdersChannel** + +## Implemented by + +* [WebSocketOrdersChannel](#class-websocketorderschannel) + +## Index + +### Properties + +* [close](#close) +* [subscribe](#subscribe) + +## Properties + +### close + +• **close**: *function* + +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L31)* + +#### Type declaration: + +▸ (): *void* + +___ + +### subscribe + +• **subscribe**: *function* + +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L30)* + +#### Type declaration: + +▸ (`subscriptionOpts`: `OrdersChannelSubscriptionOpts`): *void* + +**Parameters:** + +Name | Type | +------ | ------ | +`subscriptionOpts` | `OrdersChannelSubscriptionOpts` | + +
+ +> # Interface: OrdersChannelHandler + +## Hierarchy + +* **OrdersChannelHandler** + +## Index + +### Properties + +* [onClose](#onclose) +* [onError](#onerror) +* [onUpdate](#onupdate) + +## Properties + +### onClose + +• **onClose**: *function* + +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L37)* + +#### Type declaration: + +▸ (`channel`: [OrdersChannel](#interface-orderschannel)): *void* + +**Parameters:** + +Name | Type | +------ | ------ | +`channel` | [OrdersChannel](#interface-orderschannel) | + +___ + +### onError + +• **onError**: *function* + +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L36)* + +#### Type declaration: + +▸ (`channel`: [OrdersChannel](#interface-orderschannel), `err`: `Error`, `subscriptionOpts?`: `OrdersChannelSubscriptionOpts`): *void* + +**Parameters:** + +Name | Type | +------ | ------ | +`channel` | [OrdersChannel](#interface-orderschannel) | +`err` | `Error` | +`subscriptionOpts?` | `OrdersChannelSubscriptionOpts` | + +___ + +### onUpdate + +• **onUpdate**: *function* + +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L35)* + +#### Type declaration: + +▸ (`channel`: [OrdersChannel](#interface-orderschannel), `subscriptionOpts`: `OrdersChannelSubscriptionOpts`, `orders`: `APIOrder`[]): *void* + +**Parameters:** + +Name | Type | +------ | ------ | +`channel` | [OrdersChannel](#interface-orderschannel) | +`subscriptionOpts` | `OrdersChannelSubscriptionOpts` | +`orders` | `APIOrder`[] | + +
+ +> # Interface: OrdersChannelSubscriptionOptsMap + +## Hierarchy + +* **OrdersChannelSubscriptionOptsMap** + +## Indexable + +● \[▪ **key**: *string*\]: `OrdersChannelSubscriptionOpts` + +
+ +* [Globals](globals.md) +* [External Modules]() + * [http_client](modules/_http_client_.md) + * [http_client.HttpClient](#class-httpclient) + * [index](modules/_index_.md) + * [orders_channel_factory](modules/_orders_channel_factory_.md) + * [types](modules/_types_.md) + * [types.HttpRequestType](#class-httprequesttype) + * [types.Client](#class-client) + * [types.HttpRequestOptions](#class-httprequestoptions) + * [types.OrdersChannel](#class-orderschannel) + * [types.OrdersChannelHandler](#class-orderschannelhandler) + * [utils/assert](modules/_utils_assert_.md) + * [utils/orders_channel_message_parser](modules/_utils_orders_channel_message_parser_.md) + * [utils/relayer_response_json_parsers](modules/_utils_relayer_response_json_parsers_.md) + * [utils/type_converters](modules/_utils_type_converters_.md) + * [ws_orders_channel](modules/_ws_orders_channel_.md) + * [ws_orders_channel.WebSocketOrdersChannel](#class-websocketorderschannel) + * [ws_orders_channel.OrdersChannelSubscriptionOptsMap](#class-orderschannelsubscriptionoptsmap) +* [Classes]() + * [http_client.HttpClient](#class-httpclient) + * [ws_orders_channel.WebSocketOrdersChannel](#class-websocketorderschannel) +* [Enums]() + * [types.HttpRequestType](#class-httprequesttype) +* [Interfaces]() + * [types.Client](#class-client) + * [types.HttpRequestOptions](#class-httprequestoptions) + * [types.OrdersChannel](#class-orderschannel) + * [types.OrdersChannelHandler](#class-orderschannelhandler) + * [ws_orders_channel.OrdersChannelSubscriptionOptsMap](#class-orderschannelsubscriptionoptsmap) + +
+ diff --git a/packages/connect/package.json b/packages/connect/package.json index 98844c133c..a8242ddd14 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -27,6 +27,8 @@ "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "test:circleci": "yarn test:coverage", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -58,6 +60,7 @@ "websocket": "^1.0.26" }, "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/fetch-mock": "^6.0.3", "@types/lodash": "4.14.104", @@ -78,7 +81,7 @@ "nyc": "^11.0.1", "shx": "^0.2.2", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typescript": "3.0.1" }, "publishConfig": { diff --git a/packages/contract-wrappers/docs/reference.md b/packages/contract-wrappers/docs/reference.md new file mode 100644 index 0000000000..60e29c6ba1 --- /dev/null +++ b/packages/contract-wrappers/docs/reference.md @@ -0,0 +1,5657 @@ +> # Class: AbstractBalanceAndProxyAllowanceLazyStore + +## Hierarchy + +* **AbstractBalanceAndProxyAllowanceLazyStore** + +## Index + +### Methods + +* [deleteAll](#abstract-deleteall) +* [deleteBalance](#abstract-deletebalance) +* [deleteProxyAllowance](#abstract-deleteproxyallowance) +* [getBalanceAsync](#abstract-getbalanceasync) +* [getProxyAllowanceAsync](#abstract-getproxyallowanceasync) +* [setBalance](#abstract-setbalance) +* [setProxyAllowance](#abstract-setproxyallowance) + +## Methods + +### `Abstract` deleteAll + +▸ **deleteAll**(): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* + +**Returns:** *void* + +___ + +### `Abstract` deleteBalance + +▸ **deleteBalance**(`tokenAddress`: string, `userAddress`: string): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* + +**Parameters:** + +Name | Type | +------ | ------ | +`tokenAddress` | string | +`userAddress` | string | + +**Returns:** *void* + +___ + +### `Abstract` deleteProxyAllowance + +▸ **deleteProxyAllowance**(`tokenAddress`: string, `userAddress`: string): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* + +**Parameters:** + +Name | Type | +------ | ------ | +`tokenAddress` | string | +`userAddress` | string | + +**Returns:** *void* + +___ + +### `Abstract` getBalanceAsync + +▸ **getBalanceAsync**(`tokenAddress`: string, `userAddress`: string): *`Promise`* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* + +**Parameters:** + +Name | Type | +------ | ------ | +`tokenAddress` | string | +`userAddress` | string | + +**Returns:** *`Promise`* + +___ + +### `Abstract` getProxyAllowanceAsync + +▸ **getProxyAllowanceAsync**(`tokenAddress`: string, `userAddress`: string): *`Promise`* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* + +**Parameters:** + +Name | Type | +------ | ------ | +`tokenAddress` | string | +`userAddress` | string | + +**Returns:** *`Promise`* + +___ + +### `Abstract` setBalance + +▸ **setBalance**(`tokenAddress`: string, `userAddress`: string, `balance`: `BigNumber`): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* + +**Parameters:** + +Name | Type | +------ | ------ | +`tokenAddress` | string | +`userAddress` | string | +`balance` | `BigNumber` | + +**Returns:** *void* + +___ + +### `Abstract` setProxyAllowance + +▸ **setProxyAllowance**(`tokenAddress`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* + +**Parameters:** + +Name | Type | +------ | ------ | +`tokenAddress` | string | +`userAddress` | string | +`proxyAllowance` | `BigNumber` | + +**Returns:** *void* + +
+ +> # Class: ContractWrappers + +The ContractWrappers class contains smart contract wrappers helpful when building on 0x protocol. + +## Hierarchy + +* **ContractWrappers** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [coordinator](#coordinator) +* [dutchAuction](#dutchauction) +* [erc20Proxy](#erc20proxy) +* [erc20Token](#erc20token) +* [erc721Proxy](#erc721proxy) +* [erc721Token](#erc721token) +* [etherToken](#ethertoken) +* [exchange](#exchange) +* [forwarder](#forwarder) +* [orderValidator](#ordervalidator) + +### Methods + +* [getAbiDecoder](#getabidecoder) +* [getProvider](#getprovider) +* [unsubscribeAll](#unsubscribeall) + +## Constructors + +### constructor + +\+ **new ContractWrappers**(`supportedProvider`: `SupportedProvider`, `config`: [ContractWrappersConfig](#class-contractwrappers)* + +*Defined in [contract_wrappers.ts:83](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L83)* + +Instantiates a new ContractWrappers instance. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | The Provider instance you would like the contract-wrappers library to use for interacting with the Ethereum network. | +`config` | [ContractWrappersConfig](#interface-contractwrappersconfig) | The configuration object. Look up the type for the description. | + +**Returns:** *[ContractWrappers](#class-contractwrappers)* + +An instance of the ContractWrappers class. + +## Properties + +### coordinator + +• **coordinator**: *[CoordinatorWrapper](#class-coordinatorwrapper)* + +*Defined in [contract_wrappers.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L81)* + +An instance of the CoordinatorWrapper class containing methods for interacting with the Coordinator extension contract. + +___ + +### dutchAuction + +• **dutchAuction**: *[DutchAuctionWrapper](#class-dutchauctionwrapper)* + +*Defined in [contract_wrappers.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L76)* + +An instance of the DutchAuctionWrapper class containing methods for interacting with any DutchAuction smart contract. + +___ + +### erc20Proxy + +• **erc20Proxy**: *[ERC20ProxyWrapper](#class-erc20proxywrapper)* + +*Defined in [contract_wrappers.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L59)* + +An instance of the ERC20ProxyWrapper class containing methods for interacting with the +erc20Proxy smart contract. + +___ + +### erc20Token + +• **erc20Token**: *[ERC20TokenWrapper](#class-erc20tokenwrapper)* + +*Defined in [contract_wrappers.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L45)* + +An instance of the ERC20TokenWrapper class containing methods for interacting with any ERC20 token smart contract. + +___ + +### erc721Proxy + +• **erc721Proxy**: *[ERC721ProxyWrapper](#class-erc721proxywrapper)* + +*Defined in [contract_wrappers.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L64)* + +An instance of the ERC721ProxyWrapper class containing methods for interacting with the +erc721Proxy smart contract. + +___ + +### erc721Token + +• **erc721Token**: *[ERC721TokenWrapper](#class-erc721tokenwrapper)* + +*Defined in [contract_wrappers.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L49)* + +An instance of the ERC721TokenWrapper class containing methods for interacting with any ERC721 token smart contract. + +___ + +### etherToken + +• **etherToken**: *[EtherTokenWrapper](#class-ethertokenwrapper)* + +*Defined in [contract_wrappers.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L54)* + +An instance of the EtherTokenWrapper class containing methods for interacting with the +wrapped ETH ERC20 token smart contract. + +___ + +### exchange + +• **exchange**: *[ExchangeWrapper](#class-exchangewrapper)* + +*Defined in [contract_wrappers.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L41)* + +An instance of the ExchangeWrapper class containing methods for interacting with the 0x Exchange smart contract. + +___ + +### forwarder + +• **forwarder**: *[ForwarderWrapper](#class-forwarderwrapper)* + +*Defined in [contract_wrappers.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L68)* + +An instance of the ForwarderWrapper class containing methods for interacting with any Forwarder smart contract. + +___ + +### orderValidator + +• **orderValidator**: *[OrderValidatorWrapper](#class-ordervalidatorwrapper)* + +*Defined in [contract_wrappers.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L72)* + +An instance of the OrderValidatorWrapper class containing methods for interacting with any OrderValidator smart contract. + +## Methods + +### getAbiDecoder + +▸ **getAbiDecoder**(): *`AbiDecoder`* + +*Defined in [contract_wrappers.ts:179](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L179)* + +Get the abi decoder instance currently used by contract-wrappers + +**Returns:** *`AbiDecoder`* + +AbiDecoder instance + +___ + +### getProvider + +▸ **getProvider**(): *`SupportedProvider`* + +*Defined in [contract_wrappers.ts:172](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L172)* + +Get the provider instance currently used by contract-wrappers + +**Returns:** *`SupportedProvider`* + +Web3 provider instance + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [contract_wrappers.ts:162](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L162)* + +Unsubscribes from all subscriptions for all contracts. + +**Returns:** *void* + +
+ +> # Class: CoordinatorWrapper + +This class includes all the functionality related to filling or cancelling orders through +the 0x V2 Coordinator extension contract. + +## Hierarchy + +* **CoordinatorWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [exchangeAddress](#exchangeaddress) +* [networkId](#networkid) +* [registryAddress](#registryaddress) + +### Methods + +* [assertValidCoordinatorApprovalsOrThrowAsync](#assertvalidcoordinatorapprovalsorthrowasync) +* [batchFillOrKillOrdersAsync](#batchfillorkillordersasync) +* [batchFillOrdersAsync](#batchfillordersasync) +* [batchFillOrdersNoThrowAsync](#batchfillordersnothrowasync) +* [batchHardCancelOrdersAsync](#batchhardcancelordersasync) +* [batchSoftCancelOrdersAsync](#batchsoftcancelordersasync) +* [fillOrKillOrderAsync](#fillorkillorderasync) +* [fillOrderAsync](#fillorderasync) +* [fillOrderNoThrowAsync](#fillordernothrowasync) +* [getSignerAddressAsync](#getsigneraddressasync) +* [hardCancelOrderAsync](#hardcancelorderasync) +* [hardCancelOrdersUpToAsync](#hardcancelordersuptoasync) +* [marketBuyOrdersAsync](#marketbuyordersasync) +* [marketBuyOrdersNoThrowAsync](#marketbuyordersnothrowasync) +* [marketSellOrdersAsync](#marketsellordersasync) +* [marketSellOrdersNoThrowAsync](#marketsellordersnothrowasync) +* [softCancelOrderAsync](#softcancelorderasync) + +## Constructors + +### constructor + +\+ **new CoordinatorWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string, `exchangeAddress?`: undefined | string, `registryAddress?`: undefined | string): *[CoordinatorWrapper](#class-coordinatorwrapper)* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L43)* + +Instantiate CoordinatorWrapper + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use. | +`networkId` | number | Desired networkId. | +`address?` | undefined \| string | The address of the Coordinator contract. If undefined, will default to the known address corresponding to the networkId. | +`exchangeAddress?` | undefined \| string | The address of the Exchange contract. If undefined, will default to the known address corresponding to the networkId. | +`registryAddress?` | undefined \| string | The address of the CoordinatorRegistry contract. If undefined, will default to the known address corresponding to the networkId. | + +**Returns:** *[CoordinatorWrapper](#class-coordinatorwrapper)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* = Coordinator.compilerOutput.abi + +*Defined in [contract_wrappers/coordinator_wrapper.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L33)* + +___ + +### address + +• **address**: *string* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L35)* + +___ + +### exchangeAddress + +• **exchangeAddress**: *string* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L36)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L34)* + +___ + +### registryAddress + +• **registryAddress**: *string* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L37)* + +## Methods + +### assertValidCoordinatorApprovalsOrThrowAsync + +▸ **assertValidCoordinatorApprovalsOrThrowAsync**(`transaction`: `ZeroExTransaction`, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[]): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:582](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L582)* + +Validates that the 0x transaction has been approved by all of the feeRecipients that correspond to each order in the transaction's Exchange calldata. +Throws an error if the transaction approvals are not valid. Will not detect failures that would occur when the transaction is executed on the Exchange contract. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`transaction` | `ZeroExTransaction` | 0x transaction containing salt, signerAddress, and data. | +`txOrigin` | string | Required signer of Ethereum transaction calling this function. | +`transactionSignature` | string | Proof that the transaction has been signed by the signer. | +`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | +`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | + +**Returns:** *`Promise`* + +___ + +### batchFillOrKillOrdersAsync + +▸ **batchFillOrKillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:248](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L248)* + +Batch version of fillOrKillOrderAsync. Executes multiple fills atomically in a single transaction. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmounts` | `BigNumber`[] | - | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### batchFillOrdersAsync + +▸ **batchFillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L190)* + +Batch version of fillOrderAsync. Executes multiple fills atomically in a single transaction. +Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints +registered in the coordinator registry contract. It requests a signature from each coordinator server before +submitting the orders and signatures as a 0x transaction to the coordinator extension contract, which validates the +signatures and then fills the order through the Exchange contract. +If any `feeRecipientAddress` in the batch is not registered to a coordinator server, the whole batch fails. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmounts` | `BigNumber`[] | - | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### batchFillOrdersNoThrowAsync + +▸ **batchFillOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:219](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L219)* + +No throw version of batchFillOrdersAsync + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmounts` | `BigNumber`[] | - | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### batchHardCancelOrdersAsync + +▸ **batchHardCancelOrdersAsync**(`orders`: `SignedOrder`[], `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:513](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L513)* + +Batch version of hardCancelOrderAsync. Cancels orders on-chain by submitting an Ethereum transaction. +Executes multiple cancels atomically in a single transaction. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `SignedOrder`[] | - | An array of orders to cancel. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### batchSoftCancelOrdersAsync + +▸ **batchSoftCancelOrdersAsync**(`orders`: `SignedOrder`[]): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L427)* + +Batch version of softCancelOrderAsync. Requests multiple soft cancels + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `SignedOrder`[] | An array of orders to cancel. | + +**Returns:** *`Promise`* + +CoordinatorServerCancellationResponse. See [Cancellation Response](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/coordinator-specification.md#response). + +___ + +### fillOrKillOrderAsync + +▸ **fillOrKillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L158)* + +Attempts to fill a specific amount of an order. If the entire amount specified cannot be filled, +the fill order is abandoned. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrder` | `SignedOrder` | - | An object that conforms to the SignedOrder interface. | +`takerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### fillOrderAsync + +▸ **fillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L103)* + +Fills a signed order with an amount denominated in baseUnits of the taker asset. Under-the-hood, this +method uses the `feeRecipientAddress` of the order to look up the coordinator server endpoint registered in the +coordinator registry contract. It requests a signature from that coordinator server before +submitting the order and signature as a 0x transaction to the coordinator extension contract. The coordinator extension +contract validates signatures and then fills the order via the Exchange contract. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrder` | `SignedOrder` | - | An object that conforms to the SignedOrder interface. | +`takerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### fillOrderNoThrowAsync + +▸ **fillOrderNoThrowAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:130](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L130)* + +No-throw version of fillOrderAsync. This version will not throw if the fill fails. This allows the caller to save gas at the expense of not knowing the reason the fill failed. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrder` | `SignedOrder` | - | An object that conforms to the SignedOrder interface. | +`takerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### getSignerAddressAsync + +▸ **getSignerAddressAsync**(`hash`: string, `signature`: string): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:614](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L614)* + +Recovers the address of a signer given a hash and signature. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | Any 32 byte hash. | +`signature` | string | Proof that the hash has been signed by signer. | + +**Returns:** *`Promise`* + +Signer address. + +___ + +### hardCancelOrderAsync + +▸ **hardCancelOrderAsync**(`order`: `Order` | `SignedOrder`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:481](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L481)* + +Cancels an order on-chain by submitting an Ethereum transaction. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`order` | `Order` \| `SignedOrder` | - | An object that conforms to the Order or SignedOrder interface. The order you would like to cancel. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### hardCancelOrdersUpToAsync + +▸ **hardCancelOrdersUpToAsync**(`targetOrderEpoch`: `BigNumber`, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:548](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L548)* + +Cancels orders on-chain by submitting an Ethereum transaction. +Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch +and senderAddress equal to coordinator extension contract address. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`targetOrderEpoch` | `BigNumber` | - | Target order epoch. | +`senderAddress` | string | - | Address that should send the transaction. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### marketBuyOrdersAsync + +▸ **marketBuyOrdersAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:282](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L282)* + +Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. +Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints +registered in the coordinator registry contract. It requests a signature from each coordinator server before +submitting the orders and signatures as a 0x transaction to the coordinator extension contract, which validates the +signatures and then fills the order through the Exchange contract. +If any `feeRecipientAddress` in the batch is not registered to a coordinator server, the whole batch fails. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`makerAssetFillAmount` | `BigNumber` | - | Maker asset fill amount. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### marketBuyOrdersNoThrowAsync + +▸ **marketBuyOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:341](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L341)* + +No throw version of marketBuyOrdersAsync + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`makerAssetFillAmount` | `BigNumber` | - | Maker asset fill amount. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### marketSellOrdersAsync + +▸ **marketSellOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:314](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L314)* + +Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. +Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints +registered in the coordinator registry contract. It requests a signature from each coordinator server before +submitting the orders and signatures as a 0x transaction to the coordinator extension contract, which validates the +signatures and then fills the order through the Exchange contract. +If any `feeRecipientAddress` in the batch is not registered to a coordinator server, the whole batch fails. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmount` | `BigNumber` | - | Taker asset fill amount. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### marketSellOrdersNoThrowAsync + +▸ **marketSellOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:368](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L368)* + +No throw version of marketSellOrdersAsync + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmount` | `BigNumber` | - | Taker asset fill amount. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### softCancelOrderAsync + +▸ **softCancelOrderAsync**(`order`: `Order` | `SignedOrder`): *`Promise`* + +*Defined in [contract_wrappers/coordinator_wrapper.ts:392](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L392)* + +Soft cancel a given order. +Soft cancels are recorded only on coordinator operator servers and do not involve an Ethereum transaction. +See [soft cancels](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/coordinator-specification.md#soft-cancels). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | `Order` \| `SignedOrder` | An object that conforms to the Order or SignedOrder interface. The order you would like to cancel. | + +**Returns:** *`Promise`* + +CoordinatorServerCancellationResponse. See [Cancellation Response](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/coordinator-specification.md#response). + +
+ +> # Class: DutchAuctionWrapper + +## Hierarchy + +* **DutchAuctionWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) + +### Methods + +* [getAuctionDetailsAsync](#getauctiondetailsasync) +* [matchOrdersAsync](#matchordersasync) +* [decodeDutchAuctionData](#static-decodedutchauctiondata) +* [encodeDutchAuctionAssetData](#static-encodedutchauctionassetdata) + +## Constructors + +### constructor + +\+ **new DutchAuctionWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[DutchAuctionWrapper](#class-dutchauctionwrapper)* + +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L49)* + +Instantiate DutchAuctionWrapper + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use. | +`networkId` | number | Desired networkId. | +`address?` | undefined \| string | The address of the Dutch Auction contract. If undefined, will default to the known address corresponding to the networkId. | + +**Returns:** *[DutchAuctionWrapper](#class-dutchauctionwrapper)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* = DutchAuction.compilerOutput.abi + +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L18)* + +___ + +### address + +• **address**: *string* + +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L19)* + +## Methods + +### getAuctionDetailsAsync + +▸ **getAuctionDetailsAsync**(`sellOrder`: `SignedOrder`): *`Promise`* + +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L131)* + +Fetches the Auction Details for the given order + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`sellOrder` | `SignedOrder` | The Seller's order. This order is for the lowest amount (at the end of the auction). | + +**Returns:** *`Promise`* + +The dutch auction details. + +___ + +### matchOrdersAsync + +▸ **matchOrdersAsync**(`buyOrder`: `SignedOrder`, `sellOrder`: `SignedOrder`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L77)* + +Matches the buy and sell orders at an amount given the following: the current block time, the auction +start time and the auction begin amount. The sell order is a an order at the lowest amount +at the end of the auction. Excess from the match is transferred to the seller. +Over time the price moves from beginAmount to endAmount given the current block.timestamp. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`buyOrder` | `SignedOrder` | - | The Buyer's order. This order is for the current expected price of the auction. | +`sellOrder` | `SignedOrder` | - | The Seller's order. This order is for the lowest amount (at the end of the auction). | +`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | - | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### `Static` decodeDutchAuctionData + +▸ **decodeDutchAuctionData**(`dutchAuctionData`: string): *`DutchAuctionData`* + +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L46)* + +Dutch auction details are encoded with the asset data for a 0x order. This function decodes a hex +encoded assetData string, containing information both about the asset being traded and the +dutch auction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`dutchAuctionData` | string | Hex encoded assetData string for the asset being auctioned. | + +**Returns:** *`DutchAuctionData`* + +An object containing the auction asset, auction begin time and auction begin amount. + +___ + +### `Static` encodeDutchAuctionAssetData + +▸ **encodeDutchAuctionAssetData**(`assetData`: string, `beginTimeSeconds`: `BigNumber`, `beginAmount`: `BigNumber`): *string* + +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L31)* + +Dutch auction details are encoded with the asset data for a 0x order. This function produces a hex +encoded assetData string, containing information both about the asset being traded and the +dutch auction; which is usable in the makerAssetData or takerAssetData fields in a 0x order. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Hex encoded assetData string for the asset being auctioned. | +`beginTimeSeconds` | `BigNumber` | Begin time of the dutch auction. | +`beginAmount` | `BigNumber` | Starting amount being sold in the dutch auction. | + +**Returns:** *string* + +The hex encoded assetData string. + +
+ +> # Class: ERC20ProxyWrapper + +This class includes the functionality related to interacting with the ERC20Proxy contract. + +## Hierarchy + +* **ERC20ProxyWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) + +### Methods + +* [getAuthorizedAddressesAsync](#getauthorizedaddressesasync) +* [getProxyIdAsync](#getproxyidasync) +* [isAuthorizedAsync](#isauthorizedasync) + +## Constructors + +### constructor + +\+ **new ERC20ProxyWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[ERC20ProxyWrapper](#class-erc20proxywrapper)* + +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L18)* + +Instantiate ERC20ProxyWrapper + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | +`networkId` | number | Desired networkId | +`address?` | undefined \| string | The address of the ERC20Proxy contract. If undefined, will default to the known address corresponding to the networkId. | + +**Returns:** *[ERC20ProxyWrapper](#class-erc20proxywrapper)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* = ERC20Proxy.compilerOutput.abi + +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L15)* + +___ + +### address + +• **address**: *string* + +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L16)* + +## Methods + +### getAuthorizedAddressesAsync + +▸ **getAuthorizedAddressesAsync**(): *`Promise`* + +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L61)* + +Get the list of all Exchange contract addresses authorized by the ERC20Proxy contract. + +**Returns:** *`Promise`* + +The list of authorized addresses. + +___ + +### getProxyIdAsync + +▸ **getProxyIdAsync**(): *`Promise`* + +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L39)* + +Get the 4 bytes ID of this asset proxy + +**Returns:** *`Promise`* + +Proxy id + +___ + +### isAuthorizedAsync + +▸ **isAuthorizedAsync**(`exchangeContractAddress`: string): *`Promise`* + +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L51)* + +Check if the Exchange contract address is authorized by the ERC20Proxy contract. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`exchangeContractAddress` | string | The hex encoded address of the Exchange contract to call. | + +**Returns:** *`Promise`* + +Whether the exchangeContractAddress is authorized. + +
+ +> # Class: ERC20TokenWrapper + +This class includes all the functionality related to interacting with ERC20 token contracts. +All ERC20 method calls are supported, along with some convenience methods for getting/setting allowances +to the 0x ERC20 Proxy smart contract. + +## Hierarchy + +* **ERC20TokenWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [UNLIMITED_ALLOWANCE_IN_BASE_UNITS](#unlimited_allowance_in_base_units) +* [abi](#abi) + +### Methods + +* [getAllowanceAsync](#getallowanceasync) +* [getBalanceAsync](#getbalanceasync) +* [getLogsAsync](#getlogsasync) +* [getProxyAllowanceAsync](#getproxyallowanceasync) +* [setAllowanceAsync](#setallowanceasync) +* [setProxyAllowanceAsync](#setproxyallowanceasync) +* [setUnlimitedAllowanceAsync](#setunlimitedallowanceasync) +* [setUnlimitedProxyAllowanceAsync](#setunlimitedproxyallowanceasync) +* [subscribe](#subscribe) +* [transferAsync](#transferasync) +* [transferFromAsync](#transferfromasync) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) + +## Constructors + +### constructor + +\+ **new ERC20TokenWrapper**(`web3Wrapper`: `Web3Wrapper`, `erc20ProxyWrapper`: [ERC20ProxyWrapper](#class-erc20tokenwrapper)* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L38)* + +Instantiate ERC20TokenWrapper + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | +`erc20ProxyWrapper` | [ERC20ProxyWrapper](#class-erc20proxywrapper) | The ERC20ProxyWrapper instance to use | +`blockPollingIntervalMs?` | undefined \| number | - | + +**Returns:** *[ERC20TokenWrapper](#class-erc20tokenwrapper)* + +## Properties + +### UNLIMITED_ALLOWANCE_IN_BASE_UNITS + +• **UNLIMITED_ALLOWANCE_IN_BASE_UNITS**: *`BigNumber`* = constants.UNLIMITED_ALLOWANCE_IN_BASE_UNITS + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L33)* + +___ + +### abi + +• **abi**: *`ContractAbi`* = ERC20Token.compilerOutput.abi + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L32)* + +## Methods + +### getAllowanceAsync + +▸ **getAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `spenderAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:155](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L155)* + +Retrieves the owners allowance in baseUnits set to the spender's address. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address whose allowance to spenderAddress you would like to retrieve. | +`spenderAddress` | string | - | The hex encoded user Ethereum address who can spend the allowance you are fetching. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +___ + +### getBalanceAsync + +▸ **getBalanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L61)* + +Retrieves an owner's ERC20 token balance. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address whose balance you would like to check. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +The owner's ERC20 token balance in base units. + +___ + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC20TokenEvents`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L409)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *`ERC20TokenEventArgs`* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`tokenAddress` | string | An address of the token that emitted the logs. | +`eventName` | `ERC20TokenEvents` | The token contract event you would like to subscribe to. | +`blockRange` | [BlockRange](#interface-blockrange) | Block range to get logs from. | +`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### getProxyAllowanceAsync + +▸ **getProxyAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:188](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L188)* + +Retrieves the owner's allowance in baseUnits set to the 0x proxy contract. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address whose proxy contract allowance we are retrieving. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +___ + +### setAllowanceAsync + +▸ **setAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `spenderAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L91)* + +Sets the spender's allowance to a specified number of baseUnits on behalf of the owner address. +Equivalent to the ERC20 spec method `approve`. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address who would like to set an allowance for spenderAddress. | +`spenderAddress` | string | - | The hex encoded user Ethereum address who will be able to spend the set allowance. | +`amountInBaseUnits` | `BigNumber` | - | The allowance amount you would like to set. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### setProxyAllowanceAsync + +▸ **setProxyAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L207)* + +Sets the 0x proxy contract's allowance to a specified number of a tokens' baseUnits on behalf +of an owner address. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address who is setting an allowance for the Proxy contract. | +`amountInBaseUnits` | `BigNumber` | - | The allowance amount specified in baseUnits. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### setUnlimitedAllowanceAsync + +▸ **setUnlimitedAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `spenderAddress`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:132](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L132)* + +Sets the spender's allowance to an unlimited number of baseUnits on behalf of the owner address. +Equivalent to the ERC20 spec method `approve`. +Setting an unlimited allowance will lower the gas cost for filling orders involving tokens that forego updating +allowances set to the max amount (e.g ZRX, WETH) + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address who would like to set an allowance for spenderAddress. | +`spenderAddress` | string | - | The hex encoded user Ethereum address who will be able to spend the set allowance. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### setUnlimitedProxyAllowanceAsync + +▸ **setUnlimitedProxyAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:234](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L234)* + +Sets the 0x proxy contract's allowance to a unlimited number of a tokens' baseUnits on behalf +of an owner address. +Setting an unlimited allowance will lower the gas cost for filling orders involving tokens that forego updating +allowances set to the max amount (e.g ZRX, WETH) + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address who is setting an allowance for the Proxy contract. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC20TokenEvents`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:363](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L363)* + +Subscribe to an event type emitted by the Token contract. + +**Type parameters:** + +▪ **ArgsType**: *`ERC20TokenEventArgs`* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded address where the ERC20 token is deployed. | +`eventName` | `ERC20TokenEvents` | - | The token contract event you would like to subscribe to. | +`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### transferAsync + +▸ **transferAsync**(`tokenAddress`: string, `fromAddress`: string, `toAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:256](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L256)* + +Transfers `amountInBaseUnits` ERC20 tokens from `fromAddress` to `toAddress`. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | +`fromAddress` | string | - | The hex encoded user Ethereum address that will send the funds. | +`toAddress` | string | - | The hex encoded user Ethereum address that will receive the funds. | +`amountInBaseUnits` | `BigNumber` | - | The amount (specified in baseUnits) of the token to transfer. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### transferFromAsync + +▸ **transferFromAsync**(`tokenAddress`: string, `fromAddress`: string, `toAddress`: string, `senderAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L305)* + +Transfers `amountInBaseUnits` ERC20 tokens from `fromAddress` to `toAddress`. +Requires the fromAddress to have sufficient funds and to have approved an allowance of +`amountInBaseUnits` to `senderAddress`. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | +`fromAddress` | string | - | The hex encoded user Ethereum address whose funds are being sent. | +`toAddress` | string | - | The hex encoded user Ethereum address that will receive the funds. | +`senderAddress` | string | - | The hex encoded user Ethereum address whose initiates the fund transfer. The `fromAddress` must have set an allowance to the `senderAddress` before this call. | +`amountInBaseUnits` | `BigNumber` | - | The amount (specified in baseUnits) of the token to transfer. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:390](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L390)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [contract_wrappers/erc20_token_wrapper.ts:397](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L397)* + +Cancels all existing subscriptions + +**Returns:** *void* + +
+ +> # Class: ERC721ProxyWrapper + +This class includes the functionality related to interacting with the ERC721Proxy contract. + +## Hierarchy + +* **ERC721ProxyWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) + +### Methods + +* [getAuthorizedAddressesAsync](#getauthorizedaddressesasync) +* [getProxyIdAsync](#getproxyidasync) +* [isAuthorizedAsync](#isauthorizedasync) + +## Constructors + +### constructor + +\+ **new ERC721ProxyWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[ERC721ProxyWrapper](#class-erc721proxywrapper)* + +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L18)* + +Instantiate ERC721ProxyWrapper + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | +`networkId` | number | Desired networkId | +`address?` | undefined \| string | The address of the ERC721Proxy contract. If undefined, will default to the known address corresponding to the networkId. | + +**Returns:** *[ERC721ProxyWrapper](#class-erc721proxywrapper)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* = ERC721Proxy.compilerOutput.abi + +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L15)* + +___ + +### address + +• **address**: *string* + +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L16)* + +## Methods + +### getAuthorizedAddressesAsync + +▸ **getAuthorizedAddressesAsync**(): *`Promise`* + +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L61)* + +Get the list of all Exchange contract addresses authorized by the ERC721Proxy contract. + +**Returns:** *`Promise`* + +The list of authorized addresses. + +___ + +### getProxyIdAsync + +▸ **getProxyIdAsync**(): *`Promise`* + +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L39)* + +Get the 4 bytes ID of this asset proxy + +**Returns:** *`Promise`* + +Proxy id + +___ + +### isAuthorizedAsync + +▸ **isAuthorizedAsync**(`exchangeContractAddress`: string): *`Promise`* + +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L51)* + +Check if the Exchange contract address is authorized by the ERC721Proxy contract. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`exchangeContractAddress` | string | The hex encoded address of the Exchange contract to call. | + +**Returns:** *`Promise`* + +Whether the exchangeContractAddress is authorized. + +
+ +> # Class: ERC721TokenWrapper + +This class includes all the functionality related to interacting with ERC721 token contracts. +All ERC721 method calls are supported, along with some convenience methods for getting/setting allowances +to the 0x ERC721 Proxy smart contract. + +## Hierarchy + +* **ERC721TokenWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) + +### Methods + +* [getApprovedIfExistsAsync](#getapprovedifexistsasync) +* [getLogsAsync](#getlogsasync) +* [getOwnerOfAsync](#getownerofasync) +* [getTokenCountAsync](#gettokencountasync) +* [isApprovedForAllAsync](#isapprovedforallasync) +* [isProxyApprovedAsync](#isproxyapprovedasync) +* [isProxyApprovedForAllAsync](#isproxyapprovedforallasync) +* [setApprovalAsync](#setapprovalasync) +* [setApprovalForAllAsync](#setapprovalforallasync) +* [setProxyApprovalAsync](#setproxyapprovalasync) +* [setProxyApprovalForAllAsync](#setproxyapprovalforallasync) +* [subscribe](#subscribe) +* [transferFromAsync](#transferfromasync) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) + +## Constructors + +### constructor + +\+ **new ERC721TokenWrapper**(`web3Wrapper`: `Web3Wrapper`, `erc721ProxyWrapper`: [ERC721ProxyWrapper](#class-erc721tokenwrapper)* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L37)* + +Instantiate ERC721TokenWrapper + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | +`erc721ProxyWrapper` | [ERC721ProxyWrapper](#class-erc721proxywrapper) | The ERC721ProxyWrapper instance to use | +`blockPollingIntervalMs?` | undefined \| number | - | + +**Returns:** *[ERC721TokenWrapper](#class-erc721tokenwrapper)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* = ERC721Token.compilerOutput.abi + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L32)* + +## Methods + +### getApprovedIfExistsAsync + +▸ **getApprovedIfExistsAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:170](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L170)* + +Get the approved address for a single NFT. Returns undefined if no approval was set +Throws if `_tokenId` is not a valid NFT + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`tokenId` | `BigNumber` | - | The identifier for an NFT | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +The approved address for this NFT, or the undefined if there is none + +___ + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC721TokenEvents`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:436](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L436)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *`ERC721TokenEventArgs`* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`tokenAddress` | string | An address of the token that emitted the logs. | +`eventName` | `ERC721TokenEvents` | The token contract event you would like to subscribe to. | +`blockRange` | [BlockRange](#interface-blockrange) | Block range to get logs from. | +`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### getOwnerOfAsync + +▸ **getOwnerOfAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:88](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L88)* + +Find the owner of an NFT +NFTs assigned to zero address are considered invalid, and queries about them do throw. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`tokenId` | `BigNumber` | - | The identifier for an NFT | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +The address of the owner of the NFT + +___ + +### getTokenCountAsync + +▸ **getTokenCountAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L61)* + +Count all NFTs assigned to an owner +NFTs assigned to the zero address are considered invalid, and this function throws for queries about the zero address. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address whose balance you would like to check. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +The number of NFTs owned by `ownerAddress`, possibly zero + +___ + +### isApprovedForAllAsync + +▸ **isApprovedForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `operatorAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L116)* + +Query if an address is an authorized operator for all NFT's of `ownerAddress` + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address of the token owner. | +`operatorAddress` | string | - | The hex encoded user Ethereum address of the operator you'd like to check if approved. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +True if `operatorAddress` is an approved operator for `ownerAddress`, false otherwise + +___ + +### isProxyApprovedAsync + +▸ **isProxyApprovedAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:197](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L197)* + +Checks if 0x proxy is approved for a single NFT +Throws if `_tokenId` is not a valid NFT + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`tokenId` | `BigNumber` | - | The identifier for an NFT | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +True if 0x proxy is approved + +___ + +### isProxyApprovedForAllAsync + +▸ **isProxyApprovedForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:148](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L148)* + +Query if 0x proxy is an authorized operator for all NFT's of `ownerAddress` + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address of the token owner. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +True if `operatorAddress` is an approved operator for `ownerAddress`, false otherwise + +___ + +### setApprovalAsync + +▸ **setApprovalAsync**(`tokenAddress`: string, `approvedAddress`: string, `tokenId`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:280](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L280)* + +Set or reaffirm the approved address for an NFT +The zero address indicates there is no approved address. Throws unless `msg.sender` is the current NFT owner, +or an authorized operator of the current owner. +Throws if `_tokenId` is not a valid NFT +Emits the Approval event. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`approvedAddress` | string | - | The hex encoded user Ethereum address you'd like to set approval for. | +`tokenId` | `BigNumber` | - | The identifier for an NFT | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### setApprovalForAllAsync + +▸ **setApprovalForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `operatorAddress`: string, `isApproved`: boolean, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:218](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L218)* + +Enable or disable approval for a third party ("operator") to manage all of `ownerAddress`'s assets. +Throws if `_tokenId` is not a valid NFT +Emits the ApprovalForAll event. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address of the token owner. | +`operatorAddress` | string | - | The hex encoded user Ethereum address of the operator you'd like to set approval for. | +`isApproved` | boolean | - | The boolean variable to set the approval to. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### setProxyApprovalAsync + +▸ **setProxyApprovalAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:318](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L318)* + +Set or reaffirm 0x proxy as an approved address for an NFT +Throws unless `msg.sender` is the current NFT owner, or an authorized operator of the current owner. +Throws if `_tokenId` is not a valid NFT +Emits the Approval event. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`tokenId` | `BigNumber` | - | The identifier for an NFT | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### setProxyApprovalForAllAsync + +▸ **setProxyApprovalForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `isApproved`: boolean, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:258](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L258)* + +Enable or disable approval for a third party ("operator") to manage all of `ownerAddress`'s assets. +Throws if `_tokenId` is not a valid NFT +Emits the ApprovalForAll event. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`ownerAddress` | string | - | The hex encoded user Ethereum address of the token owner. | +`isApproved` | boolean | - | The boolean variable to set the approval to. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC721TokenEvents`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:390](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L390)* + +Subscribe to an event type emitted by the Token contract. + +**Type parameters:** + +▪ **ArgsType**: *`ERC721TokenEventArgs`* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded address where the ERC721 token is deployed. | +`eventName` | `ERC721TokenEvents` | - | The token contract event you would like to subscribe to. | +`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### transferFromAsync + +▸ **transferFromAsync**(`tokenAddress`: string, `receiverAddress`: string, `senderAddress`: string, `tokenId`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:338](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L338)* + +Enable or disable approval for a third party ("operator") to manage all of `ownerAddress`'s assets. +Throws if `_tokenId` is not a valid NFT +Emits the ApprovalForAll event. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | +`receiverAddress` | string | - | The hex encoded Ethereum address of the user to send the NFT to. | +`senderAddress` | string | - | The hex encoded Ethereum address of the user to send the NFT to. | +`tokenId` | `BigNumber` | - | The identifier for an NFT | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:417](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L417)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [contract_wrappers/erc721_token_wrapper.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L424)* + +Cancels all existing subscriptions + +**Returns:** *void* + +
+ +> # Class: EtherTokenWrapper + +This class includes all the functionality related to interacting with a wrapped Ether ERC20 token contract. +The caller can convert ETH into the equivalent number of wrapped ETH ERC20 tokens and back. + +## Hierarchy + +* **EtherTokenWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) + +### Methods + +* [depositAsync](#depositasync) +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [withdrawAsync](#withdrawasync) + +## Constructors + +### constructor + +\+ **new EtherTokenWrapper**(`web3Wrapper`: `Web3Wrapper`, `erc20TokenWrapper`: [ERC20TokenWrapper](#class-ethertokenwrapper)* + +*Defined in [contract_wrappers/ether_token_wrapper.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L28)* + +Instantiate EtherTokenWrapper. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | +`erc20TokenWrapper` | [ERC20TokenWrapper](#class-erc20tokenwrapper) | The ERC20TokenWrapper instance to use | +`blockPollingIntervalMs?` | undefined \| number | - | + +**Returns:** *[EtherTokenWrapper](#class-ethertokenwrapper)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* = WETH9.compilerOutput.abi + +*Defined in [contract_wrappers/ether_token_wrapper.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L21)* + +## Methods + +### depositAsync + +▸ **depositAsync**(`etherTokenAddress`: string, `amountInWei`: `BigNumber`, `depositor`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/ether_token_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L53)* + +Deposit ETH into the Wrapped ETH smart contract and issues the equivalent number of wrapped ETH tokens +to the depositor address. These wrapped ETH tokens can be used in 0x trades and are redeemable for 1-to-1 +for ETH. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`etherTokenAddress` | string | - | EtherToken address you wish to deposit into. | +`amountInWei` | `BigNumber` | - | Amount of ETH in Wei the caller wishes to deposit. | +`depositor` | string | - | The hex encoded user Ethereum address that would like to make the deposit. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`etherTokenAddress`: string, `eventName`: `WETH9Events`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* + +*Defined in [contract_wrappers/ether_token_wrapper.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L131)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *`WETH9EventArgs`* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`etherTokenAddress` | string | An address of the ether token that emitted the logs. | +`eventName` | `WETH9Events` | The ether token contract event you would like to subscribe to. | +`blockRange` | [BlockRange](#interface-blockrange) | Block range to get logs from. | +`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_owner: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`etherTokenAddress`: string, `eventName`: `WETH9Events`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* + +*Defined in [contract_wrappers/ether_token_wrapper.ts:161](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L161)* + +Subscribe to an event type emitted by the Token contract. + +**Type parameters:** + +▪ **ArgsType**: *`WETH9EventArgs`* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`etherTokenAddress` | string | - | The hex encoded address where the ether token is deployed. | +`eventName` | `WETH9Events` | - | The ether token contract event you would like to subscribe to. | +`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_owner: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [contract_wrappers/ether_token_wrapper.ts:188](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L188)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [contract_wrappers/ether_token_wrapper.ts:195](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L195)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### withdrawAsync + +▸ **withdrawAsync**(`etherTokenAddress`: string, `amountInWei`: `BigNumber`, `withdrawer`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* + +*Defined in [contract_wrappers/ether_token_wrapper.ts:89](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L89)* + +Withdraw ETH to the withdrawer's address from the wrapped ETH smart contract in exchange for the +equivalent number of wrapped ETH tokens. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`etherTokenAddress` | string | - | EtherToken address you wish to withdraw from. | +`amountInWei` | `BigNumber` | - | Amount of ETH in Wei the caller wishes to withdraw. | +`withdrawer` | string | - | The hex encoded user Ethereum address that would like to make the withdrawal. | +`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +
+ +> # Class: ExchangeWrapper + +This class includes all the functionality related to calling methods, sending transactions and subscribing to +events of the 0x V2 Exchange smart contract. + +## Hierarchy + +* **ExchangeWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [zrxTokenAddress](#zrxtokenaddress) + +### Methods + +* [batchCancelOrdersAsync](#batchcancelordersasync) +* [batchFillOrKillOrdersAsync](#batchfillorkillordersasync) +* [batchFillOrdersAsync](#batchfillordersasync) +* [batchFillOrdersNoThrowAsync](#batchfillordersnothrowasync) +* [cancelOrderAsync](#cancelorderasync) +* [cancelOrdersUpToAsync](#cancelordersuptoasync) +* [executeTransactionAsync](#executetransactionasync) +* [fillOrKillOrderAsync](#fillorkillorderasync) +* [fillOrderAsync](#fillorderasync) +* [fillOrderNoThrowAsync](#fillordernothrowasync) +* [getAssetProxyBySignatureAsync](#getassetproxybysignatureasync) +* [getFilledTakerAssetAmountAsync](#getfilledtakerassetamountasync) +* [getLogsAsync](#getlogsasync) +* [getOrderEpochAsync](#getorderepochasync) +* [getOrderInfoAsync](#getorderinfoasync) +* [getOrdersInfoAsync](#getordersinfoasync) +* [getVersionAsync](#getversionasync) +* [getZRXAssetData](#getzrxassetdata) +* [isAllowedValidatorAsync](#isallowedvalidatorasync) +* [isCancelledAsync](#iscancelledasync) +* [isPreSignedAsync](#ispresignedasync) +* [isTransactionExecutedAsync](#istransactionexecutedasync) +* [isValidSignatureAsync](#isvalidsignatureasync) +* [marketBuyOrdersAsync](#marketbuyordersasync) +* [marketBuyOrdersNoThrowAsync](#marketbuyordersnothrowasync) +* [marketSellOrdersAsync](#marketsellordersasync) +* [marketSellOrdersNoThrowAsync](#marketsellordersnothrowasync) +* [matchOrdersAsync](#matchordersasync) +* [preSignAsync](#presignasync) +* [setSignatureValidatorApprovalAsync](#setsignaturevalidatorapprovalasync) +* [subscribe](#subscribe) +* [transactionEncoderAsync](#transactionencoderasync) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [validateFillOrderThrowIfInvalidAsync](#validatefillorderthrowifinvalidasync) +* [validateMakerTransferThrowIfInvalidAsync](#validatemakertransferthrowifinvalidasync) +* [validateOrderFillableOrThrowAsync](#validateorderfillableorthrowasync) + +## Constructors + +### constructor + +\+ **new ExchangeWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `erc20TokenWrapper`: [ERC20TokenWrapper](#class-exchangewrapper)* + +*Defined in [contract_wrappers/exchange_wrapper.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L55)* + +Instantiate ExchangeWrapper + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use. | +`networkId` | number | Desired networkId. | +`erc20TokenWrapper` | [ERC20TokenWrapper](#class-erc20tokenwrapper) | ERC20TokenWrapper instance to use. | +`erc721TokenWrapper` | [ERC721TokenWrapper](#class-erc721tokenwrapper) | ERC721TokenWrapper instance to use. | +`address?` | undefined \| string | The address of the Exchange contract. If undefined, will default to the known address corresponding to the networkId. | +`zrxTokenAddress?` | undefined \| string | The address of the ZRXToken contract. If undefined, will default to the known address corresponding to the networkId. | +`blockPollingIntervalMs?` | undefined \| number | The block polling interval to use for active subscriptions. | + +**Returns:** *[ExchangeWrapper](#class-exchangewrapper)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* = Exchange.compilerOutput.abi + +*Defined in [contract_wrappers/exchange_wrapper.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L48)* + +___ + +### address + +• **address**: *string* + +*Defined in [contract_wrappers/exchange_wrapper.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L49)* + +___ + +### zrxTokenAddress + +• **zrxTokenAddress**: *string* + +*Defined in [contract_wrappers/exchange_wrapper.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L50)* + +## Methods + +### batchCancelOrdersAsync + +▸ **batchCancelOrdersAsync**(`orders`: `Array`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:713](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L713)* + +Batch version of cancelOrderAsync. Executes multiple cancels atomically in a single transaction. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | An array of orders to cancel. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### batchFillOrKillOrdersAsync + +▸ **batchFillOrKillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:665](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L665)* + +Batch version of fillOrKillOrderAsync. Executes multiple fills atomically in a single transaction. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmounts` | `BigNumber`[] | - | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### batchFillOrdersAsync + +▸ **batchFillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:382](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L382)* + +Batch version of fillOrderAsync. Executes multiple fills atomically in a single transaction. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmounts` | `BigNumber`[] | - | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### batchFillOrdersNoThrowAsync + +▸ **batchFillOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:614](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L614)* + +No throw version of batchFillOrdersAsync + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmounts` | `BigNumber`[] | - | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### cancelOrderAsync + +▸ **cancelOrderAsync**(`order`: `Order` | `SignedOrder`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:986](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L986)* + +Cancel a given order. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`order` | `Order` \| `SignedOrder` | - | An object that conforms to the Order or SignedOrder interface. The order you would like to cancel. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### cancelOrdersUpToAsync + +▸ **cancelOrdersUpToAsync**(`targetOrderEpoch`: `BigNumber`, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1061](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1061)* + +Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch +and senderAddress equal to msg.sender (or null address if msg.sender == makerAddress). + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`targetOrderEpoch` | `BigNumber` | - | Target order epoch. | +`senderAddress` | string | - | Address that should send the transaction. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### executeTransactionAsync + +▸ **executeTransactionAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L334)* + +Executes a 0x transaction. Transaction messages exist for the purpose of calling methods on the Exchange contract +in the context of another address (see [ZEIP18](https://github.com/0xProject/ZEIPs/issues/18)). +This is especially useful for implementing filter contracts. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`salt` | `BigNumber` | - | Salt | +`signerAddress` | string | - | Signer address | +`data` | string | - | Transaction data | +`signature` | string | - | Signature | +`senderAddress` | string | - | Sender address | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### fillOrKillOrderAsync + +▸ **fillOrKillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:283](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L283)* + +Attempts to fill a specific amount of an order. If the entire amount specified cannot be filled, +the fill order is abandoned. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrder` | `SignedOrder` | - | An object that conforms to the SignedOrder interface. | +`takerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### fillOrderAsync + +▸ **fillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L190)* + +Fills a signed order with an amount denominated in baseUnits of the taker asset. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrder` | `SignedOrder` | - | An object that conforms to the SignedOrder interface. | +`takerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### fillOrderNoThrowAsync + +▸ **fillOrderNoThrowAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:234](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L234)* + +No-throw version of fillOrderAsync. This version will not throw if the fill fails. This allows the caller to save gas at the expense of not knowing the reason the fill failed. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrder` | `SignedOrder` | - | An object that conforms to the SignedOrder interface. | +`takerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### getAssetProxyBySignatureAsync + +▸ **getAssetProxyBySignatureAsync**(`proxyId`: `AssetProxyId`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:97](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L97)* + +Retrieve the address of an asset proxy by signature. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`proxyId` | `AssetProxyId` | - | The 4 bytes signature of an asset proxy | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +The address of an asset proxy for a given signature + +___ + +### getFilledTakerAssetAmountAsync + +▸ **getFilledTakerAssetAmountAsync**(`orderHash`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:115](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L115)* + +Retrieve the takerAssetAmount of an order that has already been filled. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orderHash` | string | - | The hex encoded orderHash for which you would like to retrieve the filled takerAssetAmount. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +The amount of the order (in taker asset base units) that has already been filled. + +___ + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: `ExchangeEvents`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1135](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1135)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *`ExchangeEventArgs`* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | `ExchangeEvents` | The exchange contract event you would like to subscribe to. | +`blockRange` | [BlockRange](#interface-blockrange) | Block range to get logs from. | +`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### getOrderEpochAsync + +▸ **getOrderEpochAsync**(`makerAddress`: string, `senderAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:146](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L146)* + +Retrieve the set order epoch for a given makerAddress & senderAddress pair. +Orders can be bulk cancelled by setting the order epoch to a value lower then the salt value of orders one wishes to cancel. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`makerAddress` | string | - | Maker address | +`senderAddress` | string | - | Sender address | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Order epoch. Defaults to 0. + +___ + +### getOrderInfoAsync + +▸ **getOrderInfoAsync**(`order`: `Order` | `SignedOrder`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:947](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L947)* + +Get order info + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`order` | `Order` \| `SignedOrder` | - | Order | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Order info + +___ + +### getOrdersInfoAsync + +▸ **getOrdersInfoAsync**(`orders`: `Array`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:963](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L963)* + +Get order info for multiple orders + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Orders | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Array of Order infos + +___ + +### getVersionAsync + +▸ **getVersionAsync**(`methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:132](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L132)* + +Retrieve the exchange contract version + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Version + +___ + +### getZRXAssetData + +▸ **getZRXAssetData**(): *string* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1259](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1259)* + +Returns the ZRX asset data used by the exchange contract. + +**Returns:** *string* + +ZRX asset data + +___ + +### isAllowedValidatorAsync + +▸ **isAllowedValidatorAsync**(`signerAddress`: string, `validatorAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:874](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L874)* + +Checks if the validator is allowed by the signer. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signerAddress` | string | - | Address of a signer | +`validatorAddress` | string | - | Address of a validator | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +If the validator is allowed + +___ + +### isCancelledAsync + +▸ **isCancelledAsync**(`orderHash`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:169](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L169)* + +Check if an order has been cancelled. Order cancellations are binary + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orderHash` | string | - | The hex encoded orderHash for which you would like to retrieve the cancelled takerAmount. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Whether the order has been cancelled. + +___ + +### isPreSignedAsync + +▸ **isPreSignedAsync**(`hash`: string, `signerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:903](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L903)* + +Check whether the hash is pre-signed on-chain. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`hash` | string | - | Hash to check if pre-signed | +`signerAddress` | string | - | Address that should have signed the given hash. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Whether the hash is pre-signed. + +___ + +### isTransactionExecutedAsync + +▸ **isTransactionExecutedAsync**(`transactionHash`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:927](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L927)* + +Checks if transaction is already executed. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`transactionHash` | string | - | Transaction hash to check | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +If transaction is already executed. + +___ + +### isValidSignatureAsync + +▸ **isValidSignatureAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:846](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L846)* + +Checks if the signature is valid. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`hash` | string | - | Hash to pre-sign | +`signerAddress` | string | - | Address that should have signed the given hash. | +`signature` | string | - | Proof that the hash has been signed by signer. | +`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +If the signature is valid + +___ + +### marketBuyOrdersAsync + +▸ **marketBuyOrdersAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L428)* + +Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`makerAssetFillAmount` | `BigNumber` | - | Maker asset fill amount. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### marketBuyOrdersNoThrowAsync + +▸ **marketBuyOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:516](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L516)* + +No throw version of marketBuyOrdersAsync + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`makerAssetFillAmount` | `BigNumber` | - | Maker asset fill amount. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### marketSellOrdersAsync + +▸ **marketSellOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:472](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L472)* + +Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmount` | `BigNumber` | - | Taker asset fill amount. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### marketSellOrdersNoThrowAsync + +▸ **marketSellOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:565](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L565)* + +No throw version of marketSellOrdersAsync + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | +`takerAssetFillAmount` | `BigNumber` | - | Taker asset fill amount. | +`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### matchOrdersAsync + +▸ **matchOrdersAsync**(`leftSignedOrder`: `SignedOrder`, `rightSignedOrder`: `SignedOrder`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:752](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L752)* + +Match two complementary orders that have a profitable spread. +Each order is filled at their respective price point. However, the calculations are carried out as though +the orders are both being filled at the right order's price point. +The profit made by the left order goes to the taker (whoever matched the two orders). + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`leftSignedOrder` | `SignedOrder` | - | First order to match. | +`rightSignedOrder` | `SignedOrder` | - | Second order to match. | +`takerAddress` | string | - | The address that sends the transaction and gets the spread. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### preSignAsync + +▸ **preSignAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:808](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L808)* + +Approves a hash on-chain using any valid signature type. +After presigning a hash, the preSign signature type will become valid for that hash and signer. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`hash` | string | - | Hash to pre-sign | +`signerAddress` | string | - | Address that should have signed the given hash. | +`signature` | string | - | Proof that the hash has been signed by signer. | +`senderAddress` | string | - | Address that should send the transaction. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### setSignatureValidatorApprovalAsync + +▸ **setSignatureValidatorApprovalAsync**(`validatorAddress`: string, `isApproved`: boolean, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1020](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1020)* + +Sets the signature validator approval + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`validatorAddress` | string | - | Validator contract address. | +`isApproved` | boolean | - | Boolean value to set approval to. | +`senderAddress` | string | - | Sender address. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: `ExchangeEvents`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1096](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1096)* + +Subscribe to an event type emitted by the Exchange contract. + +**Type parameters:** + +▪ **ArgsType**: *`ExchangeEventArgs`* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | `ExchangeEvents` | - | The exchange contract event you would like to subscribe to. | +`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### transactionEncoderAsync + +▸ **transactionEncoderAsync**(): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1268](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1268)* + +Returns a Transaction Encoder. Transaction messages exist for the purpose of calling methods on the Exchange contract +in the context of another address. + +**Returns:** *`Promise`* + +TransactionEncoder + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1118)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1124](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1124)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### validateFillOrderThrowIfInvalidAsync + +▸ **validateFillOrderThrowIfInvalidAsync**(`signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `takerAddress`: string): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1231](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1231)* + +Validate a call to FillOrder and throw if it wouldn't succeed + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | SignedOrder of interest | +`fillTakerAssetAmount` | `BigNumber` | Amount we'd like to fill the order for | +`takerAddress` | string | The taker of the order | + +**Returns:** *`Promise`* + +___ + +### validateMakerTransferThrowIfInvalidAsync + +▸ **validateMakerTransferThrowIfInvalidAsync**(`signedOrder`: `SignedOrder`, `makerAssetAmount`: `BigNumber`, `takerAddress?`: undefined | string): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1211](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1211)* + +Validate the transfer from the maker to the taker. This is simulated on-chain +via an eth_call. If this call fails, the asset is currently nontransferable. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | SignedOrder of interest | +`makerAssetAmount` | `BigNumber` | Amount to transfer from the maker | +`takerAddress?` | undefined \| string | The address to transfer to, defaults to signedOrder.takerAddress | + +**Returns:** *`Promise`* + +___ + +### validateOrderFillableOrThrowAsync + +▸ **validateOrderFillableOrThrowAsync**(`signedOrder`: `SignedOrder`, `opts`: [ValidateOrderFillableOpts](#interface-validateorderfillableopts)): *`Promise`* + +*Defined in [contract_wrappers/exchange_wrapper.ts:1153](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1153)* + +Validate if the supplied order is fillable, and throw if it isn't + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrder` | `SignedOrder` | - | SignedOrder of interest | +`opts` | [ValidateOrderFillableOpts](#interface-validateorderfillableopts) | {} | ValidateOrderFillableOpts options (e.g expectedFillTakerTokenAmount. If it isn't supplied, we check if the order is fillable for the remaining amount. To check if the order is fillable for a non-zero amount, set `validateRemainingOrderAmountIsFillable` to false.) | + +**Returns:** *`Promise`* + +
+ +> # Class: ForwarderWrapper + +This class includes the functionality related to interacting with the Forwarder contract. + +## Hierarchy + +* **ForwarderWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [etherTokenAddress](#ethertokenaddress) +* [zrxTokenAddress](#zrxtokenaddress) + +### Methods + +* [marketBuyOrdersWithEthAsync](#marketbuyorderswithethasync) +* [marketSellOrdersWithEthAsync](#marketsellorderswithethasync) + +## Constructors + +### constructor + +\+ **new ForwarderWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string, `zrxTokenAddress?`: undefined | string, `etherTokenAddress?`: undefined | string): *[ForwarderWrapper](#class-forwarderwrapper)* + +*Defined in [contract_wrappers/forwarder_wrapper.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L29)* + +Instantiate ForwarderWrapper + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use. | +`networkId` | number | Desired networkId. | +`address?` | undefined \| string | The address of the Exchange contract. If undefined, will default to the known address corresponding to the networkId. | +`zrxTokenAddress?` | undefined \| string | The address of the ZRXToken contract. If undefined, will default to the known address corresponding to the networkId. | +`etherTokenAddress?` | undefined \| string | The address of a WETH (Ether token) contract. If undefined, will default to the known address corresponding to the networkId. | + +**Returns:** *[ForwarderWrapper](#class-forwarderwrapper)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* = Forwarder.compilerOutput.abi + +*Defined in [contract_wrappers/forwarder_wrapper.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L24)* + +___ + +### address + +• **address**: *string* + +*Defined in [contract_wrappers/forwarder_wrapper.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L25)* + +___ + +### etherTokenAddress + +• **etherTokenAddress**: *string* + +*Defined in [contract_wrappers/forwarder_wrapper.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L27)* + +___ + +### zrxTokenAddress + +• **zrxTokenAddress**: *string* + +*Defined in [contract_wrappers/forwarder_wrapper.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L26)* + +## Methods + +### marketBuyOrdersWithEthAsync + +▸ **marketBuyOrdersWithEthAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `ethAmount`: `BigNumber`, `signedFeeOrders`: `SignedOrder`[], `feePercentage`: number, `feeRecipientAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/forwarder_wrapper.ts:168](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L168)* + +Attempt to purchase makerAssetFillAmount of makerAsset by selling ethAmount provided with transaction. +Any ZRX required to pay fees for primary orders will automatically be purchased by the contract. +Any ETH not spent will be refunded to sender. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of objects that conform to the SignedOrder interface. All orders must specify the same makerAsset. All orders must specify WETH as the takerAsset | +`makerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | +`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | +`ethAmount` | `BigNumber` | - | The amount of eth to send with the transaction (in wei). | +`signedFeeOrders` | `SignedOrder`[] | [] | An array of objects that conform to the SignedOrder interface. All orders must specify ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feePercentage` | number | 0 | The percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. Defaults to 0. | +`feeRecipientAddress` | string | constants.NULL_ADDRESS | The address that will receive ETH when signedFeeOrders are filled. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +___ + +### marketSellOrdersWithEthAsync + +▸ **marketSellOrdersWithEthAsync**(`signedOrders`: `SignedOrder`[], `takerAddress`: string, `ethAmount`: `BigNumber`, `signedFeeOrders`: `SignedOrder`[], `feePercentage`: number, `feeRecipientAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* + +*Defined in [contract_wrappers/forwarder_wrapper.ts:82](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L82)* + +Purchases as much of orders' makerAssets as possible by selling up to 95% of transaction's ETH value. +Any ZRX required to pay fees for primary orders will automatically be purchased by this contract. +5% of ETH value is reserved for paying fees to order feeRecipients (in ZRX) and forwarding contract feeRecipient (in ETH). +Any ETH not spent will be refunded to sender. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | - | An array of objects that conform to the SignedOrder interface. All orders must specify the same makerAsset. All orders must specify WETH as the takerAsset | +`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | +`ethAmount` | `BigNumber` | - | The amount of eth to send with the transaction (in wei). | +`signedFeeOrders` | `SignedOrder`[] | [] | An array of objects that conform to the SignedOrder interface. All orders must specify ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feePercentage` | number | 0 | The percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. Defaults to 0. | +`feeRecipientAddress` | string | constants.NULL_ADDRESS | The address that will receive ETH when signedFeeOrders are filled. | +`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Transaction parameters. | + +**Returns:** *`Promise`* + +Transaction hash. + +
+ +> # Class: OrderValidatorWrapper + +This class includes the functionality related to interacting with the OrderValidator contract. + +## Hierarchy + +* **OrderValidatorWrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) + +### Methods + +* [getBalanceAndAllowanceAsync](#getbalanceandallowanceasync) +* [getBalancesAndAllowancesAsync](#getbalancesandallowancesasync) +* [getERC721TokenOwnerAsync](#geterc721tokenownerasync) +* [getOrderAndTraderInfoAsync](#getorderandtraderinfoasync) +* [getOrdersAndTradersInfoAsync](#getordersandtradersinfoasync) +* [getTraderInfoAsync](#gettraderinfoasync) +* [getTradersInfoAsync](#gettradersinfoasync) + +## Constructors + +### constructor + +\+ **new OrderValidatorWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[OrderValidatorWrapper](#class-ordervalidatorwrapper)* + +*Defined in [contract_wrappers/order_validator_wrapper.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L21)* + +Instantiate OrderValidatorWrapper + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use. | +`networkId` | number | Desired networkId. | +`address?` | undefined \| string | The address of the OrderValidator contract. If undefined, will default to the known address corresponding to the networkId. | + +**Returns:** *[OrderValidatorWrapper](#class-ordervalidatorwrapper)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* = OrderValidator.compilerOutput.abi + +*Defined in [contract_wrappers/order_validator_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L18)* + +___ + +### address + +• **address**: *string* + +*Defined in [contract_wrappers/order_validator_wrapper.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L19)* + +## Methods + +### getBalanceAndAllowanceAsync + +▸ **getBalanceAndAllowanceAsync**(`address`: string, `assetData`: string): *`Promise`* + +*Defined in [contract_wrappers/order_validator_wrapper.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L120)* + +Get an object conforming to BalanceAndAllowance containing on-chain balance and allowance for some address and assetData + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | An ethereum address | +`assetData` | string | An encoded string that can be decoded by a specified proxy contract | + +**Returns:** *`Promise`* + +BalanceAndAllowance + +___ + +### getBalancesAndAllowancesAsync + +▸ **getBalancesAndAllowancesAsync**(`address`: string, `assetDatas`: string[]): *`Promise`* + +*Defined in [contract_wrappers/order_validator_wrapper.ts:139](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L139)* + +Get an array of objects conforming to BalanceAndAllowance containing on-chain balance and allowance for some address and array of assetDatas + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | An ethereum address | +`assetDatas` | string[] | An array of encoded strings that can be decoded by a specified proxy contract | + +**Returns:** *`Promise`* + +BalanceAndAllowance + +___ + +### getERC721TokenOwnerAsync + +▸ **getERC721TokenOwnerAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`): *`Promise`* + +*Defined in [contract_wrappers/order_validator_wrapper.ts:163](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L163)* + +Get owner address of tokenId by calling `token.ownerOf(tokenId)`, but returns a null owner instead of reverting on an unowned token. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`tokenAddress` | string | An ethereum address | +`tokenId` | `BigNumber` | An ERC721 tokenId | + +**Returns:** *`Promise`* + +Owner of tokenId or null address if unowned + +___ + +### getOrderAndTraderInfoAsync + +▸ **getOrderAndTraderInfoAsync**(`order`: `SignedOrder`, `takerAddress`: string): *`Promise`* + +*Defined in [contract_wrappers/order_validator_wrapper.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L44)* + +Get an object conforming to OrderAndTraderInfo containing on-chain information of the provided order and address + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | `SignedOrder` | An object conforming to SignedOrder | +`takerAddress` | string | An ethereum address | + +**Returns:** *`Promise`* + +OrderAndTraderInfo + +___ + +### getOrdersAndTradersInfoAsync + +▸ **getOrdersAndTradersInfoAsync**(`orders`: `SignedOrder`[], `takerAddresses`: string[]): *`Promise`* + +*Defined in [contract_wrappers/order_validator_wrapper.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L63)* + +Get an array of objects conforming to OrderAndTraderInfo containing on-chain information of the provided orders and addresses + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `SignedOrder`[] | An array of objects conforming to SignedOrder | +`takerAddresses` | string[] | An array of ethereum addresses | + +**Returns:** *`Promise`* + +array of OrderAndTraderInfo + +___ + +### getTraderInfoAsync + +▸ **getTraderInfoAsync**(`order`: `SignedOrder`, `takerAddress`: string): *`Promise`* + +*Defined in [contract_wrappers/order_validator_wrapper.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L93)* + +Get an object conforming to TraderInfo containing on-chain balance and allowances for maker and taker of order + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | `SignedOrder` | An object conforming to SignedOrder | +`takerAddress` | string | An ethereum address | + +**Returns:** *`Promise`* + +TraderInfo + +___ + +### getTradersInfoAsync + +▸ **getTradersInfoAsync**(`orders`: `SignedOrder`[], `takerAddresses`: string[]): *`Promise`* + +*Defined in [contract_wrappers/order_validator_wrapper.ts:105](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L105)* + +Get an array of objects conforming to TraderInfo containing on-chain balance and allowances for maker and taker of order + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `SignedOrder`[] | An array of objects conforming to SignedOrder | +`takerAddresses` | string[] | An array of ethereum addresses | + +**Returns:** *`Promise`* + +array of TraderInfo + +
+ +> # Class: AssetBalanceAndProxyAllowanceFetcher + +## Hierarchy + +* **AssetBalanceAndProxyAllowanceFetcher** + +## Implements + +* `AbstractBalanceAndProxyAllowanceFetcher` + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [getBalanceAsync](#getbalanceasync) +* [getProxyAllowanceAsync](#getproxyallowanceasync) + +## Constructors + +### constructor + +\+ **new AssetBalanceAndProxyAllowanceFetcher**(`erc20Token`: [ERC20TokenWrapper](#class-assetbalanceandproxyallowancefetcher)* + +*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L12)* + +**Parameters:** + +Name | Type | +------ | ------ | +`erc20Token` | [ERC20TokenWrapper](#class-erc20tokenwrapper) | +`erc721Token` | [ERC721TokenWrapper](#class-erc721tokenwrapper) | +`stateLayer` | `BlockParamLiteral` | + +**Returns:** *[AssetBalanceAndProxyAllowanceFetcher](#class-assetbalanceandproxyallowancefetcher)* + +## Methods + +### getBalanceAsync + +▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* + +*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L18)* + +**Parameters:** + +Name | Type | +------ | ------ | +`assetData` | string | +`userAddress` | string | + +**Returns:** *`Promise`* + +___ + +### getProxyAllowanceAsync + +▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* + +*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L49)* + +**Parameters:** + +Name | Type | +------ | ------ | +`assetData` | string | +`userAddress` | string | + +**Returns:** *`Promise`* + +
+ +> # Class: OrderFilledCancelledFetcher + +## Hierarchy + +* **OrderFilledCancelledFetcher** + +## Implements + +* `AbstractOrderFilledCancelledFetcher` + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [getFilledTakerAmountAsync](#getfilledtakeramountasync) +* [getZRXAssetData](#getzrxassetdata) +* [isOrderCancelledAsync](#isordercancelledasync) + +## Constructors + +### constructor + +\+ **new OrderFilledCancelledFetcher**(`exchange`: [ExchangeWrapper](#class-orderfilledcancelledfetcher)* + +*Defined in [fetchers/order_filled_cancelled_fetcher.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L11)* + +**Parameters:** + +Name | Type | +------ | ------ | +`exchange` | [ExchangeWrapper](#class-exchangewrapper) | +`stateLayer` | `BlockParamLiteral` | + +**Returns:** *[OrderFilledCancelledFetcher](#class-orderfilledcancelledfetcher)* + +## Methods + +### getFilledTakerAmountAsync + +▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* + +*Defined in [fetchers/order_filled_cancelled_fetcher.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L16)* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | + +**Returns:** *`Promise`* + +___ + +### getZRXAssetData + +▸ **getZRXAssetData**(): *string* + +*Defined in [fetchers/order_filled_cancelled_fetcher.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L35)* + +**Returns:** *string* + +___ + +### isOrderCancelledAsync + +▸ **isOrderCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* + +*Defined in [fetchers/order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L22)* + +**Parameters:** + +Name | Type | +------ | ------ | +`signedOrder` | `SignedOrder` | + +**Returns:** *`Promise`* + +
+ +> # Class: CoordinatorServerError + +## Hierarchy + +* `Error` + + * **CoordinatorServerError** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [approvedOrders](#optional-approvedorders) +* [cancellations](#optional-cancellations) +* [errors](#errors) +* [message](#message) +* [name](#name) +* [stack](#optional-stack) +* [Error](#static-error) + +## Constructors + +### constructor + +\+ **new CoordinatorServerError**(`message`: [CoordinatorServerErrorMsg](#class-coordinatorservererror)* + +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* + +**Parameters:** + +Name | Type | +------ | ------ | +`message` | [CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg) | +`approvedOrders` | `SignedOrder`[] | +`cancellations` | [CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[] | +`errors` | [CoordinatorServerResponse](#interface-coordinatorserverresponse)[] | + +**Returns:** *[CoordinatorServerError](#class-coordinatorservererror)* + +## Properties + +### `Optional` approvedOrders + +• **approvedOrders**? : *`SignedOrder`[]* = [] + +*Defined in [utils/coordinator_server_types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L41)* + +___ + +### `Optional` cancellations + +• **cancellations**? : *[CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[]* = [] + +*Defined in [utils/coordinator_server_types.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L42)* + +___ + +### errors + +• **errors**: *[CoordinatorServerResponse](#interface-coordinatorserverresponse)[]* + +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* + +___ + +### message + +• **message**: *[CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg)* + +*Overrides void* + +*Defined in [utils/coordinator_server_types.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L40)* + +___ + +### name + +• **name**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973 + +___ + +### `Optional` stack + +• **stack**? : *undefined | string* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975 + +___ + +### `Static` Error + +▪ **Error**: *`ErrorConstructor`* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984 + +
+ +> # Class: TransactionEncoder + +Transaction Encoder. Transaction messages exist for the purpose of calling methods on the Exchange contract +in the context of another address. For example, UserA can encode and sign a fillOrder transaction and UserB +can submit this to the blockchain. The Exchange context executes as if UserA had directly submitted this transaction. + +## Hierarchy + +* **TransactionEncoder** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [batchCancelOrdersTx](#batchcancelorderstx) +* [batchFillOrKillOrdersTx](#batchfillorkillorderstx) +* [batchFillOrdersNoThrowTx](#batchfillordersnothrowtx) +* [batchFillOrdersTx](#batchfillorderstx) +* [cancelOrderTx](#cancelordertx) +* [cancelOrdersUpToTx](#cancelordersuptotx) +* [fillOrKillOrderTx](#fillorkillordertx) +* [fillOrderNoThrowTx](#fillordernothrowtx) +* [fillOrderTx](#fillordertx) +* [getTransactionHashHex](#gettransactionhashhex) +* [marketBuyOrdersNoThrowTx](#marketbuyordersnothrowtx) +* [marketBuyOrdersTx](#marketbuyorderstx) +* [marketSellOrdersNoThrowTx](#marketsellordersnothrowtx) +* [marketSellOrdersTx](#marketsellorderstx) +* [matchOrdersTx](#matchorderstx) +* [preSignTx](#presigntx) +* [setSignatureValidatorApprovalTx](#setsignaturevalidatorapprovaltx) + +## Constructors + +### constructor + +\+ **new TransactionEncoder**(`exchangeInstance`: `ExchangeContract`): *[TransactionEncoder](#class-transactionencoder)* + +*Defined in [utils/transaction_encoder.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L17)* + +**Parameters:** + +Name | Type | +------ | ------ | +`exchangeInstance` | `ExchangeContract` | + +**Returns:** *[TransactionEncoder](#class-transactionencoder)* + +## Methods + +### batchCancelOrdersTx + +▸ **batchCancelOrdersTx**(`signedOrders`: `SignedOrder`[]): *string* + +*Defined in [utils/transaction_encoder.ts:149](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L149)* + +Encodes a batchCancelOrders transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | An array of orders to cancel. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### batchFillOrKillOrdersTx + +▸ **batchFillOrKillOrdersTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[]): *string* + +*Defined in [utils/transaction_encoder.ts:112](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L112)* + +Encodes a batchFillOrKillOrders transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | +`takerAssetFillAmounts` | `BigNumber`[] | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### batchFillOrdersNoThrowTx + +▸ **batchFillOrdersNoThrowTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[]): *string* + +*Defined in [utils/transaction_encoder.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L131)* + +Encodes a batchFillOrdersNoThrow transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | +`takerAssetFillAmounts` | `BigNumber`[] | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### batchFillOrdersTx + +▸ **batchFillOrdersTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[]): *string* + +*Defined in [utils/transaction_encoder.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L93)* + +Encodes a batchFillOrders transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | +`takerAssetFillAmounts` | `BigNumber`[] | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### cancelOrderTx + +▸ **cancelOrderTx**(`order`: `Order` | `SignedOrder`): *string* + +*Defined in [utils/transaction_encoder.ts:171](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L171)* + +Encodes a cancelOrder transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | `Order` \| `SignedOrder` | An object that conforms to the Order or SignedOrder interface. The order you would like to cancel. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### cancelOrdersUpToTx + +▸ **cancelOrdersUpToTx**(`targetOrderEpoch`: `BigNumber`): *string* + +*Defined in [utils/transaction_encoder.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L159)* + +Encodes a cancelOrdersUpTo transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`targetOrderEpoch` | `BigNumber` | Target order epoch. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### fillOrKillOrderTx + +▸ **fillOrKillOrderTx**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`): *string* + +*Defined in [utils/transaction_encoder.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L77)* + +Encodes a fillOrKillOrder transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | An object that conforms to the SignedOrder interface. | +`takerAssetFillAmount` | `BigNumber` | The amount of the order (in taker asset baseUnits) that you wish to fill. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### fillOrderNoThrowTx + +▸ **fillOrderNoThrowTx**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`): *string* + +*Defined in [utils/transaction_encoder.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L61)* + +Encodes a fillOrderNoThrow transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | An object that conforms to the SignedOrder interface. | +`takerAssetFillAmount` | `BigNumber` | The amount of the order (in taker asset baseUnits) that you wish to fill. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### fillOrderTx + +▸ **fillOrderTx**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`): *string* + +*Defined in [utils/transaction_encoder.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L45)* + +Encodes a fillOrder transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | An object that conforms to the SignedOrder interface. | +`takerAssetFillAmount` | `BigNumber` | The amount of the order (in taker asset baseUnits) that you wish to fill. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### getTransactionHashHex + +▸ **getTransactionHashHex**(`data`: string, `salt`: `BigNumber`, `signerAddress`: string): *string* + +*Defined in [utils/transaction_encoder.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L28)* + +Hashes the transaction data for use with the Exchange contract. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`data` | string | The ABI Encoded 0x Exchange method. I.e fillOrder | +`salt` | `BigNumber` | A random value to provide uniqueness and prevent replay attacks. | +`signerAddress` | string | The address which will sign this transaction. | + +**Returns:** *string* + +The hash of the 0x transaction. + +___ + +### marketBuyOrdersNoThrowTx + +▸ **marketBuyOrdersNoThrowTx**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`): *string* + +*Defined in [utils/transaction_encoder.ts:233](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L233)* + +Encodes a maketBuyOrdersNoThrow transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | +`makerAssetFillAmount` | `BigNumber` | Maker asset fill amount. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### marketBuyOrdersTx + +▸ **marketBuyOrdersTx**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`): *string* + +*Defined in [utils/transaction_encoder.ts:216](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L216)* + +Encodes a maketBuyOrders transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | +`makerAssetFillAmount` | `BigNumber` | Maker asset fill amount. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### marketSellOrdersNoThrowTx + +▸ **marketSellOrdersNoThrowTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`): *string* + +*Defined in [utils/transaction_encoder.ts:199](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L199)* + +Encodes a marketSellOrdersNoThrow transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | +`takerAssetFillAmount` | `BigNumber` | Taker asset fill amount. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### marketSellOrdersTx + +▸ **marketSellOrdersTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`): *string* + +*Defined in [utils/transaction_encoder.ts:182](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L182)* + +Encodes a marketSellOrders transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | +`takerAssetFillAmount` | `BigNumber` | Taker asset fill amount. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### matchOrdersTx + +▸ **matchOrdersTx**(`leftOrder`: `SignedOrder`, `rightOrder`: `SignedOrder`): *string* + +*Defined in [utils/transaction_encoder.ts:250](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L250)* + +Encodes a matchOrders transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`leftOrder` | `SignedOrder` | First order to match. | +`rightOrder` | `SignedOrder` | Second order to match. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### preSignTx + +▸ **preSignTx**(`hash`: string, `signerAddress`: string, `signature`: string): *string* + +*Defined in [utils/transaction_encoder.ts:268](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L268)* + +Encodes a preSign transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | Hash to pre-sign | +`signerAddress` | string | Address that should have signed the given hash. | +`signature` | string | Proof that the hash has been signed by signer. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +___ + +### setSignatureValidatorApprovalTx + +▸ **setSignatureValidatorApprovalTx**(`validatorAddress`: string, `isApproved`: boolean): *string* + +*Defined in [utils/transaction_encoder.ts:285](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L285)* + +Encodes a setSignatureValidatorApproval transaction. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`validatorAddress` | string | Validator contract address. | +`isApproved` | boolean | Boolean value to set approval to. | + +**Returns:** *string* + +Hex encoded abi of the function call. + +
+ +> # Enumeration: ContractWrappersError + +## Index + +### Enumeration members + +* [ContractNotDeployedOnNetwork](#contractnotdeployedonnetwork) +* [ERC721NoApproval](#erc721noapproval) +* [ERC721OwnerNotFound](#erc721ownernotfound) +* [InsufficientAllowanceForTransfer](#insufficientallowancefortransfer) +* [InsufficientBalanceForTransfer](#insufficientbalancefortransfer) +* [InsufficientEthBalanceForDeposit](#insufficientethbalancefordeposit) +* [InsufficientWEthBalanceForWithdrawal](#insufficientwethbalanceforwithdrawal) +* [InvalidJump](#invalidjump) +* [OutOfGas](#outofgas) +* [SignatureRequestDenied](#signaturerequestdenied) +* [SubscriptionAlreadyPresent](#subscriptionalreadypresent) +* [SubscriptionNotFound](#subscriptionnotfound) + +## Enumeration members + +### ContractNotDeployedOnNetwork + +• **ContractNotDeployedOnNetwork**: = "CONTRACT_NOT_DEPLOYED_ON_NETWORK" + +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L26)* + +___ + +### ERC721NoApproval + +• **ERC721NoApproval**: = "ERC_721_NO_APPROVAL" + +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L36)* + +___ + +### ERC721OwnerNotFound + +• **ERC721OwnerNotFound**: = "ERC_721_OWNER_NOT_FOUND" + +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L35)* + +___ + +### InsufficientAllowanceForTransfer + +• **InsufficientAllowanceForTransfer**: = "INSUFFICIENT_ALLOWANCE_FOR_TRANSFER" + +*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L27)* + +___ + +### InsufficientBalanceForTransfer + +• **InsufficientBalanceForTransfer**: = "INSUFFICIENT_BALANCE_FOR_TRANSFER" + +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L28)* + +___ + +### InsufficientEthBalanceForDeposit + +• **InsufficientEthBalanceForDeposit**: = "INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT" + +*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L29)* + +___ + +### InsufficientWEthBalanceForWithdrawal + +• **InsufficientWEthBalanceForWithdrawal**: = "INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL" + +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L30)* + +___ + +### InvalidJump + +• **InvalidJump**: = "INVALID_JUMP" + +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L31)* + +___ + +### OutOfGas + +• **OutOfGas**: = "OUT_OF_GAS" + +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L32)* + +___ + +### SignatureRequestDenied + +• **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" + +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L37)* + +___ + +### SubscriptionAlreadyPresent + +• **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" + +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L34)* + +___ + +### SubscriptionNotFound + +• **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" + +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L33)* + +
+ +> # Enumeration: DutchAuctionWrapperError + +## Index + +### Enumeration members + +* [AssetDataMismatch](#assetdatamismatch) + +## Enumeration members + +### AssetDataMismatch + +• **AssetDataMismatch**: = "ASSET_DATA_MISMATCH" + +*Defined in [types.ts:220](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L220)* + +
+ +> # Enumeration: ExchangeWrapperError + +## Index + +### Enumeration members + +* [AssetDataMismatch](#assetdatamismatch) + +## Enumeration members + +### AssetDataMismatch + +• **AssetDataMismatch**: = "ASSET_DATA_MISMATCH" + +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L18)* + +
+ +> # Enumeration: ForwarderWrapperError + +## Index + +### Enumeration members + +* [CompleteFillFailed](#completefillfailed) + +## Enumeration members + +### CompleteFillFailed + +• **CompleteFillFailed**: = "COMPLETE_FILL_FAILED" + +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L22)* + +
+ +> # Enumeration: InternalContractWrappersError + +## Index + +### Enumeration members + +* [NoAbiDecoder](#noabidecoder) + +## Enumeration members + +### NoAbiDecoder + +• **NoAbiDecoder**: = "NO_ABI_DECODER" + +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L41)* + +
+ +> # Enumeration: OrderStatus + +## Index + +### Enumeration members + +* [Cancelled](#cancelled) +* [Expired](#expired) +* [Fillable](#fillable) +* [FullyFilled](#fullyfilled) +* [Invalid](#invalid) +* [InvalidMakerAssetAmount](#invalidmakerassetamount) +* [InvalidTakerAssetAmount](#invalidtakerassetamount) + +## Enumeration members + +### Cancelled + +• **Cancelled**: + +*Defined in [types.ts:195](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L195)* + +___ + +### Expired + +• **Expired**: + +*Defined in [types.ts:193](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L193)* + +___ + +### Fillable + +• **Fillable**: + +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L192)* + +___ + +### FullyFilled + +• **FullyFilled**: + +*Defined in [types.ts:194](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L194)* + +___ + +### Invalid + +• **Invalid**: = 0 + +*Defined in [types.ts:189](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L189)* + +___ + +### InvalidMakerAssetAmount + +• **InvalidMakerAssetAmount**: + +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L190)* + +___ + +### InvalidTakerAssetAmount + +• **InvalidTakerAssetAmount**: + +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L191)* + +
+ +> # Enumeration: TradeSide + +## Index + +### Enumeration members + +* [Maker](#maker) +* [Taker](#taker) + +## Enumeration members + +### Maker + +• **Maker**: = "maker" + +*Defined in [types.ts:171](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L171)* + +___ + +### Taker + +• **Taker**: = "taker" + +*Defined in [types.ts:172](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L172)* + +
+ +> # Enumeration: TransferType + +## Index + +### Enumeration members + +* [Fee](#fee) +* [Trade](#trade) + +## Enumeration members + +### Fee + +• **Fee**: = "fee" + +*Defined in [types.ts:177](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L177)* + +___ + +### Trade + +• **Trade**: = "trade" + +*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L176)* + +
+ +> # Enumeration: CoordinatorServerErrorMsg + +## Index + +### Enumeration members + +* [CancellationFailed](#cancellationfailed) +* [FillFailed](#fillfailed) + +## Enumeration members + +### CancellationFailed + +• **CancellationFailed**: = "Failed to cancel with some coordinator server(s). See errors for more info. See cancellations for successful cancellations." + +*Defined in [utils/coordinator_server_types.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L59)* + +___ + +### FillFailed + +• **FillFailed**: = "Failed to obtain approval signatures from some coordinator server(s). See errors for more info. Current transaction has been abandoned but you may resubmit with only approvedOrders (a new ZeroEx transaction will have to be signed)." + +*Defined in [utils/coordinator_server_types.ts:60](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L60)* + +
+ +> # Interface: BalanceAndAllowance + +## Hierarchy + +* **BalanceAndAllowance** + +## Index + +### Properties + +* [allowance](#allowance) +* [balance](#balance) + +## Properties + +### allowance + +• **allowance**: *`BigNumber`* + +*Defined in [types.ts:216](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L216)* + +___ + +### balance + +• **balance**: *`BigNumber`* + +*Defined in [types.ts:215](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L215)* + +
+ +> # Interface: BlockRange + +## Hierarchy + +* **BlockRange** + +## Index + +### Properties + +* [fromBlock](#fromblock) +* [toBlock](#toblock) + +## Properties + +### fromBlock + +• **fromBlock**: *`BlockParam`* + +*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L97)* + +___ + +### toBlock + +• **toBlock**: *`BlockParam`* + +*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L98)* + +
+ +> # Interface: ContractEvent + +## Hierarchy + +* **ContractEvent** + +## Index + +### Properties + +* [address](#address) +* [args](#args) +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [event](#event) +* [logIndex](#logindex) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) +* [type](#type) + +## Properties + +### address + +• **address**: *string* + +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L61)* + +___ + +### args + +• **args**: *[ContractEventArgs](#contracteventargs)* + +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L64)* + +___ + +### blockHash + +• **blockHash**: *string* + +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L59)* + +___ + +### blockNumber + +• **blockNumber**: *number* + +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L60)* + +___ + +### event + +• **event**: *string* + +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L63)* + +___ + +### logIndex + +• **logIndex**: *number* + +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L56)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Defined in [types.ts:58](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L58)* + +___ + +### transactionIndex + +• **transactionIndex**: *number* + +*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L57)* + +___ + +### type + +• **type**: *string* + +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L62)* + +
+ +> # Interface: ContractWrappersConfig + +networkId: The id of the underlying ethereum network your provider is connected to. (1-mainnet, 3-ropsten, 4-rinkeby, 42-kovan, 50-testrpc) +gasPrice: Gas price to use with every transaction +contractAddresses: The address of all contracts to use. Defaults to the known addresses based on networkId. +blockPollingIntervalMs: The interval to use for block polling in event watching methods (defaults to 1000) + +## Hierarchy + +* **ContractWrappersConfig** + +## Index + +### Properties + +* [blockPollingIntervalMs](#optional-blockpollingintervalms) +* [contractAddresses](#optional-contractaddresses) +* [gasPrice](#optional-gasprice) +* [networkId](#networkid) + +## Properties + +### `Optional` blockPollingIntervalMs + +• **blockPollingIntervalMs**? : *undefined | number* + +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L119)* + +___ + +### `Optional` contractAddresses + +• **contractAddresses**? : *`ContractAddresses`* + +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L118)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *`BigNumber`* + +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L117)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L116)* + +
+ +> # Interface: CoordinatorTransaction + +## Hierarchy + +* **CoordinatorTransaction** + +## Index + +### Properties + +* [data](#data) +* [salt](#salt) +* [signerAddress](#signeraddress) + +## Properties + +### data + +• **data**: *string* + +*Defined in [types.ts:228](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L228)* + +___ + +### salt + +• **salt**: *`BigNumber`* + +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L226)* + +___ + +### signerAddress + +• **signerAddress**: *string* + +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L227)* + +
+ +> # Interface: DecodedLogEvent <**ArgsType**> + +## Type parameters + +▪ **ArgsType**: *`DecodedLogArgs`* + +## Hierarchy + +* **DecodedLogEvent** + +## Index + +### Properties + +* [isRemoved](#isremoved) +* [log](#log) + +## Properties + +### isRemoved + +• **isRemoved**: *boolean* + +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L46)* + +___ + +### log + +• **log**: *`LogWithDecodedArgs`* + +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L47)* + +
+ +> # Interface: IndexedFilterValues + +## Hierarchy + +* **IndexedFilterValues** + +## Indexable + +● \[▪ **index**: *string*\]: `ContractEventArg` + +
+ +> # Interface: MethodOpts + +defaultBlock: The block up to which to query the blockchain state. Setting this to a historical block number +let's the user query the blockchain's state at an arbitrary point in time. In order for this to work, the +backing Ethereum node must keep the entire historical state of the chain (e.g setting `--pruning=archive` +flag when running Parity). + +## Hierarchy + +* **MethodOpts** + +## Index + +### Properties + +* [defaultBlock](#optional-defaultblock) + +## Properties + +### `Optional` defaultBlock + +• **defaultBlock**? : *`BlockParam`* + +*Defined in [types.ts:148](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L148)* + +
+ +> # Interface: OrderAndTraderInfo + +## Hierarchy + +* **OrderAndTraderInfo** + +## Index + +### Properties + +* [orderInfo](#orderinfo) +* [traderInfo](#traderinfo) + +## Properties + +### orderInfo + +• **orderInfo**: *[OrderInfo](#interface-orderinfo)* + +*Defined in [types.ts:210](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L210)* + +___ + +### traderInfo + +• **traderInfo**: *[TraderInfo](#interface-traderinfo)* + +*Defined in [types.ts:211](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L211)* + +
+ +> # Interface: OrderFillRequest + +## Hierarchy + +* **OrderFillRequest** + +## Index + +### Properties + +* [signedOrder](#signedorder) +* [takerAssetFillAmount](#takerassetfillamount) + +## Properties + +### signedOrder + +• **signedOrder**: *`SignedOrder`* + +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L102)* + +___ + +### takerAssetFillAmount + +• **takerAssetFillAmount**: *`BigNumber`* + +*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L103)* + +
+ +> # Interface: OrderInfo + +## Hierarchy + +* **OrderInfo** + +## Index + +### Properties + +* [orderHash](#orderhash) +* [orderStatus](#orderstatus) +* [orderTakerAssetFilledAmount](#ordertakerassetfilledamount) + +## Properties + +### orderHash + +• **orderHash**: *string* + +*Defined in [types.ts:184](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L184)* + +___ + +### orderStatus + +• **orderStatus**: *[OrderStatus](#enumeration-orderstatus)* + +*Defined in [types.ts:183](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L183)* + +___ + +### orderTakerAssetFilledAmount + +• **orderTakerAssetFilledAmount**: *`BigNumber`* + +*Defined in [types.ts:185](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L185)* + +
+ +> # Interface: OrderTransactionOpts + +shouldValidate: Flag indicating whether the library should make attempts to validate a transaction before +broadcasting it. For example, order has a valid signature, maker has sufficient funds, etc. Default=true. + +## Hierarchy + +* [TransactionOpts](#interface-transactionopts) + + * **OrderTransactionOpts** + +## Index + +### Properties + +* [gasLimit](#optional-gaslimit) +* [gasPrice](#optional-gasprice) +* [nonce](#optional-nonce) +* [shouldValidate](#optional-shouldvalidate) + +## Properties + +### `Optional` gasLimit + +• **gasLimit**? : *undefined | number* + +*Inherited from [TransactionOpts](#optional-gaslimit)* + +*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L158)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *`BigNumber`* + +*Inherited from [TransactionOpts](#optional-gasprice)* + +*Defined in [types.ts:157](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L157)* + +___ + +### `Optional` nonce + +• **nonce**? : *undefined | number* + +*Inherited from [TransactionOpts](#optional-nonce)* + +*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L159)* + +___ + +### `Optional` shouldValidate + +• **shouldValidate**? : *undefined | false | true* + +*Defined in [types.ts:167](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L167)* + +
+ +> # Interface: Token + +## Hierarchy + +* **Token** + +## Index + +### Properties + +* [address](#address) +* [decimals](#decimals) +* [name](#name) +* [symbol](#symbol) + +## Properties + +### address + +• **address**: *string* + +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L74)* + +___ + +### decimals + +• **decimals**: *number* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L76)* + +___ + +### name + +• **name**: *string* + +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L73)* + +___ + +### symbol + +• **symbol**: *string* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L75)* + +
+ +> # Interface: TokenAddressBySymbol + +## Hierarchy + +* **TokenAddressBySymbol** + +## Indexable + +● \[▪ **symbol**: *string*\]: string + +
+ +> # Interface: TraderInfo + +## Hierarchy + +* **TraderInfo** + +## Index + +### Properties + +* [makerAllowance](#makerallowance) +* [makerBalance](#makerbalance) +* [makerZrxAllowance](#makerzrxallowance) +* [makerZrxBalance](#makerzrxbalance) +* [takerAllowance](#takerallowance) +* [takerBalance](#takerbalance) +* [takerZrxAllowance](#takerzrxallowance) +* [takerZrxBalance](#takerzrxbalance) + +## Properties + +### makerAllowance + +• **makerAllowance**: *`BigNumber`* + +*Defined in [types.ts:200](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L200)* + +___ + +### makerBalance + +• **makerBalance**: *`BigNumber`* + +*Defined in [types.ts:199](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L199)* + +___ + +### makerZrxAllowance + +• **makerZrxAllowance**: *`BigNumber`* + +*Defined in [types.ts:204](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L204)* + +___ + +### makerZrxBalance + +• **makerZrxBalance**: *`BigNumber`* + +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L203)* + +___ + +### takerAllowance + +• **takerAllowance**: *`BigNumber`* + +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L202)* + +___ + +### takerBalance + +• **takerBalance**: *`BigNumber`* + +*Defined in [types.ts:201](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L201)* + +___ + +### takerZrxAllowance + +• **takerZrxAllowance**: *`BigNumber`* + +*Defined in [types.ts:206](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L206)* + +___ + +### takerZrxBalance + +• **takerZrxBalance**: *`BigNumber`* + +*Defined in [types.ts:205](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L205)* + +
+ +> # Interface: TransactionOpts + +gasPrice: Gas price in Wei to use for a transaction +gasLimit: The amount of gas to send with a transaction (in Gwei) +nonce: The nonce to use for a transaction. If not specified, it defaults to the next incremented nonce. + +## Hierarchy + +* **TransactionOpts** + + * [OrderTransactionOpts](#interface-ordertransactionopts) + +## Index + +### Properties + +* [gasLimit](#optional-gaslimit) +* [gasPrice](#optional-gasprice) +* [nonce](#optional-nonce) + +## Properties + +### `Optional` gasLimit + +• **gasLimit**? : *undefined | number* + +*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L158)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *`BigNumber`* + +*Defined in [types.ts:157](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L157)* + +___ + +### `Optional` nonce + +• **nonce**? : *undefined | number* + +*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L159)* + +
+ +> # Interface: TxOpts + +## Hierarchy + +* **TxOpts** + +## Index + +### Properties + +* [from](#from) +* [gas](#optional-gas) +* [gasPrice](#optional-gasprice) +* [value](#optional-value) + +## Properties + +### from + +• **from**: *string* + +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L80)* + +___ + +### `Optional` gas + +• **gas**? : *undefined | number* + +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L81)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *`BigNumber`* + +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L83)* + +___ + +### `Optional` value + +• **value**? : *`BigNumber`* + +*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L82)* + +
+ +> # Interface: ValidateOrderFillableOpts + +`expectedFillTakerTokenAmount`: If specified, the validation method will ensure that the supplied order maker has a sufficient + allowance/balance to fill this amount of the order's takerTokenAmount. + +`validateRemainingOrderAmountIsFillable`: The validation method ensures that the maker has sufficient allowance/balance to fill + the entire remaining order amount. If this option is set to false, the balances + and allowances are calculated to determine the order is fillable for a + non-zero amount (some value less than or equal to the order remaining amount). + We call such orders "partially fillable orders". Default is `true`. + +`simulationTakerAddress`: During the maker transfer simulation, tokens are sent from the maker to the `simulationTakerAddress`. This defaults + to the `takerAddress` specified in the order. Some tokens prevent transfer to the NULL address so this address can be specified. + +## Hierarchy + +* **ValidateOrderFillableOpts** + +## Index + +### Properties + +* [expectedFillTakerTokenAmount](#optional-expectedfilltakertokenamount) +* [simulationTakerAddress](#optional-simulationtakeraddress) +* [validateRemainingOrderAmountIsFillable](#optional-validateremainingorderamountisfillable) + +## Properties + +### `Optional` expectedFillTakerTokenAmount + +• **expectedFillTakerTokenAmount**? : *`BigNumber`* + +*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L136)* + +___ + +### `Optional` simulationTakerAddress + +• **simulationTakerAddress**? : *undefined | string* + +*Defined in [types.ts:138](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L138)* + +___ + +### `Optional` validateRemainingOrderAmountIsFillable + +• **validateRemainingOrderAmountIsFillable**? : *undefined | false | true* + +*Defined in [types.ts:137](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L137)* + +
+ +> # Interface: CoordinatorOutstandingFillSignatures + +## Hierarchy + +* **CoordinatorOutstandingFillSignatures** + +## Index + +### Properties + +* [approvalSignatures](#approvalsignatures) +* [expirationTimeSeconds](#expirationtimeseconds) +* [orderHash](#orderhash) +* [takerAssetFillAmount](#takerassetfillamount) + +## Properties + +### approvalSignatures + +• **approvalSignatures**: *string[]* + +*Defined in [utils/coordinator_server_types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L19)* + +___ + +### expirationTimeSeconds + +• **expirationTimeSeconds**: *`BigNumber`* + +*Defined in [utils/coordinator_server_types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L20)* + +___ + +### orderHash + +• **orderHash**: *string* + +*Defined in [utils/coordinator_server_types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L18)* + +___ + +### takerAssetFillAmount + +• **takerAssetFillAmount**: *`BigNumber`* + +*Defined in [utils/coordinator_server_types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L21)* + +
+ +> # Interface: CoordinatorServerApprovalRawResponse + +## Hierarchy + +* **CoordinatorServerApprovalRawResponse** + +## Index + +### Properties + +* [expirationTimeSeconds](#expirationtimeseconds) +* [signatures](#signatures) + +## Properties + +### expirationTimeSeconds + +• **expirationTimeSeconds**: *`BigNumber`* + +*Defined in [utils/coordinator_server_types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L10)* + +___ + +### signatures + +• **signatures**: *string[]* + +*Defined in [utils/coordinator_server_types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L9)* + +
+ +> # Interface: CoordinatorServerApprovalResponse + +## Hierarchy + +* **CoordinatorServerApprovalResponse** + +## Index + +### Properties + +* [expirationTimeSeconds](#expirationtimeseconds) +* [signatures](#signatures) + +## Properties + +### expirationTimeSeconds + +• **expirationTimeSeconds**: *`BigNumber`[]* + +*Defined in [utils/coordinator_server_types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L6)* + +___ + +### signatures + +• **signatures**: *string[]* + +*Defined in [utils/coordinator_server_types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L5)* + +
+ +> # Interface: CoordinatorServerCancellationResponse + +## Hierarchy + +* **CoordinatorServerCancellationResponse** + +## Index + +### Properties + +* [cancellationSignatures](#cancellationsignatures) +* [outstandingFillSignatures](#outstandingfillsignatures) + +## Properties + +### cancellationSignatures + +• **cancellationSignatures**: *string[]* + +*Defined in [utils/coordinator_server_types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L15)* + +___ + +### outstandingFillSignatures + +• **outstandingFillSignatures**: *[CoordinatorOutstandingFillSignatures](#class-coordinatoroutstandingfillsignatures)[]* + +*Defined in [utils/coordinator_server_types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L14)* + +
+ +> # Interface: CoordinatorServerRequest + +## Hierarchy + +* **CoordinatorServerRequest** + +## Index + +### Properties + +* [signedTransaction](#signedtransaction) +* [txOrigin](#txorigin) + +## Properties + +### signedTransaction + +• **signedTransaction**: *`SignedZeroExTransaction`* + +*Defined in [utils/coordinator_server_types.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L35)* + +___ + +### txOrigin + +• **txOrigin**: *string* + +*Defined in [utils/coordinator_server_types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L36)* + +
+ +> # Interface: CoordinatorServerResponse + +## Hierarchy + +* **CoordinatorServerResponse** + +## Index + +### Properties + +* [body](#optional-body) +* [coordinatorOperator](#coordinatoroperator) +* [error](#optional-error) +* [isError](#iserror) +* [orders](#optional-orders) +* [request](#request) +* [status](#status) + +## Properties + +### `Optional` body + +• **body**? : *[CoordinatorServerCancellationResponse](#class-coordinatorserverapprovalrawresponse)* + +*Defined in [utils/coordinator_server_types.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L27)* + +___ + +### coordinatorOperator + +• **coordinatorOperator**: *string* + +*Defined in [utils/coordinator_server_types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L30)* + +___ + +### `Optional` error + +• **error**? : *any* + +*Defined in [utils/coordinator_server_types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L28)* + +___ + +### isError + +• **isError**: *boolean* + +*Defined in [utils/coordinator_server_types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L25)* + +___ + +### `Optional` orders + +• **orders**? : *`Array`* + +*Defined in [utils/coordinator_server_types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L31)* + +___ + +### request + +• **request**: *[CoordinatorServerRequest](#class-coordinatorserverrequest)* + +*Defined in [utils/coordinator_server_types.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L29)* + +___ + +### status + +• **status**: *number* + +*Defined in [utils/coordinator_server_types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L26)* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [abstract/abstract_balance_and_proxy_allowance_lazy_store](modules/_abstract_abstract_balance_and_proxy_allowance_lazy_store_.md) + * [abstract/abstract_balance_and_proxy_allowance_lazy_store.AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) + * [contract_wrappers](modules/_contract_wrappers_.md) + * [contract_wrappers.ContractWrappers](#class-contractwrappers) + * [contract_wrappers/coordinator_wrapper](modules/_contract_wrappers_coordinator_wrapper_.md) + * [contract_wrappers/coordinator_wrapper.CoordinatorWrapper](#class-coordinatorwrapper) + * [contract_wrappers/dutch_auction_wrapper](modules/_contract_wrappers_dutch_auction_wrapper_.md) + * [contract_wrappers/dutch_auction_wrapper.DutchAuctionWrapper](#class-dutchauctionwrapper) + * [contract_wrappers/erc20_proxy_wrapper](modules/_contract_wrappers_erc20_proxy_wrapper_.md) + * [contract_wrappers/erc20_proxy_wrapper.ERC20ProxyWrapper](#class-erc20proxywrapper) + * [contract_wrappers/erc20_token_wrapper](modules/_contract_wrappers_erc20_token_wrapper_.md) + * [contract_wrappers/erc20_token_wrapper.ERC20TokenWrapper](#class-erc20tokenwrapper) + * [contract_wrappers/erc721_proxy_wrapper](modules/_contract_wrappers_erc721_proxy_wrapper_.md) + * [contract_wrappers/erc721_proxy_wrapper.ERC721ProxyWrapper](#class-erc721proxywrapper) + * [contract_wrappers/erc721_token_wrapper](modules/_contract_wrappers_erc721_token_wrapper_.md) + * [contract_wrappers/erc721_token_wrapper.ERC721TokenWrapper](#class-erc721tokenwrapper) + * [contract_wrappers/ether_token_wrapper](modules/_contract_wrappers_ether_token_wrapper_.md) + * [contract_wrappers/ether_token_wrapper.EtherTokenWrapper](#class-ethertokenwrapper) + * [contract_wrappers/exchange_wrapper](modules/_contract_wrappers_exchange_wrapper_.md) + * [contract_wrappers/exchange_wrapper.ExchangeWrapper](#class-exchangewrapper) + * [contract_wrappers/forwarder_wrapper](modules/_contract_wrappers_forwarder_wrapper_.md) + * [contract_wrappers/forwarder_wrapper.ForwarderWrapper](#class-forwarderwrapper) + * [contract_wrappers/order_validator_wrapper](modules/_contract_wrappers_order_validator_wrapper_.md) + * [contract_wrappers/order_validator_wrapper.OrderValidatorWrapper](#class-ordervalidatorwrapper) + * [fetchers/asset_balance_and_proxy_allowance_fetcher](modules/_fetchers_asset_balance_and_proxy_allowance_fetcher_.md) + * [fetchers/asset_balance_and_proxy_allowance_fetcher.AssetBalanceAndProxyAllowanceFetcher](#class-assetbalanceandproxyallowancefetcher) + * [fetchers/order_filled_cancelled_fetcher](modules/_fetchers_order_filled_cancelled_fetcher_.md) + * [fetchers/order_filled_cancelled_fetcher.OrderFilledCancelledFetcher](#class-orderfilledcancelledfetcher) + * [index](modules/_index_.md) + * [schemas/contract_wrappers_config_schema](modules/_schemas_contract_wrappers_config_schema_.md) + * [schemas/method_opts_schema](modules/_schemas_method_opts_schema_.md) + * [schemas/order_tx_opts_schema](modules/_schemas_order_tx_opts_schema_.md) + * [schemas/tx_opts_schema](modules/_schemas_tx_opts_schema_.md) + * [schemas/validate_order_fillable_opts_schema](modules/_schemas_validate_order_fillable_opts_schema_.md) + * [types](modules/_types_.md) + * [types.ContractWrappersError](#class-contractwrapperserror) + * [types.DutchAuctionWrapperError](#class-dutchauctionwrappererror) + * [types.ExchangeWrapperError](#class-exchangewrappererror) + * [types.ForwarderWrapperError](#class-forwarderwrappererror) + * [types.InternalContractWrappersError](#class-internalcontractwrapperserror) + * [types.OrderStatus](#class-orderstatus) + * [types.TradeSide](#class-tradeside) + * [types.TransferType](#class-transfertype) + * [types.BalanceAndAllowance](#class-balanceandallowance) + * [types.BlockRange](#class-blockrange) + * [types.ContractEvent](#class-contractevent) + * [types.ContractWrappersConfig](#class-contractwrappersconfig) + * [types.CoordinatorTransaction](#class-coordinatortransaction) + * [types.DecodedLogEvent](#class-decodedlogevent) + * [types.IndexedFilterValues](#class-indexedfiltervalues) + * [types.MethodOpts](#class-methodopts) + * [types.OrderAndTraderInfo](#class-orderandtraderinfo) + * [types.OrderFillRequest](#class-orderfillrequest) + * [types.OrderInfo](#class-orderinfo) + * [types.OrderTransactionOpts](#class-ordertransactionopts) + * [types.Token](#class-token) + * [types.TokenAddressBySymbol](#class-tokenaddressbysymbol) + * [types.TraderInfo](#class-traderinfo) + * [types.TransactionOpts](#class-transactionopts) + * [types.TxOpts](#class-txopts) + * [types.ValidateOrderFillableOpts](#class-validateorderfillableopts) + * [utils/assert](modules/_utils_assert_.md) + * [utils/calldata_optimization_utils](modules/_utils_calldata_optimization_utils_.md) + * [utils/constants](modules/_utils_constants_.md) + * [utils/contract_addresses](modules/_utils_contract_addresses_.md) + * [utils/coordinator_server_types](modules/_utils_coordinator_server_types_.md) + * [utils/coordinator_server_types.CoordinatorServerErrorMsg](#class-coordinatorservererrormsg) + * [utils/coordinator_server_types.CoordinatorServerError](#class-coordinatorservererror) + * [utils/coordinator_server_types.CoordinatorOutstandingFillSignatures](#class-coordinatoroutstandingfillsignatures) + * [utils/coordinator_server_types.CoordinatorServerApprovalRawResponse](#class-coordinatorserverapprovalrawresponse) + * [utils/coordinator_server_types.CoordinatorServerApprovalResponse](#class-coordinatorserverapprovalresponse) + * [utils/coordinator_server_types.CoordinatorServerCancellationResponse](#class-coordinatorservercancellationresponse) + * [utils/coordinator_server_types.CoordinatorServerRequest](#class-coordinatorserverrequest) + * [utils/coordinator_server_types.CoordinatorServerResponse](#class-coordinatorserverresponse) + * [utils/decorators](modules/_utils_decorators_.md) + * [utils/filter_utils](modules/_utils_filter_utils_.md) + * [utils/transaction_encoder](modules/_utils_transaction_encoder_.md) + * [utils/transaction_encoder.TransactionEncoder](#class-transactionencoder) + * [utils/utils](modules/_utils_utils_.md) +* [Classes]() + * [abstract/abstract_balance_and_proxy_allowance_lazy_store.AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) + * [contract_wrappers.ContractWrappers](#class-contractwrappers) + * [contract_wrappers/coordinator_wrapper.CoordinatorWrapper](#class-coordinatorwrapper) + * [contract_wrappers/dutch_auction_wrapper.DutchAuctionWrapper](#class-dutchauctionwrapper) + * [contract_wrappers/erc20_proxy_wrapper.ERC20ProxyWrapper](#class-erc20proxywrapper) + * [contract_wrappers/erc20_token_wrapper.ERC20TokenWrapper](#class-erc20tokenwrapper) + * [contract_wrappers/erc721_proxy_wrapper.ERC721ProxyWrapper](#class-erc721proxywrapper) + * [contract_wrappers/erc721_token_wrapper.ERC721TokenWrapper](#class-erc721tokenwrapper) + * [contract_wrappers/ether_token_wrapper.EtherTokenWrapper](#class-ethertokenwrapper) + * [contract_wrappers/exchange_wrapper.ExchangeWrapper](#class-exchangewrapper) + * [contract_wrappers/forwarder_wrapper.ForwarderWrapper](#class-forwarderwrapper) + * [contract_wrappers/order_validator_wrapper.OrderValidatorWrapper](#class-ordervalidatorwrapper) + * [fetchers/asset_balance_and_proxy_allowance_fetcher.AssetBalanceAndProxyAllowanceFetcher](#class-assetbalanceandproxyallowancefetcher) + * [fetchers/order_filled_cancelled_fetcher.OrderFilledCancelledFetcher](#class-orderfilledcancelledfetcher) + * [utils/coordinator_server_types.CoordinatorServerError](#class-coordinatorservererror) + * [utils/transaction_encoder.TransactionEncoder](#class-transactionencoder) +* [Enums]() + * [types.ContractWrappersError](#class-contractwrapperserror) + * [types.DutchAuctionWrapperError](#class-dutchauctionwrappererror) + * [types.ExchangeWrapperError](#class-exchangewrappererror) + * [types.ForwarderWrapperError](#class-forwarderwrappererror) + * [types.InternalContractWrappersError](#class-internalcontractwrapperserror) + * [types.OrderStatus](#class-orderstatus) + * [types.TradeSide](#class-tradeside) + * [types.TransferType](#class-transfertype) + * [utils/coordinator_server_types.CoordinatorServerErrorMsg](#class-coordinatorservererrormsg) +* [Interfaces]() + * [types.BalanceAndAllowance](#class-balanceandallowance) + * [types.BlockRange](#class-blockrange) + * [types.ContractEvent](#class-contractevent) + * [types.ContractWrappersConfig](#class-contractwrappersconfig) + * [types.CoordinatorTransaction](#class-coordinatortransaction) + * [types.DecodedLogEvent](#class-decodedlogevent) + * [types.IndexedFilterValues](#class-indexedfiltervalues) + * [types.MethodOpts](#class-methodopts) + * [types.OrderAndTraderInfo](#class-orderandtraderinfo) + * [types.OrderFillRequest](#class-orderfillrequest) + * [types.OrderInfo](#class-orderinfo) + * [types.OrderTransactionOpts](#class-ordertransactionopts) + * [types.Token](#class-token) + * [types.TokenAddressBySymbol](#class-tokenaddressbysymbol) + * [types.TraderInfo](#class-traderinfo) + * [types.TransactionOpts](#class-transactionopts) + * [types.TxOpts](#class-txopts) + * [types.ValidateOrderFillableOpts](#class-validateorderfillableopts) + * [utils/coordinator_server_types.CoordinatorOutstandingFillSignatures](#class-coordinatoroutstandingfillsignatures) + * [utils/coordinator_server_types.CoordinatorServerApprovalRawResponse](#class-coordinatorserverapprovalrawresponse) + * [utils/coordinator_server_types.CoordinatorServerApprovalResponse](#class-coordinatorserverapprovalresponse) + * [utils/coordinator_server_types.CoordinatorServerCancellationResponse](#class-coordinatorservercancellationresponse) + * [utils/coordinator_server_types.CoordinatorServerRequest](#class-coordinatorserverrequest) + * [utils/coordinator_server_types.CoordinatorServerResponse](#class-coordinatorserverresponse) + +
+ diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index a9de559c2f..23049f4bc7 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -31,7 +31,9 @@ "prettier_contract_wrappers": "prettier --write src/generated-wrappers/* --config ../../.prettierrc", "clean": "shx rm -rf lib src/generated-wrappers", "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --output src/generated-wrappers --backend ethers", - "docs_test": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --out generated_docs ./src/generated-wrappers/*" + "docs_test": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --out generated_docs ./src/generated-wrappers/*", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync" }, "config": { "abis": "../contract-artifacts/artifacts/@(AssetProxyOwner|DevUtils|DutchAuction|DummyERC20Token|DummyERC721Token|ERC20Proxy|ERC20Token|ERC721Proxy|ERC721Token|Exchange|Forwarder|IAssetProxy|IValidator|IWallet|MultiAssetProxy|OrderValidator|WETH9|ZRXToken|Coordinator|CoordinatorRegistry|EthBalanceChecker).json" @@ -48,6 +50,7 @@ "devDependencies": { "@0x/abi-gen": "^4.1.1", "@0x/assert": "^2.1.4", + "@0x/ts-doc-gen": "^0.0.6", "@0x/contracts-test-utils": "^3.1.14", "@0x/coordinator-server": "^0.1.3", "@0x/json-schemas": "^4.0.0", @@ -65,7 +68,10 @@ "lodash": "^4.17.11", "mocha": "^6.2.0", "nock": "^10.0.6", - "shx": "^0.2.2" + "shx": "^0.2.2", + "tslint": "5.11.0", + "typedoc": "^0.15.0", + "typescript": "3.0.1" }, "dependencies": { "@0x/base-contract": "^5.3.2", diff --git a/packages/ethereum-types/docs/reference.md b/packages/ethereum-types/docs/reference.md new file mode 100644 index 0000000000..d40a06b83f --- /dev/null +++ b/packages/ethereum-types/docs/reference.md @@ -0,0 +1,5447 @@ +> # Enumeration: AbiType + +## Index + +### Enumeration members + +* [Constructor](#constructor) +* [Event](#event) +* [Fallback](#fallback) +* [Function](#function) + +## Enumeration members + +### Constructor + +• **Constructor**: = "constructor" + +*Defined in [index.ts:455](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L455)* + +___ + +### Event + +• **Event**: = "event" + +*Defined in [index.ts:456](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L456)* + +___ + +### Fallback + +• **Fallback**: = "fallback" + +*Defined in [index.ts:457](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L457)* + +___ + +### Function + +• **Function**: = "function" + +*Defined in [index.ts:454](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L454)* + +
+ +> # Enumeration: BlockParamLiteral + +## Index + +### Enumeration members + +* [Earliest](#earliest) +* [Latest](#latest) +* [Pending](#pending) + +## Enumeration members + +### Earliest + +• **Earliest**: = "earliest" + +*Defined in [index.ts:470](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L470)* + +___ + +### Latest + +• **Latest**: = "latest" + +*Defined in [index.ts:471](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L471)* + +___ + +### Pending + +• **Pending**: = "pending" + +*Defined in [index.ts:472](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L472)* + +
+ +> # Enumeration: OpCode + +## Index + +### Enumeration members + +* [Add](#add) +* [AddMod](#addmod) +* [Address](#address) +* [And](#and) +* [Balance](#balance) +* [BlockHash](#blockhash) +* [Byte](#byte) +* [Call](#call) +* [CallCode](#callcode) +* [CallDataCopy](#calldatacopy) +* [CallDataLoad](#calldataload) +* [CallDataSize](#calldatasize) +* [CallValue](#callvalue) +* [Caller](#caller) +* [CodeCopy](#codecopy) +* [CodeSize](#codesize) +* [Coinbase](#coinbase) +* [Create](#create) +* [DelegateCall](#delegatecall) +* [Difficulty](#difficulty) +* [Div](#div) +* [Dup1](#dup1) +* [Dup10](#dup10) +* [Dup11](#dup11) +* [Dup12](#dup12) +* [Dup13](#dup13) +* [Dup14](#dup14) +* [Dup15](#dup15) +* [Dup16](#dup16) +* [Dup2](#dup2) +* [Dup3](#dup3) +* [Dup4](#dup4) +* [Dup5](#dup5) +* [Dup6](#dup6) +* [Dup7](#dup7) +* [Dup8](#dup8) +* [Dup9](#dup9) +* [Eq](#eq) +* [Exp](#exp) +* [ExtCodeCopy](#extcodecopy) +* [ExtCodeSize](#extcodesize) +* [Gas](#gas) +* [GasPrice](#gasprice) +* [Gaslimit](#gaslimit) +* [Gt](#gt) +* [Invalid](#invalid) +* [IsZero](#iszero) +* [Jump](#jump) +* [JumpDest](#jumpdest) +* [Jumpi](#jumpi) +* [Log1](#log1) +* [Log2](#log2) +* [Log3](#log3) +* [Log4](#log4) +* [Lt](#lt) +* [MLoad](#mload) +* [MSize](#msize) +* [MStore](#mstore) +* [MStore8](#mstore8) +* [Mod](#mod) +* [Mul](#mul) +* [MulMod](#mulmod) +* [Not](#not) +* [Number](#number) +* [Or](#or) +* [Origin](#origin) +* [Pc](#pc) +* [Pop](#pop) +* [Push1](#push1) +* [Push10](#push10) +* [Push11](#push11) +* [Push12](#push12) +* [Push13](#push13) +* [Push14](#push14) +* [Push15](#push15) +* [Push16](#push16) +* [Push17](#push17) +* [Push18](#push18) +* [Push19](#push19) +* [Push2](#push2) +* [Push20](#push20) +* [Push21](#push21) +* [Push22](#push22) +* [Push23](#push23) +* [Push24](#push24) +* [Push25](#push25) +* [Push26](#push26) +* [Push27](#push27) +* [Push28](#push28) +* [Push29](#push29) +* [Push3](#push3) +* [Push30](#push30) +* [Push31](#push31) +* [Push32](#push32) +* [Push4](#push4) +* [Push5](#push5) +* [Push6](#push6) +* [Push7](#push7) +* [Push8](#push8) +* [Push9](#push9) +* [Return](#return) +* [ReturnDataCopy](#returndatacopy) +* [ReturnDataSize](#returndatasize) +* [Revert](#revert) +* [SDiv](#sdiv) +* [SGt](#sgt) +* [SLoad](#sload) +* [SLt](#slt) +* [SMod](#smod) +* [SStore](#sstore) +* [SelfDestruct](#selfdestruct) +* [Sha3](#sha3) +* [SignExtend](#signextend) +* [StaticCall](#staticcall) +* [Stop](#stop) +* [Sub](#sub) +* [Swap1](#swap1) +* [Swap10](#swap10) +* [Swap11](#swap11) +* [Swap12](#swap12) +* [Swap13](#swap13) +* [Swap14](#swap14) +* [Swap15](#swap15) +* [Swap16](#swap16) +* [Swap2](#swap2) +* [Swap3](#swap3) +* [Swap4](#swap4) +* [Swap5](#swap5) +* [Swap6](#swap6) +* [Swap7](#swap7) +* [Swap8](#swap8) +* [Swap9](#swap9) +* [TimeStamp](#timestamp) +* [Xor](#xor) + +## Enumeration members + +### Add + +• **Add**: = "ADD" + +*Defined in [index.ts:141](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L141)* + +___ + +### AddMod + +• **AddMod**: = "ADDMOD" + +*Defined in [index.ts:148](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L148)* + +___ + +### Address + +• **Address**: = "ADDRESS" + +*Defined in [index.ts:167](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L167)* + +___ + +### And + +• **And**: = "AND" + +*Defined in [index.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L159)* + +___ + +### Balance + +• **Balance**: = "BALANCE" + +*Defined in [index.ts:168](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L168)* + +___ + +### BlockHash + +• **BlockHash**: = "BLOCKHASH" + +*Defined in [index.ts:183](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L183)* + +___ + +### Byte + +• **Byte**: = "BYTE" + +*Defined in [index.ts:163](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L163)* + +___ + +### Call + +• **Call**: = "CALL" + +*Defined in [index.ts:276](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L276)* + +___ + +### CallCode + +• **CallCode**: = "CALLCODE" + +*Defined in [index.ts:277](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L277)* + +___ + +### CallDataCopy + +• **CallDataCopy**: = "CALLDATACOPY" + +*Defined in [index.ts:174](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L174)* + +___ + +### CallDataLoad + +• **CallDataLoad**: = "CALLDATALOAD" + +*Defined in [index.ts:172](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L172)* + +___ + +### CallDataSize + +• **CallDataSize**: = "CALLDATASIZE" + +*Defined in [index.ts:173](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L173)* + +___ + +### CallValue + +• **CallValue**: = "CALLVALUE" + +*Defined in [index.ts:171](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L171)* + +___ + +### Caller + +• **Caller**: = "CALLER" + +*Defined in [index.ts:170](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L170)* + +___ + +### CodeCopy + +• **CodeCopy**: = "CODECOPY" + +*Defined in [index.ts:176](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L176)* + +___ + +### CodeSize + +• **CodeSize**: = "CODESIZE" + +*Defined in [index.ts:175](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L175)* + +___ + +### Coinbase + +• **Coinbase**: = "COINBASE" + +*Defined in [index.ts:184](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L184)* + +___ + +### Create + +• **Create**: = "CREATE" + +*Defined in [index.ts:275](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L275)* + +___ + +### DelegateCall + +• **DelegateCall**: = "DELEGATECALL" + +*Defined in [index.ts:279](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L279)* + +___ + +### Difficulty + +• **Difficulty**: = "DIFFICULTY" + +*Defined in [index.ts:187](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L187)* + +___ + +### Div + +• **Div**: = "DIV" + +*Defined in [index.ts:144](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L144)* + +___ + +### Dup1 + +• **Dup1**: = "DUP1" + +*Defined in [index.ts:236](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L236)* + +___ + +### Dup10 + +• **Dup10**: = "DUP10" + +*Defined in [index.ts:245](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L245)* + +___ + +### Dup11 + +• **Dup11**: = "DUP11" + +*Defined in [index.ts:246](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L246)* + +___ + +### Dup12 + +• **Dup12**: = "DUP12" + +*Defined in [index.ts:247](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L247)* + +___ + +### Dup13 + +• **Dup13**: = "DUP13" + +*Defined in [index.ts:248](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L248)* + +___ + +### Dup14 + +• **Dup14**: = "DUP14" + +*Defined in [index.ts:249](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L249)* + +___ + +### Dup15 + +• **Dup15**: = "DUP15" + +*Defined in [index.ts:250](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L250)* + +___ + +### Dup16 + +• **Dup16**: = "DUP16" + +*Defined in [index.ts:251](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L251)* + +___ + +### Dup2 + +• **Dup2**: = "DUP2" + +*Defined in [index.ts:237](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L237)* + +___ + +### Dup3 + +• **Dup3**: = "DUP3" + +*Defined in [index.ts:238](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L238)* + +___ + +### Dup4 + +• **Dup4**: = "DUP4" + +*Defined in [index.ts:239](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L239)* + +___ + +### Dup5 + +• **Dup5**: = "DUP5" + +*Defined in [index.ts:240](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L240)* + +___ + +### Dup6 + +• **Dup6**: = "DUP6" + +*Defined in [index.ts:241](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L241)* + +___ + +### Dup7 + +• **Dup7**: = "DUP7" + +*Defined in [index.ts:242](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L242)* + +___ + +### Dup8 + +• **Dup8**: = "DUP8" + +*Defined in [index.ts:243](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L243)* + +___ + +### Dup9 + +• **Dup9**: = "DUP9" + +*Defined in [index.ts:244](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L244)* + +___ + +### Eq + +• **Eq**: = "EQ" + +*Defined in [index.ts:157](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L157)* + +___ + +### Exp + +• **Exp**: = "EXP" + +*Defined in [index.ts:150](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L150)* + +___ + +### ExtCodeCopy + +• **ExtCodeCopy**: = "EXTCODECOPY" + +*Defined in [index.ts:179](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L179)* + +___ + +### ExtCodeSize + +• **ExtCodeSize**: = "EXTCODESIZE" + +*Defined in [index.ts:178](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L178)* + +___ + +### Gas + +• **Gas**: = "GAS" + +*Defined in [index.ts:200](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L200)* + +___ + +### GasPrice + +• **GasPrice**: = "GASPRICE" + +*Defined in [index.ts:177](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L177)* + +___ + +### Gaslimit + +• **Gaslimit**: = "GASLIMIT" + +*Defined in [index.ts:188](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L188)* + +___ + +### Gt + +• **Gt**: = "GT" + +*Defined in [index.ts:154](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L154)* + +___ + +### Invalid + +• **Invalid**: = "INVALID" + +*Defined in [index.ts:282](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L282)* + +___ + +### IsZero + +• **IsZero**: = "ISZERO" + +*Defined in [index.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L158)* + +___ + +### Jump + +• **Jump**: = "JUMP" + +*Defined in [index.ts:196](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L196)* + +___ + +### JumpDest + +• **JumpDest**: = "JUMPDEST" + +*Defined in [index.ts:201](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L201)* + +___ + +### Jumpi + +• **Jumpi**: = "JUMPI" + +*Defined in [index.ts:197](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L197)* + +___ + +### Log1 + +• **Log1**: = "LOG1" + +*Defined in [index.ts:270](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L270)* + +___ + +### Log2 + +• **Log2**: = "LOG2" + +*Defined in [index.ts:271](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L271)* + +___ + +### Log3 + +• **Log3**: = "LOG3" + +*Defined in [index.ts:272](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L272)* + +___ + +### Log4 + +• **Log4**: = "LOG4" + +*Defined in [index.ts:273](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L273)* + +___ + +### Lt + +• **Lt**: = "LT" + +*Defined in [index.ts:153](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L153)* + +___ + +### MLoad + +• **MLoad**: = "MLOAD" + +*Defined in [index.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L191)* + +___ + +### MSize + +• **MSize**: = "MSIZE" + +*Defined in [index.ts:199](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L199)* + +___ + +### MStore + +• **MStore**: = "MSTORE" + +*Defined in [index.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L192)* + +___ + +### MStore8 + +• **MStore8**: = "MSTORE8" + +*Defined in [index.ts:193](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L193)* + +___ + +### Mod + +• **Mod**: = "MOD" + +*Defined in [index.ts:146](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L146)* + +___ + +### Mul + +• **Mul**: = "MUL" + +*Defined in [index.ts:142](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L142)* + +___ + +### MulMod + +• **MulMod**: = "MULMOD" + +*Defined in [index.ts:149](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L149)* + +___ + +### Not + +• **Not**: = "NOT" + +*Defined in [index.ts:162](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L162)* + +___ + +### Number + +• **Number**: = "NUMBER" + +*Defined in [index.ts:186](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L186)* + +___ + +### Or + +• **Or**: = "OR" + +*Defined in [index.ts:160](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L160)* + +___ + +### Origin + +• **Origin**: = "ORIGIN" + +*Defined in [index.ts:169](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L169)* + +___ + +### Pc + +• **Pc**: = "PC" + +*Defined in [index.ts:198](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L198)* + +___ + +### Pop + +• **Pop**: = "POP" + +*Defined in [index.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L190)* + +___ + +### Push1 + +• **Push1**: = "PUSH1" + +*Defined in [index.ts:203](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L203)* + +___ + +### Push10 + +• **Push10**: = "PUSH10" + +*Defined in [index.ts:212](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L212)* + +___ + +### Push11 + +• **Push11**: = "PUSH11" + +*Defined in [index.ts:213](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L213)* + +___ + +### Push12 + +• **Push12**: = "PUSH12" + +*Defined in [index.ts:214](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L214)* + +___ + +### Push13 + +• **Push13**: = "PUSH13" + +*Defined in [index.ts:215](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L215)* + +___ + +### Push14 + +• **Push14**: = "PUSH14" + +*Defined in [index.ts:216](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L216)* + +___ + +### Push15 + +• **Push15**: = "PUSH15" + +*Defined in [index.ts:217](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L217)* + +___ + +### Push16 + +• **Push16**: = "PUSH16" + +*Defined in [index.ts:218](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L218)* + +___ + +### Push17 + +• **Push17**: = "PUSH17" + +*Defined in [index.ts:219](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L219)* + +___ + +### Push18 + +• **Push18**: = "PUSH18" + +*Defined in [index.ts:220](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L220)* + +___ + +### Push19 + +• **Push19**: = "PUSH19" + +*Defined in [index.ts:221](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L221)* + +___ + +### Push2 + +• **Push2**: = "PUSH2" + +*Defined in [index.ts:204](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L204)* + +___ + +### Push20 + +• **Push20**: = "PUSH20" + +*Defined in [index.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L222)* + +___ + +### Push21 + +• **Push21**: = "PUSH21" + +*Defined in [index.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L223)* + +___ + +### Push22 + +• **Push22**: = "PUSH22" + +*Defined in [index.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L224)* + +___ + +### Push23 + +• **Push23**: = "PUSH23" + +*Defined in [index.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L225)* + +___ + +### Push24 + +• **Push24**: = "PUSH24" + +*Defined in [index.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L226)* + +___ + +### Push25 + +• **Push25**: = "PUSH25" + +*Defined in [index.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L227)* + +___ + +### Push26 + +• **Push26**: = "PUSH26" + +*Defined in [index.ts:228](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L228)* + +___ + +### Push27 + +• **Push27**: = "PUSH27" + +*Defined in [index.ts:229](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L229)* + +___ + +### Push28 + +• **Push28**: = "PUSH28" + +*Defined in [index.ts:230](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L230)* + +___ + +### Push29 + +• **Push29**: = "PUSH29" + +*Defined in [index.ts:231](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L231)* + +___ + +### Push3 + +• **Push3**: = "PUSH3" + +*Defined in [index.ts:205](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L205)* + +___ + +### Push30 + +• **Push30**: = "PUSH30" + +*Defined in [index.ts:232](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L232)* + +___ + +### Push31 + +• **Push31**: = "PUSH31" + +*Defined in [index.ts:233](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L233)* + +___ + +### Push32 + +• **Push32**: = "PUSH32" + +*Defined in [index.ts:234](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L234)* + +___ + +### Push4 + +• **Push4**: = "PUSH4" + +*Defined in [index.ts:206](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L206)* + +___ + +### Push5 + +• **Push5**: = "PUSH5" + +*Defined in [index.ts:207](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L207)* + +___ + +### Push6 + +• **Push6**: = "PUSH6" + +*Defined in [index.ts:208](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L208)* + +___ + +### Push7 + +• **Push7**: = "PUSH7" + +*Defined in [index.ts:209](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L209)* + +___ + +### Push8 + +• **Push8**: = "PUSH8" + +*Defined in [index.ts:210](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L210)* + +___ + +### Push9 + +• **Push9**: = "PUSH9" + +*Defined in [index.ts:211](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L211)* + +___ + +### Return + +• **Return**: = "RETURN" + +*Defined in [index.ts:278](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L278)* + +___ + +### ReturnDataCopy + +• **ReturnDataCopy**: = "RETURNDATACOPY" + +*Defined in [index.ts:181](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L181)* + +___ + +### ReturnDataSize + +• **ReturnDataSize**: = "RETURNDATASIZE" + +*Defined in [index.ts:180](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L180)* + +___ + +### Revert + +• **Revert**: = "REVERT" + +*Defined in [index.ts:281](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L281)* + +___ + +### SDiv + +• **SDiv**: = "SDIV" + +*Defined in [index.ts:145](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L145)* + +___ + +### SGt + +• **SGt**: = "SGT" + +*Defined in [index.ts:156](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L156)* + +___ + +### SLoad + +• **SLoad**: = "SLOAD" + +*Defined in [index.ts:194](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L194)* + +___ + +### SLt + +• **SLt**: = "SLT" + +*Defined in [index.ts:155](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L155)* + +___ + +### SMod + +• **SMod**: = "SMOD" + +*Defined in [index.ts:147](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L147)* + +___ + +### SStore + +• **SStore**: = "SSTORE" + +*Defined in [index.ts:195](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L195)* + +___ + +### SelfDestruct + +• **SelfDestruct**: = "SELFDESTRUCT" + +*Defined in [index.ts:283](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L283)* + +___ + +### Sha3 + +• **Sha3**: = "SHA3" + +*Defined in [index.ts:165](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L165)* + +___ + +### SignExtend + +• **SignExtend**: = "SIGNEXTEND" + +*Defined in [index.ts:151](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L151)* + +___ + +### StaticCall + +• **StaticCall**: = "STATICCALL" + +*Defined in [index.ts:280](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L280)* + +___ + +### Stop + +• **Stop**: = "STOP" + +*Defined in [index.ts:140](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L140)* + +___ + +### Sub + +• **Sub**: = "SUB" + +*Defined in [index.ts:143](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L143)* + +___ + +### Swap1 + +• **Swap1**: = "SWAP1" + +*Defined in [index.ts:253](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L253)* + +___ + +### Swap10 + +• **Swap10**: = "SWAP10" + +*Defined in [index.ts:262](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L262)* + +___ + +### Swap11 + +• **Swap11**: = "SWAP11" + +*Defined in [index.ts:263](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L263)* + +___ + +### Swap12 + +• **Swap12**: = "SWAP12" + +*Defined in [index.ts:264](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L264)* + +___ + +### Swap13 + +• **Swap13**: = "SWAP13" + +*Defined in [index.ts:265](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L265)* + +___ + +### Swap14 + +• **Swap14**: = "SWAP14" + +*Defined in [index.ts:266](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L266)* + +___ + +### Swap15 + +• **Swap15**: = "SWAP15" + +*Defined in [index.ts:267](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L267)* + +___ + +### Swap16 + +• **Swap16**: = "SWAP16" + +*Defined in [index.ts:268](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L268)* + +___ + +### Swap2 + +• **Swap2**: = "SWAP2" + +*Defined in [index.ts:254](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L254)* + +___ + +### Swap3 + +• **Swap3**: = "SWAP3" + +*Defined in [index.ts:255](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L255)* + +___ + +### Swap4 + +• **Swap4**: = "SWAP4" + +*Defined in [index.ts:256](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L256)* + +___ + +### Swap5 + +• **Swap5**: = "SWAP5" + +*Defined in [index.ts:257](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L257)* + +___ + +### Swap6 + +• **Swap6**: = "SWAP6" + +*Defined in [index.ts:258](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L258)* + +___ + +### Swap7 + +• **Swap7**: = "SWAP7" + +*Defined in [index.ts:259](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L259)* + +___ + +### Swap8 + +• **Swap8**: = "SWAP8" + +*Defined in [index.ts:260](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L260)* + +___ + +### Swap9 + +• **Swap9**: = "SWAP9" + +*Defined in [index.ts:261](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L261)* + +___ + +### TimeStamp + +• **TimeStamp**: = "TimeStamp" + +*Defined in [index.ts:185](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L185)* + +___ + +### Xor + +• **Xor**: = "XOR" + +*Defined in [index.ts:161](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L161)* + +
+ +> # Enumeration: SolidityTypes + +## Index + +### Enumeration members + +* [Address](#address) +* [Bool](#bool) +* [Bytes](#bytes) +* [Int](#int) +* [String](#string) +* [Tuple](#tuple) +* [Uint](#uint) +* [Uint256](#uint256) +* [Uint8](#uint8) + +## Enumeration members + +### Address + +• **Address**: = "address" + +*Defined in [index.ts:489](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L489)* + +___ + +### Bool + +• **Bool**: = "bool" + +*Defined in [index.ts:490](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L490)* + +___ + +### Bytes + +• **Bytes**: = "bytes" + +*Defined in [index.ts:491](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L491)* + +___ + +### Int + +• **Int**: = "int" + +*Defined in [index.ts:492](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L492)* + +___ + +### String + +• **String**: = "string" + +*Defined in [index.ts:493](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L493)* + +___ + +### Tuple + +• **Tuple**: = "tuple" + +*Defined in [index.ts:494](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L494)* + +___ + +### Uint + +• **Uint**: = "uint" + +*Defined in [index.ts:497](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L497)* + +___ + +### Uint256 + +• **Uint256**: = "uint256" + +*Defined in [index.ts:495](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L495)* + +___ + +### Uint8 + +• **Uint8**: = "uint8" + +*Defined in [index.ts:496](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L496)* + +
+ +> # Interface: AbstractBlock + +## Hierarchy + +* **AbstractBlock** + + * [BlockWithoutTransactionData](#class-blockwithouttransactiondata) + + * [BlockWithTransactionData](#class-blockwithtransactiondata) + +## Index + +### Properties + +* [difficulty](#difficulty) +* [extraData](#extradata) +* [gasLimit](#gaslimit) +* [gasUsed](#gasused) +* [hash](#hash) +* [logsBloom](#logsbloom) +* [miner](#miner) +* [nonce](#nonce) +* [number](#number) +* [parentHash](#parenthash) +* [sha3Uncles](#sha3uncles) +* [size](#size) +* [stateRoot](#stateroot) +* [timestamp](#timestamp) +* [totalDifficulty](#totaldifficulty) +* [transactionsRoot](#transactionsroot) +* [uncles](#uncles) + +## Properties + +### difficulty + +• **difficulty**: *`BigNumber`* + +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L350)* + +___ + +### extraData + +• **extraData**: *string* + +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L352)* + +___ + +### gasLimit + +• **gasLimit**: *number* + +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L354)* + +___ + +### gasUsed + +• **gasUsed**: *number* + +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L355)* + +___ + +### hash + +• **hash**: *string | null* + +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L342)* + +___ + +### logsBloom + +• **logsBloom**: *string | null* + +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L346)* + +___ + +### miner + +• **miner**: *string* + +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L349)* + +___ + +### nonce + +• **nonce**: *string | null* + +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L344)* + +___ + +### number + +• **number**: *number | null* + +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L341)* + +___ + +### parentHash + +• **parentHash**: *string* + +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L343)* + +___ + +### sha3Uncles + +• **sha3Uncles**: *string* + +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L345)* + +___ + +### size + +• **size**: *number* + +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L353)* + +___ + +### stateRoot + +• **stateRoot**: *string* + +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L348)* + +___ + +### timestamp + +• **timestamp**: *number* + +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L356)* + +___ + +### totalDifficulty + +• **totalDifficulty**: *`BigNumber`* + +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L351)* + +___ + +### transactionsRoot + +• **transactionsRoot**: *string* + +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L347)* + +___ + +### uncles + +• **uncles**: *string[]* + +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L357)* + +
+ +> # Interface: BlockWithoutTransactionData + +## Hierarchy + +* [AbstractBlock](#class-abstractblock) + + * **BlockWithoutTransactionData** + +## Index + +### Properties + +* [difficulty](#difficulty) +* [extraData](#extradata) +* [gasLimit](#gaslimit) +* [gasUsed](#gasused) +* [hash](#hash) +* [logsBloom](#logsbloom) +* [miner](#miner) +* [nonce](#nonce) +* [number](#number) +* [parentHash](#parenthash) +* [sha3Uncles](#sha3uncles) +* [size](#size) +* [stateRoot](#stateroot) +* [timestamp](#timestamp) +* [totalDifficulty](#totaldifficulty) +* [transactions](#transactions) +* [transactionsRoot](#transactionsroot) +* [uncles](#uncles) + +## Properties + +### difficulty + +• **difficulty**: *`BigNumber`* + +*Inherited from [AbstractBlock](#difficulty)* + +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L350)* + +___ + +### extraData + +• **extraData**: *string* + +*Inherited from [AbstractBlock](#extradata)* + +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L352)* + +___ + +### gasLimit + +• **gasLimit**: *number* + +*Inherited from [AbstractBlock](#gaslimit)* + +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L354)* + +___ + +### gasUsed + +• **gasUsed**: *number* + +*Inherited from [AbstractBlock](#gasused)* + +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L355)* + +___ + +### hash + +• **hash**: *string | null* + +*Inherited from [AbstractBlock](#hash)* + +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L342)* + +___ + +### logsBloom + +• **logsBloom**: *string | null* + +*Inherited from [AbstractBlock](#logsbloom)* + +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L346)* + +___ + +### miner + +• **miner**: *string* + +*Inherited from [AbstractBlock](#miner)* + +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L349)* + +___ + +### nonce + +• **nonce**: *string | null* + +*Inherited from [AbstractBlock](#nonce)* + +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L344)* + +___ + +### number + +• **number**: *number | null* + +*Inherited from [AbstractBlock](#number)* + +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L341)* + +___ + +### parentHash + +• **parentHash**: *string* + +*Inherited from [AbstractBlock](#parenthash)* + +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L343)* + +___ + +### sha3Uncles + +• **sha3Uncles**: *string* + +*Inherited from [AbstractBlock](#sha3uncles)* + +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L345)* + +___ + +### size + +• **size**: *number* + +*Inherited from [AbstractBlock](#size)* + +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L353)* + +___ + +### stateRoot + +• **stateRoot**: *string* + +*Inherited from [AbstractBlock](#stateroot)* + +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L348)* + +___ + +### timestamp + +• **timestamp**: *number* + +*Inherited from [AbstractBlock](#timestamp)* + +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L356)* + +___ + +### totalDifficulty + +• **totalDifficulty**: *`BigNumber`* + +*Inherited from [AbstractBlock](#totaldifficulty)* + +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L351)* + +___ + +### transactions + +• **transactions**: *string[]* + +*Defined in [index.ts:361](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L361)* + +___ + +### transactionsRoot + +• **transactionsRoot**: *string* + +*Inherited from [AbstractBlock](#transactionsroot)* + +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L347)* + +___ + +### uncles + +• **uncles**: *string[]* + +*Inherited from [AbstractBlock](#uncles)* + +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L357)* + +
+ +> # Interface: BlockWithTransactionData + +## Hierarchy + +* [AbstractBlock](#class-abstractblock) + + * **BlockWithTransactionData** + +## Index + +### Properties + +* [difficulty](#difficulty) +* [extraData](#extradata) +* [gasLimit](#gaslimit) +* [gasUsed](#gasused) +* [hash](#hash) +* [logsBloom](#logsbloom) +* [miner](#miner) +* [nonce](#nonce) +* [number](#number) +* [parentHash](#parenthash) +* [sha3Uncles](#sha3uncles) +* [size](#size) +* [stateRoot](#stateroot) +* [timestamp](#timestamp) +* [totalDifficulty](#totaldifficulty) +* [transactions](#transactions) +* [transactionsRoot](#transactionsroot) +* [uncles](#uncles) + +## Properties + +### difficulty + +• **difficulty**: *`BigNumber`* + +*Inherited from [AbstractBlock](#difficulty)* + +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L350)* + +___ + +### extraData + +• **extraData**: *string* + +*Inherited from [AbstractBlock](#extradata)* + +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L352)* + +___ + +### gasLimit + +• **gasLimit**: *number* + +*Inherited from [AbstractBlock](#gaslimit)* + +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L354)* + +___ + +### gasUsed + +• **gasUsed**: *number* + +*Inherited from [AbstractBlock](#gasused)* + +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L355)* + +___ + +### hash + +• **hash**: *string | null* + +*Inherited from [AbstractBlock](#hash)* + +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L342)* + +___ + +### logsBloom + +• **logsBloom**: *string | null* + +*Inherited from [AbstractBlock](#logsbloom)* + +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L346)* + +___ + +### miner + +• **miner**: *string* + +*Inherited from [AbstractBlock](#miner)* + +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L349)* + +___ + +### nonce + +• **nonce**: *string | null* + +*Inherited from [AbstractBlock](#nonce)* + +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L344)* + +___ + +### number + +• **number**: *number | null* + +*Inherited from [AbstractBlock](#number)* + +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L341)* + +___ + +### parentHash + +• **parentHash**: *string* + +*Inherited from [AbstractBlock](#parenthash)* + +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L343)* + +___ + +### sha3Uncles + +• **sha3Uncles**: *string* + +*Inherited from [AbstractBlock](#sha3uncles)* + +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L345)* + +___ + +### size + +• **size**: *number* + +*Inherited from [AbstractBlock](#size)* + +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L353)* + +___ + +### stateRoot + +• **stateRoot**: *string* + +*Inherited from [AbstractBlock](#stateroot)* + +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L348)* + +___ + +### timestamp + +• **timestamp**: *number* + +*Inherited from [AbstractBlock](#timestamp)* + +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L356)* + +___ + +### totalDifficulty + +• **totalDifficulty**: *`BigNumber`* + +*Inherited from [AbstractBlock](#totaldifficulty)* + +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L351)* + +___ + +### transactions + +• **transactions**: *[Transaction](#class-transaction)[]* + +*Defined in [index.ts:365](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L365)* + +___ + +### transactionsRoot + +• **transactionsRoot**: *string* + +*Inherited from [AbstractBlock](#transactionsroot)* + +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L347)* + +___ + +### uncles + +• **uncles**: *string[]* + +*Inherited from [AbstractBlock](#uncles)* + +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L357)* + +
+ +> # Interface: CallData + +## Hierarchy + +* [CallTxDataBase](#class-calltxdatabase) + + * **CallData** + +## Index + +### Properties + +* [data](#optional-data) +* [from](#optional-from) +* [gas](#optional-gas) +* [gasPrice](#optional-gasprice) +* [nonce](#optional-nonce) +* [to](#optional-to) +* [value](#optional-value) + +## Properties + +### `Optional` data + +• **data**? : *undefined | string* + +*Inherited from [CallTxDataBase](#optional-data)* + +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L387)* + +___ + +### `Optional` from + +• **from**? : *undefined | string* + +*Defined in [index.ts:396](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L396)* + +___ + +### `Optional` gas + +• **gas**? : *number | string | `BigNumber`* + +*Inherited from [CallTxDataBase](#optional-gas)* + +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L385)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *number | string | `BigNumber`* + +*Inherited from [CallTxDataBase](#optional-gasprice)* + +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L386)* + +___ + +### `Optional` nonce + +• **nonce**? : *undefined | number* + +*Inherited from [CallTxDataBase](#optional-nonce)* + +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L388)* + +___ + +### `Optional` to + +• **to**? : *undefined | string* + +*Inherited from [CallTxDataBase](#optional-to)* + +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L383)* + +___ + +### `Optional` value + +• **value**? : *number | string | `BigNumber`* + +*Inherited from [CallTxDataBase](#optional-value)* + +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L384)* + +
+ +> # Interface: CallTxDataBase + +## Hierarchy + +* **CallTxDataBase** + + * [TxData](#class-txdata) + + * [CallData](#class-calldata) + +## Index + +### Properties + +* [data](#optional-data) +* [gas](#optional-gas) +* [gasPrice](#optional-gasprice) +* [nonce](#optional-nonce) +* [to](#optional-to) +* [value](#optional-value) + +## Properties + +### `Optional` data + +• **data**? : *undefined | string* + +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L387)* + +___ + +### `Optional` gas + +• **gas**? : *number | string | `BigNumber`* + +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L385)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *number | string | `BigNumber`* + +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L386)* + +___ + +### `Optional` nonce + +• **nonce**? : *undefined | number* + +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L388)* + +___ + +### `Optional` to + +• **to**? : *undefined | string* + +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L383)* + +___ + +### `Optional` value + +• **value**? : *number | string | `BigNumber`* + +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L384)* + +
+ +> # Interface: CompilerOptions + +Options you can specify (as flags or in a compiler.json file) when invoking sol-compiler +contractsDir: Directory containing your project's Solidity contracts. Can contain nested directories. +artifactsDir: Directory where you want the generated artifacts.json written to +compilerSettings: Desired settings to pass to the Solidity compiler during compilation. +(http://solidity.readthedocs.io/en/v0.4.24/using-the-compiler.html#compiler-input-and-output-json-description) +contracts: List of contract names you wish to compile, or alternatively ['*'] to compile all contracts in the +specified directory. +useDockerisedSolc: If set to true - sol-compiler will try calling a dockerized installations of solc to achieve faster compilation times. Otherwise and by default - solcjs will be used. Defaults to false. +isOfflineMode: If set to true - sol-compiler will not fetch the list of solc releases from github. It will use the hardcoded list. Defaults to false. +solcVersion: If you don't want to compile each contract with the Solidity version specified in-file, you can force all +contracts to compile with the the version specified here. + +## Hierarchy + +* **CompilerOptions** + +## Index + +### Properties + +* [artifactsDir](#optional-artifactsdir) +* [compilerSettings](#optional-compilersettings) +* [contracts](#optional-contracts) +* [contractsDir](#optional-contractsdir) +* [isOfflineMode](#optional-isofflinemode) +* [solcVersion](#optional-solcversion) +* [useDockerisedSolc](#optional-usedockerisedsolc) + +## Properties + +### `Optional` artifactsDir + +• **artifactsDir**? : *undefined | string* + +*Defined in [index.ts:723](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L723)* + +___ + +### `Optional` compilerSettings + +• **compilerSettings**? : *[CompilerSettings](#class-compilersettings)* + +*Defined in [index.ts:724](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L724)* + +___ + +### `Optional` contracts + +• **contracts**? : *string[] | "*"* + +*Defined in [index.ts:725](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L725)* + +___ + +### `Optional` contractsDir + +• **contractsDir**? : *undefined | string* + +*Defined in [index.ts:722](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L722)* + +___ + +### `Optional` isOfflineMode + +• **isOfflineMode**? : *undefined | false | true* + +*Defined in [index.ts:727](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L727)* + +___ + +### `Optional` solcVersion + +• **solcVersion**? : *undefined | string* + +*Defined in [index.ts:728](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L728)* + +___ + +### `Optional` useDockerisedSolc + +• **useDockerisedSolc**? : *undefined | false | true* + +*Defined in [index.ts:726](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L726)* + +
+ +> # Interface: CompilerOpts + +## Hierarchy + +* **CompilerOpts** + +## Index + +### Properties + +* [name](#name) +* [settings](#settings) +* [version](#version) + +## Properties + +### name + +• **name**: *"solc"* + +*Defined in [index.ts:647](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L647)* + +___ + +### settings + +• **settings**: *[CompilerSettings](#class-compilersettings)* + +*Defined in [index.ts:649](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L649)* + +___ + +### version + +• **version**: *string* + +*Defined in [index.ts:648](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L648)* + +
+ +> # Interface: CompilerSettings + +## Hierarchy + +* **CompilerSettings** + +## Index + +### Properties + +* [evmVersion](#optional-evmversion) +* [libraries](#optional-libraries) +* [metadata](#optional-metadata) +* [optimizer](#optional-optimizer) +* [outputSelection](#outputselection) +* [remappings](#optional-remappings) + +## Properties + +### `Optional` evmVersion + +• **evmVersion**? : *"homestead" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople"* + +*Defined in [index.ts:681](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L681)* + +___ + +### `Optional` libraries + +• **libraries**? : *undefined | object* + +*Defined in [index.ts:683](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L683)* + +___ + +### `Optional` metadata + +• **metadata**? : *[CompilerSettingsMetadata](#class-compilersettingsmetadata)* + +*Defined in [index.ts:682](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L682)* + +___ + +### `Optional` optimizer + +• **optimizer**? : *[OptimizerSettings](#class-optimizersettings)* + +*Defined in [index.ts:680](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L680)* + +___ + +### outputSelection + +• **outputSelection**: *object* + +*Defined in [index.ts:688](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L688)* + +#### Type declaration: + +● \[▪ **fileName**: *string*\]: object + +● \[▪ **contractName**: *string*\]: [OutputField](#outputfield)[] + +___ + +### `Optional` remappings + +• **remappings**? : *string[]* + +*Defined in [index.ts:679](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L679)* + +
+ +> # Interface: CompilerSettingsMetadata + +## Hierarchy + +* **CompilerSettingsMetadata** + +## Index + +### Properties + +* [useLiteralContent](#useliteralcontent) + +## Properties + +### useLiteralContent + +• **useLiteralContent**: *true* + +*Defined in [index.ts:696](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L696)* + +
+ +> # Interface: ConstructorAbi + +## Hierarchy + +* **ConstructorAbi** + +## Index + +### Properties + +* [inputs](#inputs) +* [payable](#payable) +* [stateMutability](#statemutability) +* [type](#type) + +## Properties + +### inputs + +• **inputs**: *[DataItem](#class-dataitem)[]* + +*Defined in [index.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L103)* + +___ + +### payable + +• **payable**: *boolean* + +*Defined in [index.ts:104](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L104)* + +___ + +### stateMutability + +• **stateMutability**: *[ConstructorStateMutability](#constructorstatemutability)* + +*Defined in [index.ts:105](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L105)* + +___ + +### type + +• **type**: *string* + +*Defined in [index.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L102)* + +
+ +> # Interface: ContractArtifact + +This type defines the schema of the artifact.json file generated by Sol-compiler +schemaVersion: The version of the artifact schema +contractName: The contract name it represents +networks: Network specific information by network (address, id, constructor args, etc...) +compilerOutput: The Solidity compiler output generated from the specified compiler input +description (http://solidity.readthedocs.io/en/v0.4.24/using-the-compiler.html#compiler-input-and-output-json-description) +compiler: The compiler settings used +sourceCodes: The source code of the contract and all it's dependencies +sources: A mapping from source filePath to sourceMap id +sourceTreeHashHex: A unique hash generated from the contract source and that of it's dependencies. +If any of the sources change, the hash would change notifying us that a re-compilation is necessary + +## Hierarchy + +* [ContractVersionData](#class-contractversiondata) + + * **ContractArtifact** + +## Index + +### Properties + +* [compiler](#compiler) +* [compilerOutput](#compileroutput) +* [contractName](#contractname) +* [networks](#networks) +* [schemaVersion](#schemaversion) +* [sourceCodes](#sourcecodes) +* [sourceTreeHashHex](#sourcetreehashhex) +* [sources](#sources) + +## Properties + +### compiler + +• **compiler**: *[CompilerOpts](#class-compileropts)* + +*Inherited from [ContractVersionData](#compiler)* + +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L633)* + +___ + +### compilerOutput + +• **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)* + +*Inherited from [ContractVersionData](#compileroutput)* + +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L643)* + +___ + +### contractName + +• **contractName**: *string* + +*Defined in [index.ts:667](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L667)* + +___ + +### networks + +• **networks**: *[ContractNetworks](#class-contractnetworks)* + +*Defined in [index.ts:668](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L668)* + +___ + +### schemaVersion + +• **schemaVersion**: *string* + +*Defined in [index.ts:666](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L666)* + +___ + +### sourceCodes + +• **sourceCodes**: *object* + +*Inherited from [ContractVersionData](#sourcecodes)* + +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L639)* + +#### Type declaration: + +● \[▪ **sourceName**: *string*\]: string + +___ + +### sourceTreeHashHex + +• **sourceTreeHashHex**: *string* + +*Inherited from [ContractVersionData](#sourcetreehashhex)* + +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L642)* + +___ + +### sources + +• **sources**: *object* + +*Inherited from [ContractVersionData](#sources)* + +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L634)* + +#### Type declaration: + +● \[▪ **sourceName**: *string*\]: object + +
+ +> # Interface: ContractNetworkData + +## Hierarchy + +* **ContractNetworkData** + +## Index + +### Properties + +* [address](#address) +* [constructorArgs](#constructorargs) +* [links](#links) + +## Properties + +### address + +• **address**: *string* + +*Defined in [index.ts:546](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L546)* + +___ + +### constructorArgs + +• **constructorArgs**: *string* + +*Defined in [index.ts:550](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L550)* + +___ + +### links + +• **links**: *object* + +*Defined in [index.ts:547](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L547)* + +#### Type declaration: + +● \[▪ **linkName**: *string*\]: string + +
+ +> # Interface: ContractNetworks + +## Hierarchy + +* **ContractNetworks** + +## Indexable + +● \[▪ **networkId**: *number*\]: [ContractNetworkData](#class-contractnetworkdata) + +
+ +> # Interface: ContractVersionData + +## Hierarchy + +* **ContractVersionData** + + * [ContractArtifact](#class-contractartifact) + +## Index + +### Properties + +* [compiler](#compiler) +* [compilerOutput](#compileroutput) +* [sourceCodes](#sourcecodes) +* [sourceTreeHashHex](#sourcetreehashhex) +* [sources](#sources) + +## Properties + +### compiler + +• **compiler**: *[CompilerOpts](#class-compileropts)* + +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L633)* + +___ + +### compilerOutput + +• **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)* + +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L643)* + +___ + +### sourceCodes + +• **sourceCodes**: *object* + +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L639)* + +#### Type declaration: + +● \[▪ **sourceName**: *string*\]: string + +___ + +### sourceTreeHashHex + +• **sourceTreeHashHex**: *string* + +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L642)* + +___ + +### sources + +• **sources**: *object* + +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L634)* + +#### Type declaration: + +● \[▪ **sourceName**: *string*\]: object + +
+ +> # Interface: DataItem + +## Hierarchy + +* **DataItem** + + * [EventParameter](#class-eventparameter) + + * [TupleDataItem](#class-tupledataitem) + +## Index + +### Properties + +* [components](#optional-components) +* [name](#name) +* [type](#type) + +## Properties + +### `Optional` components + +• **components**? : *[DataItem](#class-dataitem)[]* + +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L131)* + +___ + +### name + +• **name**: *string* + +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L129)* + +___ + +### type + +• **type**: *string* + +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L130)* + +
+ +> # Interface: DecodedLogArgs + +## Hierarchy + +* **DecodedLogArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: [ContractEventArg](#contracteventarg) + +
+ +> # Interface: DecodedLogEntry <**A**> + +## Type parameters + +▪ **A** + +## Hierarchy + +* [LogEntry](#class-logentry) + + * **DecodedLogEntry** + + * [DecodedLogEntryEvent](#class-decodedlogentryevent) + + * [LogWithDecodedArgs](#class-logwithdecodedargs) + +## Index + +### Properties + +* [address](#address) +* [args](#args) +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [data](#data) +* [event](#event) +* [logIndex](#logindex) +* [topics](#topics) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### address + +• **address**: *string* + +*Inherited from [LogEntry](#address)* + +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* + +___ + +### args + +• **args**: *`A`* + +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L411)* + +___ + +### blockHash + +• **blockHash**: *string | null* + +*Inherited from [LogEntry](#blockhash)* + +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* + +___ + +### blockNumber + +• **blockNumber**: *number | null* + +*Inherited from [LogEntry](#blocknumber)* + +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* + +___ + +### data + +• **data**: *string* + +*Inherited from [LogEntry](#data)* + +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* + +___ + +### event + +• **event**: *string* + +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L410)* + +___ + +### logIndex + +• **logIndex**: *number | null* + +*Inherited from [LogEntry](#logindex)* + +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* + +___ + +### topics + +• **topics**: *string[]* + +*Inherited from [LogEntry](#topics)* + +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Inherited from [LogEntry](#transactionhash)* + +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* + +___ + +### transactionIndex + +• **transactionIndex**: *number | null* + +*Inherited from [LogEntry](#transactionindex)* + +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* + +
+ +> # Interface: DecodedLogEntryEvent <**A**> + +## Type parameters + +▪ **A** + +## Hierarchy + + * [DecodedLogEntry](#class-decodedlogentry)‹*`A`*› + + * **DecodedLogEntryEvent** + +## Index + +### Properties + +* [address](#address) +* [args](#args) +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [data](#data) +* [event](#event) +* [logIndex](#logindex) +* [removed](#removed) +* [topics](#topics) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### address + +• **address**: *string* + +*Inherited from [LogEntry](#address)* + +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* + +___ + +### args + +• **args**: *`A`* + +*Inherited from [DecodedLogEntry](#args)* + +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L411)* + +___ + +### blockHash + +• **blockHash**: *string | null* + +*Inherited from [LogEntry](#blockhash)* + +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* + +___ + +### blockNumber + +• **blockNumber**: *number | null* + +*Inherited from [LogEntry](#blocknumber)* + +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* + +___ + +### data + +• **data**: *string* + +*Inherited from [LogEntry](#data)* + +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* + +___ + +### event + +• **event**: *string* + +*Inherited from [DecodedLogEntry](#event)* + +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L410)* + +___ + +### logIndex + +• **logIndex**: *number | null* + +*Inherited from [LogEntry](#logindex)* + +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* + +___ + +### removed + +• **removed**: *boolean* + +*Defined in [index.ts:415](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L415)* + +___ + +### topics + +• **topics**: *string[]* + +*Inherited from [LogEntry](#topics)* + +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Inherited from [LogEntry](#transactionhash)* + +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* + +___ + +### transactionIndex + +• **transactionIndex**: *number | null* + +*Inherited from [LogEntry](#transactionindex)* + +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* + +
+ +> # Interface: DevdocOutput + +## Hierarchy + +* **DevdocOutput** + +## Index + +### Properties + +* [author](#optional-author) +* [methods](#methods) +* [title](#optional-title) + +## Properties + +### `Optional` author + +• **author**? : *undefined | string* + +*Defined in [index.ts:620](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L620)* + +___ + +### methods + +• **methods**: *object* + +*Defined in [index.ts:621](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L621)* + +#### Type declaration: + +● \[▪ **signature**: *string*\]: object + +___ + +### `Optional` title + +• **title**? : *undefined | string* + +*Defined in [index.ts:619](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L619)* + +
+ +> # Interface: EIP1193Provider + +## Hierarchy + +* **EIP1193Provider** + +## Index + +### Properties + +* [isEIP1193](#iseip1193) + +### Methods + +* [on](#on) +* [send](#send) + +## Properties + +### isEIP1193 + +• **isEIP1193**: *boolean* + +*Defined in [index.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L73)* + +## Methods + +### on + +▸ **on**(`event`: [EIP1193Event](#eip1193event), `listener`: function): *this* + +*Defined in [index.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L75)* + +**Parameters:** + +▪ **event**: *[EIP1193Event](#eip1193event)* + +▪ **listener**: *function* + +▸ (`result`: any): *void* + +**Parameters:** + +Name | Type | +------ | ------ | +`result` | any | + +**Returns:** *this* + +___ + +### send + +▸ **send**(`method`: string, `params?`: any[]): *`Promise`* + +*Defined in [index.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L74)* + +**Parameters:** + +Name | Type | +------ | ------ | +`method` | string | +`params?` | any[] | + +**Returns:** *`Promise`* + +
+ +> # Interface: EventAbi + +## Hierarchy + +* **EventAbi** + +## Index + +### Properties + +* [anonymous](#anonymous) +* [inputs](#inputs) +* [name](#name) +* [type](#type) + +## Properties + +### anonymous + +• **anonymous**: *boolean* + +*Defined in [index.ts:125](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L125)* + +___ + +### inputs + +• **inputs**: *[EventParameter](#class-eventparameter)[]* + +*Defined in [index.ts:124](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L124)* + +___ + +### name + +• **name**: *string* + +*Defined in [index.ts:123](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L123)* + +___ + +### type + +• **type**: *string* + +*Defined in [index.ts:122](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L122)* + +
+ +> # Interface: EventParameter + +## Hierarchy + +* [DataItem](#class-dataitem) + + * **EventParameter** + +## Index + +### Properties + +* [components](#optional-components) +* [indexed](#indexed) +* [name](#name) +* [type](#type) + +## Properties + +### `Optional` components + +• **components**? : *[DataItem](#class-dataitem)[]* + +*Inherited from [DataItem](#optional-components)* + +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L131)* + +___ + +### indexed + +• **indexed**: *boolean* + +*Defined in [index.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L116)* + +___ + +### name + +• **name**: *string* + +*Inherited from [DataItem](#name)* + +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L129)* + +___ + +### type + +• **type**: *string* + +*Inherited from [DataItem](#type)* + +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L130)* + +
+ +> # Interface: EvmBytecodeOutput + +## Hierarchy + +* **EvmBytecodeOutput** + +## Index + +### Properties + +* [object](#object) +* [sourceMap](#sourcemap) + +## Properties + +### object + +• **object**: *string* + +*Defined in [index.ts:614](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L614)* + +___ + +### sourceMap + +• **sourceMap**: *string* + +*Defined in [index.ts:615](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L615)* + +
+ +> # Interface: EvmOutput + +## Hierarchy + +* **EvmOutput** + +## Index + +### Properties + +* [bytecode](#bytecode) +* [deployedBytecode](#deployedbytecode) + +## Properties + +### bytecode + +• **bytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* + +*Defined in [index.ts:609](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L609)* + +___ + +### deployedBytecode + +• **deployedBytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* + +*Defined in [index.ts:610](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L610)* + +
+ +> # Interface: FallbackAbi + +## Hierarchy + +* **FallbackAbi** + +## Index + +### Properties + +* [payable](#payable) +* [type](#type) + +## Properties + +### payable + +• **payable**: *boolean* + +*Defined in [index.ts:112](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L112)* + +___ + +### type + +• **type**: *string* + +*Defined in [index.ts:111](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L111)* + +
+ +> # Interface: FilterObject + +## Hierarchy + +* **FilterObject** + +## Index + +### Properties + +* [address](#optional-address) +* [blockHash](#optional-blockhash) +* [fromBlock](#optional-fromblock) +* [toBlock](#optional-toblock) +* [topics](#optional-topics) + +## Properties + +### `Optional` address + +• **address**? : *undefined | string* + +*Defined in [index.ts:403](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L403)* + +___ + +### `Optional` blockHash + +• **blockHash**? : *undefined | string* + +*Defined in [index.ts:402](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L402)* + +___ + +### `Optional` fromBlock + +• **fromBlock**? : *number | string* + +*Defined in [index.ts:400](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L400)* + +___ + +### `Optional` toBlock + +• **toBlock**? : *number | string* + +*Defined in [index.ts:401](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L401)* + +___ + +### `Optional` topics + +• **topics**? : *[LogTopic](#logtopic)[]* + +*Defined in [index.ts:404](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L404)* + +
+ +> # Interface: GanacheProvider + +## Hierarchy + +* **GanacheProvider** + +## Index + +### Methods + +* [sendAsync](#sendasync) + +## Methods + +### sendAsync + +▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* + +*Defined in [index.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L14)* + +**Parameters:** + +Name | Type | +------ | ------ | +`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) | +`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) | + +**Returns:** *void* + +
+ +> # Interface: GeneratedCompilerOptions + +## Hierarchy + +* **GeneratedCompilerOptions** + +## Index + +### Properties + +* [name](#name) +* [settings](#settings) +* [version](#version) + +## Properties + +### name + +• **name**: *"solc"* + +*Defined in [index.ts:672](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L672)* + +___ + +### settings + +• **settings**: *[CompilerSettings](#class-compilersettings)* + +*Defined in [index.ts:674](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L674)* + +___ + +### version + +• **version**: *string* + +*Defined in [index.ts:673](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L673)* + +
+ +> # Interface: JSONRPCRequestPayload + +## Hierarchy + +* **JSONRPCRequestPayload** + +## Index + +### Properties + +* [id](#id) +* [jsonrpc](#jsonrpc) +* [method](#method) +* [params](#params) + +## Properties + +### id + +• **id**: *number* + +*Defined in [index.ts:324](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L324)* + +___ + +### jsonrpc + +• **jsonrpc**: *string* + +*Defined in [index.ts:325](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L325)* + +___ + +### method + +• **method**: *string* + +*Defined in [index.ts:323](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L323)* + +___ + +### params + +• **params**: *any[]* + +*Defined in [index.ts:322](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L322)* + +
+ +> # Interface: JSONRPCResponseError + +## Hierarchy + +* **JSONRPCResponseError** + +## Index + +### Properties + +* [code](#code) +* [message](#message) + +## Properties + +### code + +• **code**: *number* + +*Defined in [index.ts:330](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L330)* + +___ + +### message + +• **message**: *string* + +*Defined in [index.ts:329](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L329)* + +
+ +> # Interface: JSONRPCResponsePayload + +## Hierarchy + +* **JSONRPCResponsePayload** + +## Index + +### Properties + +* [error](#optional-error) +* [id](#id) +* [jsonrpc](#jsonrpc) +* [result](#result) + +## Properties + +### `Optional` error + +• **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)* + +*Defined in [index.ts:337](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L337)* + +___ + +### id + +• **id**: *number* + +*Defined in [index.ts:335](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L335)* + +___ + +### jsonrpc + +• **jsonrpc**: *string* + +*Defined in [index.ts:336](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L336)* + +___ + +### result + +• **result**: *any* + +*Defined in [index.ts:334](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L334)* + +
+ +> # Interface: LogEntry + +## Hierarchy + +* **LogEntry** + + * [DecodedLogEntry](#class-decodedlogentry) + + * [LogEntryEvent](#class-logentryevent) + +## Index + +### Properties + +* [address](#address) +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [data](#data) +* [logIndex](#logindex) +* [topics](#topics) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### address + +• **address**: *string* + +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* + +___ + +### blockHash + +• **blockHash**: *string | null* + +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* + +___ + +### blockNumber + +• **blockNumber**: *number | null* + +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* + +___ + +### data + +• **data**: *string* + +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* + +___ + +### logIndex + +• **logIndex**: *number | null* + +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* + +___ + +### topics + +• **topics**: *string[]* + +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* + +___ + +### transactionIndex + +• **transactionIndex**: *number | null* + +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* + +
+ +> # Interface: LogEntryEvent + +## Hierarchy + +* [LogEntry](#class-logentry) + + * **LogEntryEvent** + +## Index + +### Properties + +* [address](#address) +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [data](#data) +* [logIndex](#logindex) +* [removed](#removed) +* [topics](#topics) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### address + +• **address**: *string* + +*Inherited from [LogEntry](#address)* + +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* + +___ + +### blockHash + +• **blockHash**: *string | null* + +*Inherited from [LogEntry](#blockhash)* + +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* + +___ + +### blockNumber + +• **blockNumber**: *number | null* + +*Inherited from [LogEntry](#blocknumber)* + +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* + +___ + +### data + +• **data**: *string* + +*Inherited from [LogEntry](#data)* + +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* + +___ + +### logIndex + +• **logIndex**: *number | null* + +*Inherited from [LogEntry](#logindex)* + +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* + +___ + +### removed + +• **removed**: *boolean* + +*Defined in [index.ts:419](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L419)* + +___ + +### topics + +• **topics**: *string[]* + +*Inherited from [LogEntry](#topics)* + +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Inherited from [LogEntry](#transactionhash)* + +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* + +___ + +### transactionIndex + +• **transactionIndex**: *number | null* + +*Inherited from [LogEntry](#transactionindex)* + +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* + +
+ +> # Interface: LogWithDecodedArgs <**ArgsType**> + +## Type parameters + +▪ **ArgsType**: *[DecodedLogArgs](#class-decodedlogargs)* + +## Hierarchy + + * [DecodedLogEntry](#class-decodedlogentry)‹*`ArgsType`*› + + * **LogWithDecodedArgs** + +## Index + +### Properties + +* [address](#address) +* [args](#args) +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [data](#data) +* [event](#event) +* [logIndex](#logindex) +* [topics](#topics) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### address + +• **address**: *string* + +*Inherited from [LogEntry](#address)* + +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* + +___ + +### args + +• **args**: *`ArgsType`* + +*Inherited from [DecodedLogEntry](#args)* + +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L411)* + +___ + +### blockHash + +• **blockHash**: *string | null* + +*Inherited from [LogEntry](#blockhash)* + +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* + +___ + +### blockNumber + +• **blockNumber**: *number | null* + +*Inherited from [LogEntry](#blocknumber)* + +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* + +___ + +### data + +• **data**: *string* + +*Inherited from [LogEntry](#data)* + +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* + +___ + +### event + +• **event**: *string* + +*Inherited from [DecodedLogEntry](#event)* + +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L410)* + +___ + +### logIndex + +• **logIndex**: *number | null* + +*Inherited from [LogEntry](#logindex)* + +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* + +___ + +### topics + +• **topics**: *string[]* + +*Inherited from [LogEntry](#topics)* + +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Inherited from [LogEntry](#transactionhash)* + +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* + +___ + +### transactionIndex + +• **transactionIndex**: *number | null* + +*Inherited from [LogEntry](#transactionindex)* + +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* + +
+ +> # Interface: MethodAbi + +## Hierarchy + +* **MethodAbi** + +## Index + +### Properties + +* [constant](#constant) +* [inputs](#inputs) +* [name](#name) +* [outputs](#outputs) +* [payable](#payable) +* [stateMutability](#statemutability) +* [type](#type) + +## Properties + +### constant + +• **constant**: *boolean* + +*Defined in [index.ts:94](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L94)* + +___ + +### inputs + +• **inputs**: *[DataItem](#class-dataitem)[]* + +*Defined in [index.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L92)* + +___ + +### name + +• **name**: *string* + +*Defined in [index.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L91)* + +___ + +### outputs + +• **outputs**: *[DataItem](#class-dataitem)[]* + +*Defined in [index.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L93)* + +___ + +### payable + +• **payable**: *boolean* + +*Defined in [index.ts:96](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L96)* + +___ + +### stateMutability + +• **stateMutability**: *[StateMutability](#statemutability)* + +*Defined in [index.ts:95](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L95)* + +___ + +### type + +• **type**: *string* + +*Defined in [index.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L90)* + +
+ +> # Interface: OptimizerSettings + +## Hierarchy + +* **OptimizerSettings** + +## Index + +### Properties + +* [enabled](#enabled) +* [runs](#optional-runs) + +## Properties + +### enabled + +• **enabled**: *boolean* + +*Defined in [index.ts:700](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L700)* + +___ + +### `Optional` runs + +• **runs**? : *undefined | number* + +*Defined in [index.ts:701](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L701)* + +
+ +> # Interface: Provider + +## Hierarchy + +* **Provider** + +## Index + +### Methods + +* [sendAsync](#sendasync) + +## Methods + +### sendAsync + +▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* + +*Defined in [index.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L20)* + +**Parameters:** + +Name | Type | +------ | ------ | +`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) | +`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) | + +**Returns:** *void* + +
+ +> # Interface: RawLogEntry + +## Hierarchy + +* **RawLogEntry** + +## Index + +### Properties + +* [address](#address) +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [data](#data) +* [logIndex](#logindex) +* [topics](#topics) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### address + +• **address**: *string* + +*Defined in [index.ts:483](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L483)* + +___ + +### blockHash + +• **blockHash**: *string | null* + +*Defined in [index.ts:481](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L481)* + +___ + +### blockNumber + +• **blockNumber**: *string | null* + +*Defined in [index.ts:482](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L482)* + +___ + +### data + +• **data**: *string* + +*Defined in [index.ts:484](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L484)* + +___ + +### logIndex + +• **logIndex**: *string | null* + +*Defined in [index.ts:478](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L478)* + +___ + +### topics + +• **topics**: *string[]* + +*Defined in [index.ts:485](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L485)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Defined in [index.ts:480](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L480)* + +___ + +### transactionIndex + +• **transactionIndex**: *string | null* + +*Defined in [index.ts:479](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L479)* + +
+ +> # Interface: SolcError + +## Hierarchy + +* **SolcError** + +## Index + +### Properties + +* [component](#component) +* [formattedMessage](#optional-formattedmessage) +* [message](#message) +* [severity](#severity) +* [sourceLocation](#optional-sourcelocation) +* [type](#type) + +## Properties + +### component + +• **component**: *"general" | "ewasm"* + +*Defined in [index.ts:596](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L596)* + +___ + +### `Optional` formattedMessage + +• **formattedMessage**? : *undefined | string* + +*Defined in [index.ts:599](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L599)* + +___ + +### message + +• **message**: *string* + +*Defined in [index.ts:598](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L598)* + +___ + +### severity + +• **severity**: *[ErrorSeverity](#errorseverity)* + +*Defined in [index.ts:597](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L597)* + +___ + +### `Optional` sourceLocation + +• **sourceLocation**? : *[SourceLocation](#class-sourcelocation)* + +*Defined in [index.ts:594](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L594)* + +___ + +### type + +• **type**: *[ErrorType](#errortype)* + +*Defined in [index.ts:595](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L595)* + +
+ +> # Interface: Source + +## Hierarchy + +* **Source** + +## Index + +### Properties + +* [id](#id) + +## Properties + +### id + +• **id**: *number* + +*Defined in [index.ts:705](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L705)* + +
+ +> # Interface: SourceLocation + +## Hierarchy + +* **SourceLocation** + +## Index + +### Properties + +* [end](#end) +* [file](#file) +* [start](#start) + +## Properties + +### end + +• **end**: *number* + +*Defined in [index.ts:605](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L605)* + +___ + +### file + +• **file**: *string* + +*Defined in [index.ts:603](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L603)* + +___ + +### start + +• **start**: *number* + +*Defined in [index.ts:604](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L604)* + +
+ +> # Interface: StandardContractOutput + +## Hierarchy + +* **StandardContractOutput** + +## Index + +### Properties + +* [abi](#abi) +* [devdoc](#optional-devdoc) +* [evm](#evm) + +## Properties + +### abi + +• **abi**: *[ContractAbi](#contractabi)* + +*Defined in [index.ts:556](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L556)* + +___ + +### `Optional` devdoc + +• **devdoc**? : *[DevdocOutput](#class-devdocoutput)* + +*Defined in [index.ts:558](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L558)* + +___ + +### evm + +• **evm**: *[EvmOutput](#class-evmoutput)* + +*Defined in [index.ts:557](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L557)* + +
+ +> # Interface: StandardOutput + +## Hierarchy + +* **StandardOutput** + +## Index + +### Properties + +* [contracts](#contracts) +* [errors](#errors) +* [sources](#sources) + +## Properties + +### contracts + +• **contracts**: *object* + +*Defined in [index.ts:570](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L570)* + +#### Type declaration: + +● \[▪ **fileName**: *string*\]: object + +● \[▪ **contractName**: *string*\]: [StandardContractOutput](#class-standardcontractoutput) + +___ + +### errors + +• **errors**: *[SolcError](#class-solcerror)[]* + +*Defined in [index.ts:562](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L562)* + +___ + +### sources + +• **sources**: *object* + +*Defined in [index.ts:563](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L563)* + +#### Type declaration: + +● \[▪ **fileName**: *string*\]: object + +
+ +> # Interface: StructLog + +## Hierarchy + +* **StructLog** + +## Index + +### Properties + +* [depth](#depth) +* [error](#error) +* [gas](#gas) +* [gasCost](#gascost) +* [memory](#memory) +* [op](#op) +* [pc](#pc) +* [stack](#stack) +* [storage](#storage) + +## Properties + +### depth + +• **depth**: *number* + +*Defined in [index.ts:287](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L287)* + +___ + +### error + +• **error**: *string* + +*Defined in [index.ts:288](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L288)* + +___ + +### gas + +• **gas**: *number* + +*Defined in [index.ts:289](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L289)* + +___ + +### gasCost + +• **gasCost**: *number* + +*Defined in [index.ts:290](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L290)* + +___ + +### memory + +• **memory**: *string[]* + +*Defined in [index.ts:291](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L291)* + +___ + +### op + +• **op**: *[OpCode](#enumeration-opcode)* + +*Defined in [index.ts:292](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L292)* + +___ + +### pc + +• **pc**: *number* + +*Defined in [index.ts:293](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L293)* + +___ + +### stack + +• **stack**: *string[]* + +*Defined in [index.ts:294](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L294)* + +___ + +### storage + +• **storage**: *object* + +*Defined in [index.ts:295](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L295)* + +#### Type declaration: + +● \[▪ **location**: *string*\]: string + +
+ +> # Interface: TraceParams + +## Hierarchy + +* **TraceParams** + +## Index + +### Properties + +* [disableMemory](#optional-disablememory) +* [disableStack](#optional-disablestack) +* [disableStorage](#optional-disablestorage) +* [timeout](#optional-timeout) +* [tracer](#optional-tracer) + +## Properties + +### `Optional` disableMemory + +• **disableMemory**? : *undefined | false | true* + +*Defined in [index.ts:510](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L510)* + +___ + +### `Optional` disableStack + +• **disableStack**? : *undefined | false | true* + +*Defined in [index.ts:511](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L511)* + +___ + +### `Optional` disableStorage + +• **disableStorage**? : *undefined | false | true* + +*Defined in [index.ts:512](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L512)* + +___ + +### `Optional` timeout + +• **timeout**? : *undefined | string* + +*Defined in [index.ts:514](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L514)* + +___ + +### `Optional` tracer + +• **tracer**? : *undefined | string* + +*Defined in [index.ts:513](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L513)* + +
+ +> # Interface: Transaction + +## Hierarchy + +* **Transaction** + +## Index + +### Properties + +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [from](#from) +* [gas](#gas) +* [gasPrice](#gasprice) +* [hash](#hash) +* [input](#input) +* [nonce](#nonce) +* [to](#to) +* [transactionIndex](#transactionindex) +* [value](#value) + +## Properties + +### blockHash + +• **blockHash**: *string | null* + +*Defined in [index.ts:371](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L371)* + +___ + +### blockNumber + +• **blockNumber**: *number | null* + +*Defined in [index.ts:372](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L372)* + +___ + +### from + +• **from**: *string* + +*Defined in [index.ts:374](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L374)* + +___ + +### gas + +• **gas**: *number* + +*Defined in [index.ts:378](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L378)* + +___ + +### gasPrice + +• **gasPrice**: *`BigNumber`* + +*Defined in [index.ts:377](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L377)* + +___ + +### hash + +• **hash**: *string* + +*Defined in [index.ts:369](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L369)* + +___ + +### input + +• **input**: *string* + +*Defined in [index.ts:379](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L379)* + +___ + +### nonce + +• **nonce**: *number* + +*Defined in [index.ts:370](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L370)* + +___ + +### to + +• **to**: *string | null* + +*Defined in [index.ts:375](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L375)* + +___ + +### transactionIndex + +• **transactionIndex**: *number | null* + +*Defined in [index.ts:373](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L373)* + +___ + +### value + +• **value**: *`BigNumber`* + +*Defined in [index.ts:376](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L376)* + +
+ +> # Interface: TransactionReceipt + +## Hierarchy + +* **TransactionReceipt** + + * [TransactionReceiptWithDecodedLogs](#class-transactionreceiptwithdecodedlogs) + +## Index + +### Properties + +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [contractAddress](#contractaddress) +* [cumulativeGasUsed](#cumulativegasused) +* [from](#from) +* [gasUsed](#gasused) +* [logs](#logs) +* [status](#status) +* [to](#to) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### blockHash + +• **blockHash**: *string* + +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L440)* + +___ + +### blockNumber + +• **blockNumber**: *number* + +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L441)* + +___ + +### contractAddress + +• **contractAddress**: *string | null* + +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L449)* + +___ + +### cumulativeGasUsed + +• **cumulativeGasUsed**: *number* + +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L447)* + +___ + +### from + +• **from**: *string* + +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L444)* + +___ + +### gasUsed + +• **gasUsed**: *number* + +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L448)* + +___ + +### logs + +• **logs**: *[LogEntry](#class-logentry)[]* + +*Defined in [index.ts:450](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L450)* + +___ + +### status + +• **status**: *[TransactionReceiptStatus](#transactionreceiptstatus)* + +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L446)* + +___ + +### to + +• **to**: *string* + +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L445)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L442)* + +___ + +### transactionIndex + +• **transactionIndex**: *number* + +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L443)* + +
+ +> # Interface: TransactionReceiptWithDecodedLogs + +Contains the logs returned by a TransactionReceipt. We attempt to decode the +logs using AbiDecoder. If we have the logs corresponding ABI, we decode it, +otherwise we don't. + +## Hierarchy + +* [TransactionReceipt](#class-transactionreceipt) + + * **TransactionReceiptWithDecodedLogs** + +## Index + +### Properties + +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [contractAddress](#contractaddress) +* [cumulativeGasUsed](#cumulativegasused) +* [from](#from) +* [gasUsed](#gasused) +* [logs](#logs) +* [status](#status) +* [to](#to) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### blockHash + +• **blockHash**: *string* + +*Inherited from [TransactionReceipt](#blockhash)* + +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L440)* + +___ + +### blockNumber + +• **blockNumber**: *number* + +*Inherited from [TransactionReceipt](#blocknumber)* + +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L441)* + +___ + +### contractAddress + +• **contractAddress**: *string | null* + +*Inherited from [TransactionReceipt](#contractaddress)* + +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L449)* + +___ + +### cumulativeGasUsed + +• **cumulativeGasUsed**: *number* + +*Inherited from [TransactionReceipt](#cumulativegasused)* + +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L447)* + +___ + +### from + +• **from**: *string* + +*Inherited from [TransactionReceipt](#from)* + +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L444)* + +___ + +### gasUsed + +• **gasUsed**: *number* + +*Inherited from [TransactionReceipt](#gasused)* + +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L448)* + +___ + +### logs + +• **logs**: *`Array | LogEntry>`* + +*Overrides [TransactionReceipt](#logs)* + +*Defined in [index.ts:506](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L506)* + +___ + +### status + +• **status**: *[TransactionReceiptStatus](#transactionreceiptstatus)* + +*Inherited from [TransactionReceipt](#status)* + +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L446)* + +___ + +### to + +• **to**: *string* + +*Inherited from [TransactionReceipt](#to)* + +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L445)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Inherited from [TransactionReceipt](#transactionhash)* + +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L442)* + +___ + +### transactionIndex + +• **transactionIndex**: *number* + +*Inherited from [TransactionReceipt](#transactionindex)* + +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L443)* + +
+ +> # Interface: TransactionTrace + +## Hierarchy + +* **TransactionTrace** + +## Index + +### Properties + +* [gas](#gas) +* [returnValue](#returnvalue) +* [structLogs](#structlogs) + +## Properties + +### gas + +• **gas**: *number* + +*Defined in [index.ts:299](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L299)* + +___ + +### returnValue + +• **returnValue**: *any* + +*Defined in [index.ts:300](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L300)* + +___ + +### structLogs + +• **structLogs**: *[StructLog](#class-structlog)[]* + +*Defined in [index.ts:301](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L301)* + +
+ +> # Interface: TupleDataItem + +## Hierarchy + +* [DataItem](#class-dataitem) + + * **TupleDataItem** + +## Index + +### Properties + +* [components](#components) +* [name](#name) +* [type](#type) + +## Properties + +### components + +• **components**: *[DataItem](#class-dataitem)[]* + +*Overrides [DataItem](#optional-components)* + +*Defined in [index.ts:135](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L135)* + +___ + +### name + +• **name**: *string* + +*Inherited from [DataItem](#name)* + +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L129)* + +___ + +### type + +• **type**: *string* + +*Inherited from [DataItem](#type)* + +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L130)* + +
+ +> # Interface: TxData + +## Hierarchy + +* [CallTxDataBase](#class-calltxdatabase) + + * **TxData** + + * [TxDataPayable](#class-txdatapayable) + +## Index + +### Properties + +* [data](#optional-data) +* [from](#from) +* [gas](#optional-gas) +* [gasPrice](#optional-gasprice) +* [nonce](#optional-nonce) +* [to](#optional-to) +* [value](#optional-value) + +## Properties + +### `Optional` data + +• **data**? : *undefined | string* + +*Inherited from [CallTxDataBase](#optional-data)* + +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L387)* + +___ + +### from + +• **from**: *string* + +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L392)* + +___ + +### `Optional` gas + +• **gas**? : *number | string | `BigNumber`* + +*Inherited from [CallTxDataBase](#optional-gas)* + +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L385)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *number | string | `BigNumber`* + +*Inherited from [CallTxDataBase](#optional-gasprice)* + +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L386)* + +___ + +### `Optional` nonce + +• **nonce**? : *undefined | number* + +*Inherited from [CallTxDataBase](#optional-nonce)* + +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L388)* + +___ + +### `Optional` to + +• **to**? : *undefined | string* + +*Inherited from [CallTxDataBase](#optional-to)* + +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L383)* + +___ + +### `Optional` value + +• **value**? : *number | string | `BigNumber`* + +*Inherited from [CallTxDataBase](#optional-value)* + +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L384)* + +
+ +> # Interface: TxDataPayable + +## Hierarchy + + * [TxData](#class-txdata) + + * **TxDataPayable** + +## Index + +### Properties + +* [data](#optional-data) +* [from](#from) +* [gas](#optional-gas) +* [gasPrice](#optional-gasprice) +* [nonce](#optional-nonce) +* [to](#optional-to) +* [value](#optional-value) + +## Properties + +### `Optional` data + +• **data**? : *undefined | string* + +*Inherited from [CallTxDataBase](#optional-data)* + +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L387)* + +___ + +### from + +• **from**: *string* + +*Inherited from [TxData](#from)* + +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L392)* + +___ + +### `Optional` gas + +• **gas**? : *number | string | `BigNumber`* + +*Inherited from [CallTxDataBase](#optional-gas)* + +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L385)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *number | string | `BigNumber`* + +*Inherited from [CallTxDataBase](#optional-gasprice)* + +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L386)* + +___ + +### `Optional` nonce + +• **nonce**? : *undefined | number* + +*Inherited from [CallTxDataBase](#optional-nonce)* + +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L388)* + +___ + +### `Optional` to + +• **to**? : *undefined | string* + +*Inherited from [CallTxDataBase](#optional-to)* + +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L383)* + +___ + +### `Optional` value + +• **value**? : *`BigNumber`* + +*Overrides [CallTxDataBase](#optional-value)* + +*Defined in [index.ts:434](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L434)* + +
+ +> # Interface: Web3JsV1Provider + +Web3.js version 1 provider interface +This provider interface was implemented in the pre-1.0Beta releases for Web3.js. +This interface allowed sending synchonous requests, support for which was later dropped. + +## Hierarchy + +* **Web3JsV1Provider** + +## Index + +### Methods + +* [send](#send) +* [sendAsync](#sendasync) + +## Methods + +### send + +▸ **send**(`payload`: [JSONRPCRequestPayload](#class-jsonrpcresponsepayload)* + +*Defined in [index.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L45)* + +**Parameters:** + +Name | Type | +------ | ------ | +`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) | + +**Returns:** *[JSONRPCResponsePayload](#class-jsonrpcresponsepayload)* + +___ + +### sendAsync + +▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* + +*Defined in [index.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L44)* + +**Parameters:** + +Name | Type | +------ | ------ | +`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) | +`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) | + +**Returns:** *void* + +
+ +> # Interface: Web3JsV2Provider + +Web3.js version 2 provider interface +This provider interface was used in a couple of Web3.js 1.0 beta releases +before the first attempts to conform to EIP1193 + +## Hierarchy + +* **Web3JsV2Provider** + +## Index + +### Methods + +* [send](#send) + +## Methods + +### send + +▸ **send**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* + +*Defined in [index.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L54)* + +**Parameters:** + +Name | Type | +------ | ------ | +`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) | +`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) | + +**Returns:** *void* + +
+ +> # Interface: Web3JsV3Provider + +Web3.js version 3 provider interface +This provider interface was implemented with the hopes for conforming to the EIP1193 spec, +however it does not conform entirely. + +## Hierarchy + +* **Web3JsV3Provider** + +## Index + +### Methods + +* [send](#send) + +## Methods + +### send + +▸ **send**(`method`: string, `params?`: any[]): *`Promise`* + +*Defined in [index.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L63)* + +**Parameters:** + +Name | Type | +------ | ------ | +`method` | string | +`params?` | any[] | + +**Returns:** *`Promise`* + +
+ +> # Interface: ZeroExProvider + +The interface for the provider used internally by 0x libraries +Any property we use from any SupportedProvider should we explicitly +add here + +## Hierarchy + +* **ZeroExProvider** + +## Index + +### Properties + +* [isMetaMask](#optional-ismetamask) +* [isParity](#optional-isparity) +* [isZeroExProvider](#optional-iszeroexprovider) + +### Methods + +* [enable](#optional-enable) +* [sendAsync](#sendasync) +* [stop](#optional-stop) + +## Properties + +### `Optional` isMetaMask + +• **isMetaMask**? : *undefined | false | true* + +*Defined in [index.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L31)* + +___ + +### `Optional` isParity + +• **isParity**? : *undefined | false | true* + +*Defined in [index.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L32)* + +___ + +### `Optional` isZeroExProvider + +• **isZeroExProvider**? : *undefined | false | true* + +*Defined in [index.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L30)* + +## Methods + +### `Optional` enable + +▸ **enable**(): *`Promise`* + +*Defined in [index.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L34)* + +**Returns:** *`Promise`* + +___ + +### sendAsync + +▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* + +*Defined in [index.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L35)* + +**Parameters:** + +Name | Type | +------ | ------ | +`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) | +`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) | + +**Returns:** *void* + +___ + +### `Optional` stop + +▸ **stop**(): *void* + +*Defined in [index.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L33)* + +**Returns:** *void* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [index](modules/_index_.md) + * [index.AbiType](#class-abitype) + * [index.BlockParamLiteral](#class-blockparamliteral) + * [index.OpCode](#class-opcode) + * [index.SolidityTypes](#class-soliditytypes) + * [index.AbstractBlock](#class-abstractblock) + * [index.BlockWithTransactionData](#class-blockwithtransactiondata) + * [index.BlockWithoutTransactionData](#class-blockwithouttransactiondata) + * [index.CallData](#class-calldata) + * [index.CallTxDataBase](#class-calltxdatabase) + * [index.CompilerOptions](#class-compileroptions) + * [index.CompilerOpts](#class-compileropts) + * [index.CompilerSettings](#class-compilersettings) + * [index.CompilerSettingsMetadata](#class-compilersettingsmetadata) + * [index.ConstructorAbi](#class-constructorabi) + * [index.ContractArtifact](#class-contractartifact) + * [index.ContractNetworkData](#class-contractnetworkdata) + * [index.ContractNetworks](#class-contractnetworks) + * [index.ContractVersionData](#class-contractversiondata) + * [index.DataItem](#class-dataitem) + * [index.DecodedLogArgs](#class-decodedlogargs) + * [index.DecodedLogEntry](#class-decodedlogentry) + * [index.DecodedLogEntryEvent](#class-decodedlogentryevent) + * [index.DevdocOutput](#class-devdocoutput) + * [index.EIP1193Provider](#class-eip1193provider) + * [index.EventAbi](#class-eventabi) + * [index.EventParameter](#class-eventparameter) + * [index.EvmBytecodeOutput](#class-evmbytecodeoutput) + * [index.EvmOutput](#class-evmoutput) + * [index.FallbackAbi](#class-fallbackabi) + * [index.FilterObject](#class-filterobject) + * [index.GanacheProvider](#class-ganacheprovider) + * [index.GeneratedCompilerOptions](#class-generatedcompileroptions) + * [index.JSONRPCRequestPayload](#class-jsonrpcrequestpayload) + * [index.JSONRPCResponseError](#class-jsonrpcresponseerror) + * [index.JSONRPCResponsePayload](#class-jsonrpcresponsepayload) + * [index.LogEntry](#class-logentry) + * [index.LogEntryEvent](#class-logentryevent) + * [index.LogWithDecodedArgs](#class-logwithdecodedargs) + * [index.MethodAbi](#class-methodabi) + * [index.OptimizerSettings](#class-optimizersettings) + * [index.Provider](#class-provider) + * [index.RawLogEntry](#class-rawlogentry) + * [index.SolcError](#class-solcerror) + * [index.Source](#class-source) + * [index.SourceLocation](#class-sourcelocation) + * [index.StandardContractOutput](#class-standardcontractoutput) + * [index.StandardOutput](#class-standardoutput) + * [index.StructLog](#class-structlog) + * [index.TraceParams](#class-traceparams) + * [index.Transaction](#class-transaction) + * [index.TransactionReceipt](#class-transactionreceipt) + * [index.TransactionReceiptWithDecodedLogs](#class-transactionreceiptwithdecodedlogs) + * [index.TransactionTrace](#class-transactiontrace) + * [index.TupleDataItem](#class-tupledataitem) + * [index.TxData](#class-txdata) + * [index.TxDataPayable](#class-txdatapayable) + * [index.Web3JsV1Provider](#class-web3jsv1provider) + * [index.Web3JsV2Provider](#class-web3jsv2provider) + * [index.Web3JsV3Provider](#class-web3jsv3provider) + * [index.ZeroExProvider](#class-zeroexprovider) +* [Enums]() + * [index.AbiType](#class-abitype) + * [index.BlockParamLiteral](#class-blockparamliteral) + * [index.OpCode](#class-opcode) + * [index.SolidityTypes](#class-soliditytypes) +* [Interfaces]() + * [index.AbstractBlock](#class-abstractblock) + * [index.BlockWithTransactionData](#class-blockwithtransactiondata) + * [index.BlockWithoutTransactionData](#class-blockwithouttransactiondata) + * [index.CallData](#class-calldata) + * [index.CallTxDataBase](#class-calltxdatabase) + * [index.CompilerOptions](#class-compileroptions) + * [index.CompilerOpts](#class-compileropts) + * [index.CompilerSettings](#class-compilersettings) + * [index.CompilerSettingsMetadata](#class-compilersettingsmetadata) + * [index.ConstructorAbi](#class-constructorabi) + * [index.ContractArtifact](#class-contractartifact) + * [index.ContractNetworkData](#class-contractnetworkdata) + * [index.ContractNetworks](#class-contractnetworks) + * [index.ContractVersionData](#class-contractversiondata) + * [index.DataItem](#class-dataitem) + * [index.DecodedLogArgs](#class-decodedlogargs) + * [index.DecodedLogEntry](#class-decodedlogentry) + * [index.DecodedLogEntryEvent](#class-decodedlogentryevent) + * [index.DevdocOutput](#class-devdocoutput) + * [index.EIP1193Provider](#class-eip1193provider) + * [index.EventAbi](#class-eventabi) + * [index.EventParameter](#class-eventparameter) + * [index.EvmBytecodeOutput](#class-evmbytecodeoutput) + * [index.EvmOutput](#class-evmoutput) + * [index.FallbackAbi](#class-fallbackabi) + * [index.FilterObject](#class-filterobject) + * [index.GanacheProvider](#class-ganacheprovider) + * [index.GeneratedCompilerOptions](#class-generatedcompileroptions) + * [index.JSONRPCRequestPayload](#class-jsonrpcrequestpayload) + * [index.JSONRPCResponseError](#class-jsonrpcresponseerror) + * [index.JSONRPCResponsePayload](#class-jsonrpcresponsepayload) + * [index.LogEntry](#class-logentry) + * [index.LogEntryEvent](#class-logentryevent) + * [index.LogWithDecodedArgs](#class-logwithdecodedargs) + * [index.MethodAbi](#class-methodabi) + * [index.OptimizerSettings](#class-optimizersettings) + * [index.Provider](#class-provider) + * [index.RawLogEntry](#class-rawlogentry) + * [index.SolcError](#class-solcerror) + * [index.Source](#class-source) + * [index.SourceLocation](#class-sourcelocation) + * [index.StandardContractOutput](#class-standardcontractoutput) + * [index.StandardOutput](#class-standardoutput) + * [index.StructLog](#class-structlog) + * [index.TraceParams](#class-traceparams) + * [index.Transaction](#class-transaction) + * [index.TransactionReceipt](#class-transactionreceipt) + * [index.TransactionReceiptWithDecodedLogs](#class-transactionreceiptwithdecodedlogs) + * [index.TransactionTrace](#class-transactiontrace) + * [index.TupleDataItem](#class-tupledataitem) + * [index.TxData](#class-txdata) + * [index.TxDataPayable](#class-txdatapayable) + * [index.Web3JsV1Provider](#class-web3jsv1provider) + * [index.Web3JsV2Provider](#class-web3jsv2provider) + * [index.Web3JsV3Provider](#class-web3jsv3provider) + * [index.ZeroExProvider](#class-zeroexprovider) + +
+ diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index b3e0acf1d0..8cc6abc07d 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -13,6 +13,8 @@ "clean": "shx rm -rf lib generated_docs", "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -30,10 +32,12 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/ethereum-types/README.md", "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "make-promises-safe": "^1.1.0", "shx": "^0.2.2", "tslint": "5.11.0", + "typedoc": "^0.15.0", "typescript": "3.0.1" }, "dependencies": { diff --git a/packages/instant/package.json b/packages/instant/package.json index 5d147c1f1b..3329efa8a1 100644 --- a/packages/instant/package.json +++ b/packages/instant/package.json @@ -101,7 +101,6 @@ "svg-react-loader": "^0.4.6", "ts-jest": "^23.10.3", "tslint": "5.11.0", - "typedoc": "0.13.0", "typescript": "3.0.1", "webpack": "^4.20.2", "webpack-cli": "3.1.2", diff --git a/packages/instant/typedoc-tsconfig.json b/packages/instant/typedoc-tsconfig.json deleted file mode 100644 index c9b0af1ae6..0000000000 --- a/packages/instant/typedoc-tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../typedoc-tsconfig", - "compilerOptions": { - "outDir": "lib" - }, - "include": ["./src/**/*", "./test/**/*"] -} diff --git a/packages/json-schemas/docs/reference.md b/packages/json-schemas/docs/reference.md new file mode 100644 index 0000000000..e025856e11 --- /dev/null +++ b/packages/json-schemas/docs/reference.md @@ -0,0 +1,107 @@ +> # Class: SchemaValidator + +A validator for [JSON-schemas](http://json-schema.org/) + +## Hierarchy + +* **SchemaValidator** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [addSchema](#addschema) +* [isValid](#isvalid) +* [validate](#validate) + +## Constructors + +### constructor + +\+ **new SchemaValidator**(): *[SchemaValidator](#class-schemavalidator)* + +*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/json-schemas/src/schema_validator.ts#L15)* + +Instantiates a SchemaValidator instance + +**Returns:** *[SchemaValidator](#class-schemavalidator)* + +## Methods + +### addSchema + +▸ **addSchema**(`schema`: `Schema`): *void* + +*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/json-schemas/src/schema_validator.ts#L32)* + +Add a schema to the validator. All schemas and sub-schemas must be added to +the validator before the `validate` and `isValid` methods can be called with +instances of that schema. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`schema` | `Schema` | The schema to add | + +**Returns:** *void* + +___ + +### isValid + +▸ **isValid**(`instance`: any, `schema`: `Schema`): *boolean* + +*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/json-schemas/src/schema_validator.ts#L57)* + +Check whether an instance properly adheres to a JSON schema + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`instance` | any | JS object in question | +`schema` | `Schema` | Schema to check against | + +**Returns:** *boolean* + +Whether or not the instance adheres to the schema + +___ + +### validate + +▸ **validate**(`instance`: any, `schema`: `Schema`): *`ValidatorResult`* + +*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/json-schemas/src/schema_validator.ts#L46)* + +Validate the JS object conforms to a specific JSON schema + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`instance` | any | JS object in question | +`schema` | `Schema` | Schema to check against | + +**Returns:** *`ValidatorResult`* + +The results of the validation + +
+ +* [Globals](globals.md) +* [External Modules]() + * [index](modules/_index_.md) + * [schema_validator](modules/_schema_validator_.md) + * [schema_validator.SchemaValidator](#class-schemavalidator) + * [schemas](modules/_schemas_.md) +* [Classes]() + * [schema_validator.SchemaValidator](#class-schemavalidator) + +
+ diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index e964d946ae..f788b3d1ff 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -19,6 +19,8 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib test_temp generated_docs", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -46,6 +48,7 @@ "lodash.values": "^4.3.0" }, "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@0x/utils": "^4.5.0", "@types/lodash.foreach": "^4.5.3", @@ -60,7 +63,7 @@ "nyc": "^11.0.1", "shx": "^0.2.2", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typescript": "3.0.1" }, "publishConfig": { diff --git a/packages/migrations/docs/reference.md b/packages/migrations/docs/reference.md new file mode 100644 index 0000000000..3cca7468a4 --- /dev/null +++ b/packages/migrations/docs/reference.md @@ -0,0 +1,228 @@ +> # Enumeration: ContractName + +## Index + +### Enumeration members + +* [AccountLevels](#accountlevels) +* [Arbitrage](#arbitrage) +* [DummyToken](#dummytoken) +* [EtherDelta](#etherdelta) +* [Exchange](#exchange) +* [MultiSigWalletWithTimeLock](#multisigwalletwithtimelock) +* [MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress](#multisigwalletwithtimelockexceptremoveauthorizedaddress) +* [TokenRegistry](#tokenregistry) +* [TokenTransferProxy](#tokentransferproxy) +* [WETH9](#weth9) +* [ZRXToken](#zrxtoken) + +## Enumeration members + +### AccountLevels + +• **AccountLevels**: = "AccountLevels" + +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L26)* + +___ + +### Arbitrage + +• **Arbitrage**: = "Arbitrage" + +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L28)* + +___ + +### DummyToken + +• **DummyToken**: = "DummyToken" + +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L23)* + +___ + +### EtherDelta + +• **EtherDelta**: = "EtherDelta" + +*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L27)* + +___ + +### Exchange + +• **Exchange**: = "Exchange" + +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L21)* + +___ + +### MultiSigWalletWithTimeLock + +• **MultiSigWalletWithTimeLock**: = "MultiSigWalletWithTimeLock" + +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L20)* + +___ + +### MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress + +• **MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress**: = "MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress" + +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L25)* + +___ + +### TokenRegistry + +• **TokenRegistry**: = "TokenRegistry" + +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L19)* + +___ + +### TokenTransferProxy + +• **TokenTransferProxy**: = "TokenTransferProxy" + +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L18)* + +___ + +### WETH9 + +• **WETH9**: = "WETH9" + +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L24)* + +___ + +### ZRXToken + +• **ZRXToken**: = "ZRXToken" + +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L22)* + +
+ +> # Interface: ERC20Token + +## Hierarchy + +* **ERC20Token** + +## Index + +### Properties + +* [address](#optional-address) +* [decimals](#decimals) +* [ipfsHash](#ipfshash) +* [name](#name) +* [swarmHash](#swarmhash) +* [symbol](#symbol) + +## Properties + +### `Optional` address + +• **address**? : *undefined | string* + +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L4)* + +___ + +### decimals + +• **decimals**: *`BigNumber`* + +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L7)* + +___ + +### ipfsHash + +• **ipfsHash**: *string* + +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L8)* + +___ + +### name + +• **name**: *string* + +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L5)* + +___ + +### swarmHash + +• **swarmHash**: *string* + +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L9)* + +___ + +### symbol + +• **symbol**: *string* + +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L6)* + +
+ +> # Interface: ERC721Token + +## Hierarchy + +* **ERC721Token** + +## Index + +### Properties + +* [name](#name) +* [symbol](#symbol) + +## Properties + +### name + +• **name**: *string* + +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L13)* + +___ + +### symbol + +• **symbol**: *string* + +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L14)* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [cli](modules/_cli_.md) + * [index](modules/_index_.md) + * [migrate](modules/_migrate_.md) + * [migrate_snapshot](modules/_migrate_snapshot_.md) + * [migration](modules/_migration_.md) + * [types](modules/_types_.md) + * [types.ContractName](#class-contractname) + * [types.ERC20Token](#class-erc20token) + * [types.ERC721Token](#class-erc721token) + * [utils/constants](modules/_utils_constants_.md) + * [utils/provider_factory](modules/_utils_provider_factory_.md) + * [utils/token_info](modules/_utils_token_info_.md) +* [Enums]() + * [types.ContractName](#class-contractname) +* [Interfaces]() + * [types.ERC20Token](#class-erc20token) + * [types.ERC721Token](#class-erc721token) + +
+ diff --git a/packages/migrations/package.json b/packages/migrations/package.json index 354b8eac2a..ffb05af0b9 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -17,6 +17,8 @@ "migrate:v2:snapshot": "run-s build script:migrate:v2:snapshot", "script:migrate:v2": "node ./lib/migrate.js", "script:migrate:v2:snapshot": "node ./lib/migrate_snapshot.js", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES", "build:snapshot": "rm -rf ${npm_package_config_snapshot_name} && yarn migrate:v2:snapshot && zip -r \"${npm_package_config_snapshot_name}-${npm_package_version}.zip\" ${npm_package_config_snapshot_name}", "build:snapshot:docker": "docker build --tag ${npm_package_config_docker_snapshot_name}:${npm_package_version} --tag ${npm_package_config_docker_snapshot_name}:latest .", @@ -38,6 +40,7 @@ "license": "Apache-2.0", "devDependencies": { "@0x/dev-utils": "^2.3.1", + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@0x/types": "^2.4.1", "@types/yargs": "^11.0.0", @@ -45,7 +48,7 @@ "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typescript": "3.0.1", "web3-provider-engine": "14.0.6", "yargs": "^10.0.3" diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index 7f94ab951d..30c0062275 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -68,7 +68,7 @@ "semver": "5.5.0", "semver-diff": "^2.1.0", "semver-sort": "0.0.4", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "yargs": "^10.0.3" }, "publishConfig": { diff --git a/packages/order-utils/docs/reference.md b/packages/order-utils/docs/reference.md new file mode 100644 index 0000000000..1b1616b464 --- /dev/null +++ b/packages/order-utils/docs/reference.md @@ -0,0 +1,1688 @@ +> # Class: AbstractBalanceAndProxyAllowanceFetcher + +An abstract class to be implemented in order to use OrderStateUtils. The class that +implements this interface must be capable of fetching the balance and proxyAllowance +for an Ethereum address and assetData + +## Hierarchy + +* **AbstractBalanceAndProxyAllowanceFetcher** + +## Index + +### Methods + +* [getBalanceAsync](#abstract-getbalanceasync) +* [getProxyAllowanceAsync](#abstract-getproxyallowanceasync) + +## Methods + +### `Abstract` getBalanceAsync + +▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L15)* + +Get balance of assetData for userAddress + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | AssetData for which to fetch the balance | +`userAddress` | string | Ethereum address for which to fetch the balance | + +**Returns:** *`Promise`* + +Balance amount in base units + +___ + +### `Abstract` getProxyAllowanceAsync + +▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L22)* + +Get the 0x asset proxy allowance of assetData for userAddress + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | AssetData for which to fetch the allowance | +`userAddress` | string | Ethereum address for which to fetch the allowance | + +**Returns:** *`Promise`* + +Allowance amount in base units + +
+ +> # Class: AbstractBalanceAndProxyAllowanceLazyStore + +## Hierarchy + +* **AbstractBalanceAndProxyAllowanceLazyStore** + +## Implemented by + +* [BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore) + +## Index + +### Methods + +* [deleteAll](#abstract-deleteall) +* [deleteBalance](#abstract-deletebalance) +* [deleteProxyAllowance](#abstract-deleteproxyallowance) +* [getBalanceAsync](#abstract-getbalanceasync) +* [getProxyAllowanceAsync](#abstract-getproxyallowanceasync) +* [setBalance](#abstract-setbalance) +* [setProxyAllowance](#abstract-setproxyallowance) + +## Methods + +### `Abstract` deleteAll + +▸ **deleteAll**(): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* + +**Returns:** *void* + +___ + +### `Abstract` deleteBalance + +▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* + +**Parameters:** + +Name | Type | +------ | ------ | +`assetData` | string | +`userAddress` | string | + +**Returns:** *void* + +___ + +### `Abstract` deleteProxyAllowance + +▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* + +**Parameters:** + +Name | Type | +------ | ------ | +`assetData` | string | +`userAddress` | string | + +**Returns:** *void* + +___ + +### `Abstract` getBalanceAsync + +▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* + +**Parameters:** + +Name | Type | +------ | ------ | +`assetData` | string | +`userAddress` | string | + +**Returns:** *`Promise`* + +___ + +### `Abstract` getProxyAllowanceAsync + +▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* + +**Parameters:** + +Name | Type | +------ | ------ | +`assetData` | string | +`userAddress` | string | + +**Returns:** *`Promise`* + +___ + +### `Abstract` setBalance + +▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* + +**Parameters:** + +Name | Type | +------ | ------ | +`assetData` | string | +`userAddress` | string | +`balance` | `BigNumber` | + +**Returns:** *void* + +___ + +### `Abstract` setProxyAllowance + +▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* + +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* + +**Parameters:** + +Name | Type | +------ | ------ | +`assetData` | string | +`userAddress` | string | +`proxyAllowance` | `BigNumber` | + +**Returns:** *void* + +
+ +> # Class: AbstractOrderFilledCancelledFetcher + +An abstract class to be implemented in order to use OrderStateUtils. The class that +implements this interface must be capable of fetching the amount filled of an order +and whether it's been cancelled. + +## Hierarchy + +* **AbstractOrderFilledCancelledFetcher** + +## Index + +### Methods + +* [getFilledTakerAmountAsync](#abstract-getfilledtakeramountasync) +* [getZRXAssetData](#abstract-getzrxassetdata) +* [isOrderCancelledAsync](#abstract-isordercancelledasync) + +## Methods + +### `Abstract` getFilledTakerAmountAsync + +▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* + +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L15)* + +Get the amount of the order's takerToken amount already filled + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderHash` | string | OrderHash of order we are interested in | + +**Returns:** *`Promise`* + +FilledTakerAmount + +___ + +### `Abstract` getZRXAssetData + +▸ **getZRXAssetData**(): *string* + +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L22)* + +**Returns:** *string* + +___ + +### `Abstract` isOrderCancelledAsync + +▸ **isOrderCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* + +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L21)* + +Whether an order is cancelled + +**Parameters:** + +Name | Type | +------ | ------ | +`signedOrder` | `SignedOrder` | + +**Returns:** *`Promise`* + +Whether or not the order is cancelled + +
+ +> # Class: AbstractOrderFilledCancelledLazyStore + +## Hierarchy + +* **AbstractOrderFilledCancelledLazyStore** + +## Implemented by + +* [OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore) + +## Index + +### Methods + +* [deleteAll](#abstract-deleteall) +* [deleteFilledTakerAmount](#abstract-deletefilledtakeramount) +* [deleteIsCancelled](#abstract-deleteiscancelled) +* [getFilledTakerAmountAsync](#abstract-getfilledtakeramountasync) +* [getIsCancelledAsync](#abstract-getiscancelledasync) +* [getZRXAssetData](#abstract-getzrxassetdata) +* [setFilledTakerAmount](#abstract-setfilledtakeramount) +* [setIsCancelled](#abstract-setiscancelled) + +## Methods + +### `Abstract` deleteAll + +▸ **deleteAll**(): *void* + +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L11)* + +**Returns:** *void* + +___ + +### `Abstract` deleteFilledTakerAmount + +▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* + +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L8)* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | + +**Returns:** *void* + +___ + +### `Abstract` deleteIsCancelled + +▸ **deleteIsCancelled**(`orderHash`: string): *void* + +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L10)* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | + +**Returns:** *void* + +___ + +### `Abstract` getFilledTakerAmountAsync + +▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* + +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L5)* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | + +**Returns:** *`Promise`* + +___ + +### `Abstract` getIsCancelledAsync + +▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* + +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L6)* + +**Parameters:** + +Name | Type | +------ | ------ | +`signedOrder` | `SignedOrder` | + +**Returns:** *`Promise`* + +___ + +### `Abstract` getZRXAssetData + +▸ **getZRXAssetData**(): *string* + +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L12)* + +**Returns:** *string* + +___ + +### `Abstract` setFilledTakerAmount + +▸ **setFilledTakerAmount**(`orderHash`: string, `balance`: `BigNumber`): *void* + +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L7)* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | +`balance` | `BigNumber` | + +**Returns:** *void* + +___ + +### `Abstract` setIsCancelled + +▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* + +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L9)* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | +`isCancelled` | boolean | + +**Returns:** *void* + +
+ +> # Class: ExchangeTransferSimulator + +An exchange transfer simulator which simulates asset transfers exactly how the +0x exchange contract would do them. + +## Hierarchy + +* **ExchangeTransferSimulator** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [transferFromAsync](#transferfromasync) + +## Constructors + +### constructor + +\+ **new ExchangeTransferSimulator**(`store`: [AbstractBalanceAndProxyAllowanceLazyStore](#class-exchangetransfersimulator)* + +*Defined in [exchange_transfer_simulator.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/exchange_transfer_simulator.ts#L50)* + +Instantiate a ExchangeTransferSimulator + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`store` | [AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) | A class that implements AbstractBalanceAndProxyAllowanceLazyStore | + +**Returns:** *[ExchangeTransferSimulator](#class-exchangetransfersimulator)* + +an instance of ExchangeTransferSimulator + +## Methods + +### transferFromAsync + +▸ **transferFromAsync**(`assetData`: string, `from`: string, `to`: string, `amountInBaseUnits`: `BigNumber`, `tradeSide`: [TradeSide](#enumeration-tradeside), `transferType`: [TransferType](#enumeration-transfertype)): *`Promise`* + +*Defined in [exchange_transfer_simulator.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/exchange_transfer_simulator.ts#L70)* + +Simulates transferFrom call performed by a proxy + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Data of the asset being transferred. Includes it's identifying information and assetType, e.g address for ERC20, address & tokenId for ERC721 | +`from` | string | Owner of the transferred tokens | +`to` | string | Recipient of the transferred tokens | +`amountInBaseUnits` | `BigNumber` | The amount of tokens being transferred | +`tradeSide` | [TradeSide](#enumeration-tradeside) | Is Maker/Taker transferring | +`transferType` | [TransferType](#enumeration-transfertype) | Is it a fee payment or a value transfer | + +**Returns:** *`Promise`* + +
+ +> # Class: OrderStateUtils + +## Hierarchy + +* **OrderStateUtils** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [getMaxFillableTakerAssetAmountAsync](#getmaxfillabletakerassetamountasync) +* [getOpenOrderRelevantStateAsync](#getopenorderrelevantstateasync) +* [getOpenOrderStateAsync](#getopenorderstateasync) + +## Constructors + +### constructor + +\+ **new OrderStateUtils**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](#class-orderstateutils)* + +*Defined in [order_state_utils.ts:98](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_state_utils.ts#L98)* + +Instantiate OrderStateUtils + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`balanceAndProxyAllowanceFetcher` | [AbstractBalanceAndProxyAllowanceFetcher](#class-abstractbalanceandproxyallowancefetcher) | A class that is capable of fetching balances and proxyAllowances for Ethereum addresses. It must implement AbstractBalanceAndProxyAllowanceFetcher | +`orderFilledCancelledFetcher` | [AbstractOrderFilledCancelledFetcher](#class-abstractorderfilledcancelledfetcher) | A class that is capable of fetching whether an order is cancelled and how much of it has been filled. It must implement AbstractOrderFilledCancelledFetcher | + +**Returns:** *[OrderStateUtils](#class-orderstateutils)* + +Instance of OrderStateUtils + +## Methods + +### getMaxFillableTakerAssetAmountAsync + +▸ **getMaxFillableTakerAssetAmountAsync**(`signedOrder`: `SignedOrder`, `takerAddress`: string): *`Promise`* + +*Defined in [order_state_utils.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_state_utils.ts#L192)* + +Get the max amount of the supplied order's takerAmount that could still be filled + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | Order of interest | +`takerAddress` | string | Hypothetical taker of the order | + +**Returns:** *`Promise`* + +fillableTakerAssetAmount + +___ + +### getOpenOrderRelevantStateAsync + +▸ **getOpenOrderRelevantStateAsync**(`signedOrder`: `SignedOrder`): *`Promise`* + +*Defined in [order_state_utils.ts:162](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_state_utils.ts#L162)* + +Get state relevant to an order (i.e makerBalance, makerAllowance, filledTakerAssetAmount, etc... + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | Order of interest | + +**Returns:** *`Promise`* + +An instance of OrderRelevantState + +___ + +### getOpenOrderStateAsync + +▸ **getOpenOrderStateAsync**(`signedOrder`: `SignedOrder`, `transactionHash?`: undefined | string): *`Promise`* + +*Defined in [order_state_utils.ts:122](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_state_utils.ts#L122)* + +Get the orderState for an "open" order (i.e where takerAddress=NULL_ADDRESS) +This method will only check the maker's balance/allowance to calculate the +OrderState. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | The order of interest | +`transactionHash?` | undefined \| string | - | + +**Returns:** *`Promise`* + +State relevant to the signedOrder, as well as whether the signedOrder is "valid". +Validity is defined as a non-zero amount of the order can still be filled. + +
+ +> # Class: OrderValidationUtils + +A utility class for validating orders + +## Hierarchy + +* **OrderValidationUtils** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [validateFillOrderThrowIfInvalidAsync](#validatefillorderthrowifinvalidasync) +* [validateOrderFillableOrThrowAsync](#validateorderfillableorthrowasync) +* [isRoundingErrorFloor](#static-isroundingerrorfloor) +* [validateFillOrderBalancesAllowancesThrowIfInvalidAsync](#static-validatefillorderbalancesallowancesthrowifinvalidasync) +* [validateMakerTransferThrowIfInvalidAsync](#static-validatemakertransferthrowifinvalidasync) + +## Constructors + +### constructor + +\+ **new OrderValidationUtils**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](#class-ordervalidationutils)* + +*Defined in [order_validation_utils.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L159)* + +Instantiate OrderValidationUtils + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderFilledCancelledFetcher` | [AbstractOrderFilledCancelledFetcher](#class-abstractorderfilledcancelledfetcher) | A module that implements the AbstractOrderFilledCancelledFetcher | +`supportedProvider` | `SupportedProvider` | Web3 provider to use for JSON RPC calls | + +**Returns:** *[OrderValidationUtils](#class-ordervalidationutils)* + +An instance of OrderValidationUtils + +## Methods + +### validateFillOrderThrowIfInvalidAsync + +▸ **validateFillOrderThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `takerAddress`: string, `zrxAssetData`: string): *`Promise`* + +*Defined in [order_validation_utils.ts:236](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L236)* + +Validate a call to FillOrder and throw if it wouldn't succeed + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`exchangeTradeEmulator` | [ExchangeTransferSimulator](#class-exchangetransfersimulator) | ExchangeTradeEmulator to use | +`supportedProvider` | `SupportedProvider` | Web3 provider to use for JSON RPC requests | +`signedOrder` | `SignedOrder` | SignedOrder of interest | +`fillTakerAssetAmount` | `BigNumber` | Amount we'd like to fill the order for | +`takerAddress` | string | The taker of the order | +`zrxAssetData` | string | ZRX asset data | + +**Returns:** *`Promise`* + +___ + +### validateOrderFillableOrThrowAsync + +▸ **validateOrderFillableOrThrowAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `zrxAssetData`: string, `expectedFillTakerTokenAmount?`: `BigNumber`): *`Promise`* + +*Defined in [order_validation_utils.ts:185](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L185)* + +Validate if the supplied order is fillable, and throw if it isn't + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`exchangeTradeEmulator` | [ExchangeTransferSimulator](#class-exchangetransfersimulator) | ExchangeTradeEmulator instance | +`signedOrder` | `SignedOrder` | SignedOrder of interest | +`zrxAssetData` | string | ZRX assetData | +`expectedFillTakerTokenAmount?` | `BigNumber` | If supplied, this call will make sure this amount is fillable. If it isn't supplied, we check if the order is fillable for a non-zero amount | + +**Returns:** *`Promise`* + +___ + +### `Static` isRoundingErrorFloor + +▸ **isRoundingErrorFloor**(`numerator`: `BigNumber`, `denominator`: `BigNumber`, `target`: `BigNumber`): *boolean* + +*Defined in [order_validation_utils.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L34)* + +A Typescript implementation mirroring the implementation of isRoundingError in the +Exchange smart contract + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`numerator` | `BigNumber` | Numerator value. When used to check an order, pass in `takerAssetFilledAmount` | +`denominator` | `BigNumber` | Denominator value. When used to check an order, pass in `order.takerAssetAmount` | +`target` | `BigNumber` | Target value. When used to check an order, pass in `order.makerAssetAmount` | + +**Returns:** *boolean* + +___ + +### `Static` validateFillOrderBalancesAllowancesThrowIfInvalidAsync + +▸ **validateFillOrderBalancesAllowancesThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `senderAddress`: string, `zrxAssetData`: string): *`Promise`* + +*Defined in [order_validation_utils.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L61)* + +Validate that the maker & taker have sufficient balances/allowances +to fill the supplied order to the fillTakerAssetAmount amount + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`exchangeTradeEmulator` | [ExchangeTransferSimulator](#class-exchangetransfersimulator) | ExchangeTradeEmulator to use | +`signedOrder` | `SignedOrder` | SignedOrder to test | +`fillTakerAssetAmount` | `BigNumber` | Amount of takerAsset to fill the signedOrder | +`senderAddress` | string | Sender of the fillOrder tx | +`zrxAssetData` | string | AssetData for the ZRX token | + +**Returns:** *`Promise`* + +___ + +### `Static` validateMakerTransferThrowIfInvalidAsync + +▸ **validateMakerTransferThrowIfInvalidAsync**(`networkId`: `NetworkId`, `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `makerAssetAmount`: `BigNumber`, `takerAddress?`: undefined | string): *`Promise`* + +*Defined in [order_validation_utils.ts:127](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L127)* + +Validate the transfer from the maker to the taker. This is simulated on-chain +via an eth_call. If this call fails, the asset is currently nontransferable. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`networkId` | `NetworkId` | - | +`supportedProvider` | `SupportedProvider` | - | +`signedOrder` | `SignedOrder` | SignedOrder of interest | +`makerAssetAmount` | `BigNumber` | Amount to transfer from the maker | +`takerAddress?` | undefined \| string | The address to transfer to, defaults to signedOrder.takerAddress | + +**Returns:** *`Promise`* + +
+ +> # Class: RemainingFillableCalculator + +## Hierarchy + +* **RemainingFillableCalculator** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [computeRemainingFillable](#computeremainingfillable) + +## Constructors + +### constructor + +\+ **new RemainingFillableCalculator**(`orderFee`: `BigNumber`, `orderAssetAmount`: `BigNumber`, `isTraderAssetZRX`: boolean, `transferrableAssetAmount`: `BigNumber`, `transferrableFeeAmount`: `BigNumber`, `remainingOrderAssetAmount`: `BigNumber`): *[RemainingFillableCalculator](#class-remainingfillablecalculator)* + +*Defined in [remaining_fillable_calculator.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/remaining_fillable_calculator.ts#L11)* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderFee` | `BigNumber` | +`orderAssetAmount` | `BigNumber` | +`isTraderAssetZRX` | boolean | +`transferrableAssetAmount` | `BigNumber` | +`transferrableFeeAmount` | `BigNumber` | +`remainingOrderAssetAmount` | `BigNumber` | + +**Returns:** *[RemainingFillableCalculator](#class-remainingfillablecalculator)* + +## Methods + +### computeRemainingFillable + +▸ **computeRemainingFillable**(): *`BigNumber`* + +*Defined in [remaining_fillable_calculator.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/remaining_fillable_calculator.ts#L30)* + +**Returns:** *`BigNumber`* + +
+ +> # Class: BalanceAndProxyAllowanceLazyStore + +Copy on read store for balances/proxyAllowances of tokens/accounts + +## Hierarchy + +* **BalanceAndProxyAllowanceLazyStore** + +## Implements + +* [AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [deleteAll](#deleteall) +* [deleteAllERC721ProxyAllowance](#deleteallerc721proxyallowance) +* [deleteBalance](#deletebalance) +* [deleteProxyAllowance](#deleteproxyallowance) +* [getBalanceAsync](#getbalanceasync) +* [getProxyAllowanceAsync](#getproxyallowanceasync) +* [setBalance](#setbalance) +* [setProxyAllowance](#setproxyallowance) + +## Constructors + +### constructor + +\+ **new BalanceAndProxyAllowanceLazyStore**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](#class-balanceandproxyallowancelazystore)* + +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L23)* + +Instantiates a BalanceAndProxyAllowanceLazyStore + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`balanceAndProxyAllowanceFetcher` | [AbstractBalanceAndProxyAllowanceFetcher](#class-abstractbalanceandproxyallowancefetcher) | Class the implements the AbstractBalanceAndProxyAllowanceFetcher | + +**Returns:** *[BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore)* + +Instance of BalanceAndProxyAllowanceLazyStore + +## Methods + +### deleteAll + +▸ **deleteAll**(): *void* + +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:136](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L136)* + +Delete all balances & allowances + +**Returns:** *void* + +___ + +### deleteAllERC721ProxyAllowance + +▸ **deleteAllERC721ProxyAllowance**(`tokenAddress`: string, `userAddress`: string): *void* + +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L119)* + +Clear all ERC721 0x proxy allowances a user has on all items of a specific ERC721 contract + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`tokenAddress` | string | ERc721 token address | +`userAddress` | string | Owner Ethereum address | + +**Returns:** *void* + +___ + +### deleteBalance + +▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* + +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L63)* + +Clear the balance of an asset for a user + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | AssetData of interest | +`userAddress` | string | Ethereum address of interest | + +**Returns:** *void* + +___ + +### deleteProxyAllowance + +▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* + +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:106](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L106)* + +Clear the 0x asset proxy allowance + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | AssetData of interest | +`userAddress` | string | Ethereum address of interest | + +**Returns:** *void* + +___ + +### getBalanceAsync + +▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* + +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L39)* + +Get a users balance of an asset + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | AssetData of interest | +`userAddress` | string | Ethereum address of interest | + +**Returns:** *`Promise`* + +___ + +### getProxyAllowanceAsync + +▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* + +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L76)* + +Get the 0x asset proxy allowance + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | AssetData of interest | +`userAddress` | string | Ethereum address of interest | + +**Returns:** *`Promise`* + +___ + +### setBalance + +▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* + +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L52)* + +Set the balance of an asset for a user + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | AssetData of interest | +`userAddress` | string | Ethereum address of interest | +`balance` | `BigNumber` | - | + +**Returns:** *void* + +___ + +### setProxyAllowance + +▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* + +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:95](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L95)* + +Set the 0x asset proxy allowance + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | AssetData of interest | +`userAddress` | string | Ethereum address of interest | +`proxyAllowance` | `BigNumber` | - | + +**Returns:** *void* + +
+ +> # Class: OrderFilledCancelledLazyStore + +Copy on read store for balances/proxyAllowances of tokens/accounts + +## Hierarchy + +* **OrderFilledCancelledLazyStore** + +## Implements + +* [AbstractOrderFilledCancelledLazyStore](#class-abstractorderfilledcancelledlazystore) + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [deleteAll](#deleteall) +* [deleteAllFilled](#deleteallfilled) +* [deleteAllIsCancelled](#deletealliscancelled) +* [deleteFilledTakerAmount](#deletefilledtakeramount) +* [deleteIsCancelled](#deleteiscancelled) +* [getFilledTakerAmountAsync](#getfilledtakeramountasync) +* [getIsCancelledAsync](#getiscancelledasync) +* [getZRXAssetData](#getzrxassetdata) +* [setFilledTakerAmount](#setfilledtakeramount) +* [setIsCancelled](#setiscancelled) + +## Constructors + +### constructor + +\+ **new OrderFilledCancelledLazyStore**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](#class-orderfilledcancelledlazystore)* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L19)* + +Instantiate a OrderFilledCancelledLazyStore + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderFilledCancelledFetcher` | [AbstractOrderFilledCancelledFetcher](#class-abstractorderfilledcancelledfetcher) | Class instance that implements the AbstractOrderFilledCancelledFetcher | + +**Returns:** *[OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore)* + +An instance of OrderFilledCancelledLazyStore + +## Methods + +### deleteAll + +▸ **deleteAll**(): *void* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L90)* + +Clear all filled/cancelled state + +**Returns:** *void* + +___ + +### deleteAllFilled + +▸ **deleteAllFilled**(): *void* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L103)* + +Clear all filled state + +**Returns:** *void* + +___ + +### deleteAllIsCancelled + +▸ **deleteAllIsCancelled**(): *void* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:97](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L97)* + +Clear all cancelled state + +**Returns:** *void* + +___ + +### deleteFilledTakerAmount + +▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L55)* + +Clear the filledTakerAssetAmount of an order + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderHash` | string | OrderHash from order of interest | + +**Returns:** *void* + +___ + +### deleteIsCancelled + +▸ **deleteIsCancelled**(`orderHash`: string): *void* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L84)* + +Clear whether the order has been cancelled if already set + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderHash` | string | OrderHash from order of interest | + +**Returns:** *void* + +___ + +### getFilledTakerAmountAsync + +▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L35)* + +Get the filledTakerAssetAmount of an order + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderHash` | string | OrderHash from order of interest | + +**Returns:** *`Promise`* + +filledTakerAssetAmount + +___ + +### getIsCancelledAsync + +▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L63)* + +Check if an order has been cancelled + +**Parameters:** + +Name | Type | +------ | ------ | +`signedOrder` | `SignedOrder` | + +**Returns:** *`Promise`* + +Whether the order has been cancelled + +___ + +### getZRXAssetData + +▸ **getZRXAssetData**(): *string* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:109](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L109)* + +Get the ZRX assetData + +**Returns:** *string* + +___ + +### setFilledTakerAmount + +▸ **setFilledTakerAmount**(`orderHash`: string, `filledTakerAmount`: `BigNumber`): *void* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L48)* + +Set the filledTakerAssetAmount of an order + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderHash` | string | OrderHash from order of interest | +`filledTakerAmount` | `BigNumber` | Desired filledTakerAssetAmount | + +**Returns:** *void* + +___ + +### setIsCancelled + +▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* + +*Defined in [store/order_filled_cancelled_lazy_store.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L77)* + +Set whether an order has been cancelled or not + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderHash` | string | OrderHash from order of interest | +`isCancelled` | boolean | Whether this order should be cancelled or not | + +**Returns:** *void* + +
+ +> # Enumeration: TradeSide + +## Index + +### Enumeration members + +* [Maker](#maker) +* [Taker](#taker) + +## Enumeration members + +### Maker + +• **Maker**: = "maker" + +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L9)* + +___ + +### Taker + +• **Taker**: = "taker" + +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L10)* + +
+ +> # Enumeration: TransferType + +## Index + +### Enumeration members + +* [Fee](#fee) +* [Trade](#trade) + +## Enumeration members + +### Fee + +• **Fee**: = "fee" + +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L15)* + +___ + +### Trade + +• **Trade**: = "trade" + +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L14)* + +
+ +> # Enumeration: TypedDataError + +## Index + +### Enumeration members + +* [InvalidMetamaskSigner](#invalidmetamasksigner) +* [InvalidSignature](#invalidsignature) + +## Enumeration members + +### InvalidMetamaskSigner + +• **InvalidMetamaskSigner**: = "MetaMask provider must be wrapped in a MetamaskSubprovider (from the '@0x/subproviders' package) in order to work with this method." + +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L5)* + +___ + +### InvalidSignature + +• **InvalidSignature**: = "INVALID_SIGNATURE" + +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L4)* + +
+ +> # Interface: CreateOrderOpts + +## Hierarchy + +* **CreateOrderOpts** + +## Index + +### Properties + +* [expirationTimeSeconds](#optional-expirationtimeseconds) +* [feeRecipientAddress](#optional-feerecipientaddress) +* [makerFee](#optional-makerfee) +* [salt](#optional-salt) +* [senderAddress](#optional-senderaddress) +* [takerAddress](#optional-takeraddress) +* [takerFee](#optional-takerfee) + +## Properties + +### `Optional` expirationTimeSeconds + +• **expirationTimeSeconds**? : *`BigNumber`* + +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L25)* + +___ + +### `Optional` feeRecipientAddress + +• **feeRecipientAddress**? : *undefined | string* + +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L23)* + +___ + +### `Optional` makerFee + +• **makerFee**? : *`BigNumber`* + +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L21)* + +___ + +### `Optional` salt + +• **salt**? : *`BigNumber`* + +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L24)* + +___ + +### `Optional` senderAddress + +• **senderAddress**? : *undefined | string* + +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L20)* + +___ + +### `Optional` takerAddress + +• **takerAddress**? : *undefined | string* + +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L19)* + +___ + +### `Optional` takerFee + +• **takerFee**? : *`BigNumber`* + +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L22)* + +
+ +> # Interface: FeeOrdersAndRemainingFeeAmount <**T**> + +## Type parameters + +▪ **T** + +## Hierarchy + +* **FeeOrdersAndRemainingFeeAmount** + +## Index + +### Properties + +* [feeOrdersRemainingFillableMakerAssetAmounts](#feeordersremainingfillablemakerassetamounts) +* [remainingFeeAmount](#remainingfeeamount) +* [resultFeeOrders](#resultfeeorders) + +## Properties + +### feeOrdersRemainingFillableMakerAssetAmounts + +• **feeOrdersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* + +*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L70)* + +___ + +### remainingFeeAmount + +• **remainingFeeAmount**: *`BigNumber`* + +*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L71)* + +___ + +### resultFeeOrders + +• **resultFeeOrders**: *`T`[]* + +*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L69)* + +
+ +> # Interface: FindFeeOrdersThatCoverFeesForTargetOrdersOpts + +remainingFillableMakerAssetAmount: An array of BigNumbers corresponding to the `orders` parameter. +You can use `OrderStateUtils` `@0x/order-utils` to perform blockchain lookups for these values. +Defaults to `makerAssetAmount` values from the orders param. +remainingFillableFeeAmounts: An array of BigNumbers corresponding to the feeOrders parameter. +You can use OrderStateUtils @0x/order-utils to perform blockchain lookups for these values. +Defaults to `makerAssetAmount` values from the feeOrders param. +slippageBufferAmount: An additional amount of fee to be covered by the result in case of trade collisions or partial fills. +Defaults to 0 + +## Hierarchy + +* **FindFeeOrdersThatCoverFeesForTargetOrdersOpts** + +## Index + +### Properties + +* [remainingFillableFeeAmounts](#optional-remainingfillablefeeamounts) +* [remainingFillableMakerAssetAmounts](#optional-remainingfillablemakerassetamounts) +* [slippageBufferAmount](#optional-slippagebufferamount) + +## Properties + +### `Optional` remainingFillableFeeAmounts + +• **remainingFillableFeeAmounts**? : *`BigNumber`[]* + +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L64)* + +___ + +### `Optional` remainingFillableMakerAssetAmounts + +• **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* + +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L63)* + +___ + +### `Optional` slippageBufferAmount + +• **slippageBufferAmount**? : *`BigNumber`* + +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L65)* + +
+ +> # Interface: FindOrdersThatCoverMakerAssetFillAmountOpts + +remainingFillableMakerAssetAmount: An array of BigNumbers corresponding to the `orders` parameter. +You can use `OrderStateUtils` `@0x/order-utils` to perform blockchain lookups for these values. +Defaults to `makerAssetAmount` values from the orders param. +slippageBufferAmount: An additional amount of makerAsset to be covered by the result in case of trade collisions or partial fills. +Defaults to 0 + +## Hierarchy + +* **FindOrdersThatCoverMakerAssetFillAmountOpts** + +## Index + +### Properties + +* [remainingFillableMakerAssetAmounts](#optional-remainingfillablemakerassetamounts) +* [slippageBufferAmount](#optional-slippagebufferamount) + +## Properties + +### `Optional` remainingFillableMakerAssetAmounts + +• **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* + +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L36)* + +___ + +### `Optional` slippageBufferAmount + +• **slippageBufferAmount**? : *`BigNumber`* + +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L37)* + +
+ +> # Interface: FindOrdersThatCoverTakerAssetFillAmountOpts + +remainingFillableMakerAssetAmount: An array of BigNumbers corresponding to the `orders` parameter. +You can use `OrderStateUtils` `@0x/order-utils` to perform blockchain lookups for these values. +Defaults to `makerAssetAmount` values from the orders param. +slippageBufferAmount: An additional amount of makerAsset to be covered by the result in case of trade collisions or partial fills. +Defaults to 0 + +## Hierarchy + +* **FindOrdersThatCoverTakerAssetFillAmountOpts** + +## Index + +### Properties + +* [remainingFillableTakerAssetAmounts](#optional-remainingfillabletakerassetamounts) +* [slippageBufferAmount](#optional-slippagebufferamount) + +## Properties + +### `Optional` remainingFillableTakerAssetAmounts + +• **remainingFillableTakerAssetAmounts**? : *`BigNumber`[]* + +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L48)* + +___ + +### `Optional` slippageBufferAmount + +• **slippageBufferAmount**? : *`BigNumber`* + +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L49)* + +
+ +> # Interface: OrdersAndRemainingMakerFillAmount <**T**> + +## Type parameters + +▪ **T** + +## Hierarchy + +* **OrdersAndRemainingMakerFillAmount** + +## Index + +### Properties + +* [ordersRemainingFillableMakerAssetAmounts](#ordersremainingfillablemakerassetamounts) +* [remainingFillAmount](#remainingfillamount) +* [resultOrders](#resultorders) + +## Properties + +### ordersRemainingFillableMakerAssetAmounts + +• **ordersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L76)* + +___ + +### remainingFillAmount + +• **remainingFillAmount**: *`BigNumber`* + +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L77)* + +___ + +### resultOrders + +• **resultOrders**: *`T`[]* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L75)* + +
+ +> # Interface: OrdersAndRemainingTakerFillAmount <**T**> + +## Type parameters + +▪ **T** + +## Hierarchy + +* **OrdersAndRemainingTakerFillAmount** + +## Index + +### Properties + +* [ordersRemainingFillableTakerAssetAmounts](#ordersremainingfillabletakerassetamounts) +* [remainingFillAmount](#remainingfillamount) +* [resultOrders](#resultorders) + +## Properties + +### ordersRemainingFillableTakerAssetAmounts + +• **ordersRemainingFillableTakerAssetAmounts**: *`BigNumber`[]* + +*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L82)* + +___ + +### remainingFillAmount + +• **remainingFillAmount**: *`BigNumber`* + +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L83)* + +___ + +### resultOrders + +• **resultOrders**: *`T`[]* + +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L81)* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [abstract/abstract_balance_and_proxy_allowance_fetcher](modules/_abstract_abstract_balance_and_proxy_allowance_fetcher_.md) + * [abstract/abstract_balance_and_proxy_allowance_fetcher.AbstractBalanceAndProxyAllowanceFetcher](#class-abstractbalanceandproxyallowancefetcher) + * [abstract/abstract_balance_and_proxy_allowance_lazy_store](modules/_abstract_abstract_balance_and_proxy_allowance_lazy_store_.md) + * [abstract/abstract_balance_and_proxy_allowance_lazy_store.AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) + * [abstract/abstract_order_filled_cancelled_fetcher](modules/_abstract_abstract_order_filled_cancelled_fetcher_.md) + * [abstract/abstract_order_filled_cancelled_fetcher.AbstractOrderFilledCancelledFetcher](#class-abstractorderfilledcancelledfetcher) + * [abstract/abstract_order_filled_cancelled_lazy_store](modules/_abstract_abstract_order_filled_cancelled_lazy_store_.md) + * [abstract/abstract_order_filled_cancelled_lazy_store.AbstractOrderFilledCancelledLazyStore](#class-abstractorderfilledcancelledlazystore) + * [assert](modules/_assert_.md) + * [asset_data_utils](modules/_asset_data_utils_.md) + * [constants](modules/_constants_.md) + * [crypto](modules/_crypto_.md) + * [eip712_utils](modules/_eip712_utils_.md) + * [exchange_transfer_simulator](modules/_exchange_transfer_simulator_.md) + * [exchange_transfer_simulator.ExchangeTransferSimulator](#class-exchangetransfersimulator) + * [index](modules/_index_.md) + * [market_utils](modules/_market_utils_.md) + * [order_calculation_utils](modules/_order_calculation_utils_.md) + * [order_factory](modules/_order_factory_.md) + * [order_hash](modules/_order_hash_.md) + * [order_state_utils](modules/_order_state_utils_.md) + * [order_state_utils.OrderStateUtils](#class-orderstateutils) + * [order_validation_utils](modules/_order_validation_utils_.md) + * [order_validation_utils.OrderValidationUtils](#class-ordervalidationutils) + * [parsing_utils](modules/_parsing_utils_.md) + * [rate_utils](modules/_rate_utils_.md) + * [remaining_fillable_calculator](modules/_remaining_fillable_calculator_.md) + * [remaining_fillable_calculator.RemainingFillableCalculator](#class-remainingfillablecalculator) + * [salt](modules/_salt_.md) + * [signature_utils](modules/_signature_utils_.md) + * [sorting_utils](modules/_sorting_utils_.md) + * [store/balance_and_proxy_allowance_lazy_store](modules/_store_balance_and_proxy_allowance_lazy_store_.md) + * [store/balance_and_proxy_allowance_lazy_store.BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore) + * [store/order_filled_cancelled_lazy_store](modules/_store_order_filled_cancelled_lazy_store_.md) + * [store/order_filled_cancelled_lazy_store.OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore) + * [transaction_hash](modules/_transaction_hash_.md) + * [types](modules/_types_.md) + * [types.TradeSide](#class-tradeside) + * [types.TransferType](#class-transfertype) + * [types.TypedDataError](#class-typeddataerror) + * [types.CreateOrderOpts](#class-createorderopts) + * [types.FeeOrdersAndRemainingFeeAmount](#class-feeordersandremainingfeeamount) + * [types.FindFeeOrdersThatCoverFeesForTargetOrdersOpts](#class-findfeeordersthatcoverfeesfortargetordersopts) + * [types.FindOrdersThatCoverMakerAssetFillAmountOpts](#class-findordersthatcovermakerassetfillamountopts) + * [types.FindOrdersThatCoverTakerAssetFillAmountOpts](#class-findordersthatcovertakerassetfillamountopts) + * [types.OrdersAndRemainingMakerFillAmount](#class-ordersandremainingmakerfillamount) + * [types.OrdersAndRemainingTakerFillAmount](#class-ordersandremainingtakerfillamount) + * [utils](modules/_utils_.md) +* [Classes]() + * [abstract/abstract_balance_and_proxy_allowance_fetcher.AbstractBalanceAndProxyAllowanceFetcher](#class-abstractbalanceandproxyallowancefetcher) + * [abstract/abstract_balance_and_proxy_allowance_lazy_store.AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) + * [abstract/abstract_order_filled_cancelled_fetcher.AbstractOrderFilledCancelledFetcher](#class-abstractorderfilledcancelledfetcher) + * [abstract/abstract_order_filled_cancelled_lazy_store.AbstractOrderFilledCancelledLazyStore](#class-abstractorderfilledcancelledlazystore) + * [exchange_transfer_simulator.ExchangeTransferSimulator](#class-exchangetransfersimulator) + * [order_state_utils.OrderStateUtils](#class-orderstateutils) + * [order_validation_utils.OrderValidationUtils](#class-ordervalidationutils) + * [remaining_fillable_calculator.RemainingFillableCalculator](#class-remainingfillablecalculator) + * [store/balance_and_proxy_allowance_lazy_store.BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore) + * [store/order_filled_cancelled_lazy_store.OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore) +* [Enums]() + * [types.TradeSide](#class-tradeside) + * [types.TransferType](#class-transfertype) + * [types.TypedDataError](#class-typeddataerror) +* [Interfaces]() + * [types.CreateOrderOpts](#class-createorderopts) + * [types.FeeOrdersAndRemainingFeeAmount](#class-feeordersandremainingfeeamount) + * [types.FindFeeOrdersThatCoverFeesForTargetOrdersOpts](#class-findfeeordersthatcoverfeesfortargetordersopts) + * [types.FindOrdersThatCoverMakerAssetFillAmountOpts](#class-findordersthatcovermakerassetfillamountopts) + * [types.FindOrdersThatCoverTakerAssetFillAmountOpts](#class-findordersthatcovertakerassetfillamountopts) + * [types.OrdersAndRemainingMakerFillAmount](#class-ordersandremainingmakerfillamount) + * [types.OrdersAndRemainingTakerFillAmount](#class-ordersandremainingtakerfillamount) + +
+ diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index e4ad15e222..944c5f7879 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -19,6 +19,8 @@ "clean": "shx rm -rf lib generated_docs", "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -37,6 +39,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", @@ -52,7 +55,7 @@ "shx": "^0.2.2", "sinon": "^4.0.0", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typescript": "3.0.1", "web3-provider-engine": "14.0.6" }, diff --git a/packages/order-watcher/docs/reference.md b/packages/order-watcher/docs/reference.md new file mode 100644 index 0000000000..f1d24e741b --- /dev/null +++ b/packages/order-watcher/docs/reference.md @@ -0,0 +1,1169 @@ +> # Class: CollisionResistanceAbiDecoder + +ERC20 and ERC721 have some events with different args but colliding signature. +For exmaple: +Transfer(_from address, _to address, _value uint256) +Transfer(_from address, _to address, _tokenId uint256) +Both have the signature: +Transfer(address,address,uint256) + +In order to correctly decode those events we need to know the token type by address in advance. +You can pass it by calling `this.addERC20Token(address)` or `this.addERC721Token(address)` + +## Hierarchy + +* **CollisionResistanceAbiDecoder** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [addERC20Token](#adderc20token) +* [addERC721Token](#adderc721token) +* [tryToDecodeLogOrNoop](#trytodecodelogornoop) + +## Constructors + +### constructor + +\+ **new CollisionResistanceAbiDecoder**(`erc20Abi`: `ContractAbi`, `erc721Abi`: `ContractAbi`, `abis`: `ContractAbi`[]): *[CollisionResistanceAbiDecoder](#class-collisionresistanceabidecoder)* + +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L22)* + +**Parameters:** + +Name | Type | +------ | ------ | +`erc20Abi` | `ContractAbi` | +`erc721Abi` | `ContractAbi` | +`abis` | `ContractAbi`[] | + +**Returns:** *[CollisionResistanceAbiDecoder](#class-collisionresistanceabidecoder)* + +## Methods + +### addERC20Token + +▸ **addERC20Token**(`address`: string): *void* + +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L44)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | + +**Returns:** *void* + +___ + +### addERC721Token + +▸ **addERC721Token**(`address`: string): *void* + +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L51)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | + +**Returns:** *void* + +___ + +### tryToDecodeLogOrNoop + +▸ **tryToDecodeLogOrNoop**<**ArgsType**>(`log`: `LogEntry`): *`LogWithDecodedArgs` | `RawLog`* + +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L28)* + +**Type parameters:** + +▪ **ArgsType**: *`DecodedLogArgs`* + +**Parameters:** + +Name | Type | +------ | ------ | +`log` | `LogEntry` | + +**Returns:** *`LogWithDecodedArgs` | `RawLog`* + +
+ +> # Class: DependentOrderHashesTracker + +## Hierarchy + +* **DependentOrderHashesTracker** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [addToDependentOrderHashes](#addtodependentorderhashes) +* [getDependentOrderHashesByAssetDataByMaker](#getdependentorderhashesbyassetdatabymaker) +* [getDependentOrderHashesByERC721ByMaker](#getdependentorderhashesbyerc721bymaker) +* [getDependentOrderHashesByMaker](#getdependentorderhashesbymaker) +* [removeFromDependentOrderHashes](#removefromdependentorderhashes) + +## Constructors + +### constructor + +\+ **new DependentOrderHashesTracker**(`zrxTokenAddress`: string): *[DependentOrderHashesTracker](#class-dependentorderhashestracker)* + +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L35)* + +**Parameters:** + +Name | Type | +------ | ------ | +`zrxTokenAddress` | string | + +**Returns:** *[DependentOrderHashesTracker](#class-dependentorderhashestracker)* + +## Methods + +### addToDependentOrderHashes + +▸ **addToDependentOrderHashes**(`signedOrder`: `SignedOrder`): *void* + +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:69](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L69)* + +**Parameters:** + +Name | Type | +------ | ------ | +`signedOrder` | `SignedOrder` | + +**Returns:** *void* + +___ + +### getDependentOrderHashesByAssetDataByMaker + +▸ **getDependentOrderHashesByAssetDataByMaker**(`makerAddress`: string, `assetData`: string): *string[]* + +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L61)* + +**Parameters:** + +Name | Type | +------ | ------ | +`makerAddress` | string | +`assetData` | string | + +**Returns:** *string[]* + +___ + +### getDependentOrderHashesByERC721ByMaker + +▸ **getDependentOrderHashesByERC721ByMaker**(`makerAddress`: string, `tokenAddress`: string): *string[]* + +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L39)* + +**Parameters:** + +Name | Type | +------ | ------ | +`makerAddress` | string | +`tokenAddress` | string | + +**Returns:** *string[]* + +___ + +### getDependentOrderHashesByMaker + +▸ **getDependentOrderHashesByMaker**(`makerAddress`: string): *string[]* + +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L57)* + +**Parameters:** + +Name | Type | +------ | ------ | +`makerAddress` | string | + +**Returns:** *string[]* + +___ + +### removeFromDependentOrderHashes + +▸ **removeFromDependentOrderHashes**(`signedOrder`: `SignedOrder`): *void* + +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L74)* + +**Parameters:** + +Name | Type | +------ | ------ | +`signedOrder` | `SignedOrder` | + +**Returns:** *void* + +
+ +> # Class: EventWatcher + +The EventWatcher watches for blockchain events at the specified block confirmation +depth. + +## Hierarchy + +* **EventWatcher** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) + +## Constructors + +### constructor + +\+ **new EventWatcher**(`supportedProvider`: `SupportedProvider`, `pollingIntervalIfExistsMs`: undefined | number, `isVerbose`: boolean): *[EventWatcher](#class-eventwatcher)* + +*Defined in [order_watcher/event_watcher.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/event_watcher.ts#L28)* + +**Parameters:** + +Name | Type | +------ | ------ | +`supportedProvider` | `SupportedProvider` | +`pollingIntervalIfExistsMs` | undefined \| number | +`isVerbose` | boolean | + +**Returns:** *[EventWatcher](#class-eventwatcher)* + +## Methods + +### subscribe + +▸ **subscribe**(`callback`: [EventWatcherCallback](#eventwatchercallback)): *void* + +*Defined in [order_watcher/event_watcher.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/event_watcher.ts#L43)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callback` | [EventWatcherCallback](#eventwatchercallback) | + +**Returns:** *void* + +___ + +### unsubscribe + +▸ **unsubscribe**(): *void* + +*Defined in [order_watcher/event_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/event_watcher.ts#L50)* + +**Returns:** *void* + +
+ +> # Class: ExpirationWatcher + +This class includes the functionality to detect expired orders. +It stores them in a min heap by expiration time and checks for expired ones every `orderExpirationCheckingIntervalMs` + +## Hierarchy + +* **ExpirationWatcher** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [addOrder](#addorder) +* [removeOrder](#removeorder) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) + +## Constructors + +### constructor + +\+ **new ExpirationWatcher**(`expirationMarginIfExistsMs?`: undefined | number, `orderExpirationCheckingIntervalIfExistsMs?`: undefined | number): *[ExpirationWatcher](#class-expirationwatcher)* + +*Defined in [order_watcher/expiration_watcher.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L20)* + +**Parameters:** + +Name | Type | +------ | ------ | +`expirationMarginIfExistsMs?` | undefined \| number | +`orderExpirationCheckingIntervalIfExistsMs?` | undefined \| number | + +**Returns:** *[ExpirationWatcher](#class-expirationwatcher)* + +## Methods + +### addOrder + +▸ **addOrder**(`orderHash`: string, `expirationUnixTimestampMs`: `BigNumber`): *void* + +*Defined in [order_watcher/expiration_watcher.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L57)* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | +`expirationUnixTimestampMs` | `BigNumber` | + +**Returns:** *void* + +___ + +### removeOrder + +▸ **removeOrder**(`orderHash`: string): *void* + +*Defined in [order_watcher/expiration_watcher.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L61)* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | + +**Returns:** *void* + +___ + +### subscribe + +▸ **subscribe**(`callback`: function): *void* + +*Defined in [order_watcher/expiration_watcher.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L40)* + +**Parameters:** + +▪ **callback**: *function* + +▸ (`orderHash`: string): *void* + +**Parameters:** + +Name | Type | +------ | ------ | +`orderHash` | string | + +**Returns:** *void* + +___ + +### unsubscribe + +▸ **unsubscribe**(): *void* + +*Defined in [order_watcher/expiration_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L50)* + +**Returns:** *void* + +
+ +> # Class: OrderWatcher + +This class includes all the functionality related to watching a set of orders +for potential changes in order validity/fillability. The orderWatcher notifies +the subscriber of these changes so that a final decision can be made on whether +the order should be deemed invalid. + +## Hierarchy + +* **OrderWatcher** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [addOrderAsync](#addorderasync) +* [getStats](#getstats) +* [removeOrder](#removeorder) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) + +## Constructors + +### constructor + +\+ **new OrderWatcher**(`supportedProvider`: `SupportedProvider`, `networkId`: number, `contractAddresses?`: `ContractAddresses`, `partialConfig`: `Partial`): *[OrderWatcher](#class-orderwatcher)* + +*Defined in [order_watcher/order_watcher.ts:98](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L98)* + +Instantiate a new OrderWatcher + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | Web3 provider to use for JSON RPC calls | +`networkId` | number | - | NetworkId to watch orders on | +`contractAddresses?` | `ContractAddresses` | - | Optional contract addresses. Defaults to known addresses based on networkId. | +`partialConfig` | `Partial` | DEFAULT_ORDER_WATCHER_CONFIG | Optional configurations | + +**Returns:** *[OrderWatcher](#class-orderwatcher)* + +## Methods + +### addOrderAsync + +▸ **addOrderAsync**(`signedOrder`: `SignedOrder`): *`Promise`* + +*Defined in [order_watcher/order_watcher.ts:160](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L160)* + +Add an order to the orderWatcher. Before the order is added, it's +signature is verified. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`signedOrder` | `SignedOrder` | The order you wish to start watching. | + +**Returns:** *`Promise`* + +___ + +### getStats + +▸ **getStats**(): *`Stats`* + +*Defined in [order_watcher/order_watcher.ts:231](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L231)* + +Gets statistics of the OrderWatcher Instance. + +**Returns:** *`Stats`* + +___ + +### removeOrder + +▸ **removeOrder**(`orderHash`: string): *void* + +*Defined in [order_watcher/order_watcher.ts:178](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L178)* + +Removes an order from the orderWatcher + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orderHash` | string | The orderHash of the order you wish to stop watching. | + +**Returns:** *void* + +___ + +### subscribe + +▸ **subscribe**(`callback`: [OnOrderStateChangeCallback](#onorderstatechangecallback)): *void* + +*Defined in [order_watcher/order_watcher.ts:195](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L195)* + +Starts an orderWatcher subscription. The callback will be called every time a watched order's +backing blockchain state has changed. This is a call-to-action for the caller to re-validate the order. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`callback` | [OnOrderStateChangeCallback](#onorderstatechangecallback) | Receives the orderHash of the order that should be re-validated, together with all the order-relevant blockchain state needed to re-validate the order. | + +**Returns:** *void* + +___ + +### unsubscribe + +▸ **unsubscribe**(): *void* + +*Defined in [order_watcher/order_watcher.ts:217](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L217)* + +Ends an orderWatcher subscription. + +**Returns:** *void* + +
+ +> # Class: OrderWatcherWebSocketServer + +## Hierarchy + +* **OrderWatcherWebSocketServer** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [start](#start) +* [stop](#stop) + +## Constructors + +### constructor + +\+ **new OrderWatcherWebSocketServer**(`supportedProvider`: `SupportedProvider`, `networkId`: number, `contractAddresses?`: `ContractAddresses`, `orderWatcherConfig?`: `Partial`): *[OrderWatcherWebSocketServer](#class-orderwatcherwebsocketserver)* + +*Defined in [order_watcher/order_watcher_web_socket_server.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L42)* + +Instantiate a new WebSocket server which provides OrderWatcher functionality + @param supportedProvider Web3 provider to use for JSON RPC calls. + @param networkId NetworkId to watch orders on. + @param contractAddresses Optional contract addresses. Defaults to known + addresses based on networkId. + @param orderWatcherConfig OrderWatcher configurations. isVerbose sets the verbosity for the WebSocket server aswell. + @param isVerbose Whether to enable verbose logging. Defaults to true. + +**Parameters:** + +Name | Type | +------ | ------ | +`supportedProvider` | `SupportedProvider` | +`networkId` | number | +`contractAddresses?` | `ContractAddresses` | +`orderWatcherConfig?` | `Partial` | + +**Returns:** *[OrderWatcherWebSocketServer](#class-orderwatcherwebsocketserver)* + +## Methods + +### start + +▸ **start**(): *void* + +*Defined in [order_watcher/order_watcher_web_socket_server.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L92)* + +Activates the WebSocket server by subscribing to the OrderWatcher and +starting the WebSocket's HTTP server + +**Returns:** *void* + +___ + +### stop + +▸ **stop**(): *void* + +*Defined in [order_watcher/order_watcher_web_socket_server.ts:107](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L107)* + +Deactivates the WebSocket server by stopping the HTTP server from accepting +new connections and unsubscribing from the OrderWatcher + +**Returns:** *void* + +
+ +> # Enumeration: InternalOrderWatcherError + +## Index + +### Enumeration members + +* [NoAbiDecoder](#noabidecoder) +* [WethNotInTokenRegistry](#wethnotintokenregistry) +* [ZrxNotInTokenRegistry](#zrxnotintokenregistry) + +## Enumeration members + +### NoAbiDecoder + +• **NoAbiDecoder**: = "NO_ABI_DECODER" + +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L30)* + +___ + +### WethNotInTokenRegistry + +• **WethNotInTokenRegistry**: = "WETH_NOT_IN_TOKEN_REGISTRY" + +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L32)* + +___ + +### ZrxNotInTokenRegistry + +• **ZrxNotInTokenRegistry**: = "ZRX_NOT_IN_TOKEN_REGISTRY" + +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L31)* + +
+ +> # Enumeration: OrderWatcherError + +## Index + +### Enumeration members + +* [SubscriptionAlreadyPresent](#subscriptionalreadypresent) +* [SubscriptionNotFound](#subscriptionnotfound) + +## Enumeration members + +### SubscriptionAlreadyPresent + +• **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" + +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L5)* + +___ + +### SubscriptionNotFound + +• **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" + +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L6)* + +
+ +> # Enumeration: OrderWatcherMethod + +## Index + +### Enumeration members + +* [AddOrder](#addorder) +* [GetStats](#getstats) +* [RemoveOrder](#removeorder) +* [Update](#update) + +## Enumeration members + +### AddOrder + +• **AddOrder**: = "ADD_ORDER" + +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L38)* + +___ + +### GetStats + +• **GetStats**: = "GET_STATS" + +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L37)* + +___ + +### RemoveOrder + +• **RemoveOrder**: = "REMOVE_ORDER" + +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L39)* + +___ + +### Update + +• **Update**: = "UPDATE" + +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L41)* + +
+ +> # Interface: OrderHashesByERC20ByMakerAddress + +## Hierarchy + +* **OrderHashesByERC20ByMakerAddress** + +## Indexable + +● \[▪ **makerAddress**: *string*\]: object + +● \[▪ **erc20TokenAddress**: *string*\]: `Set` + +
+ +> # Interface: OrderHashesByERC721AddressByTokenIdByMakerAddress + +## Hierarchy + +* **OrderHashesByERC721AddressByTokenIdByMakerAddress** + +## Indexable + +● \[▪ **makerAddress**: *string*\]: object + +● \[▪ **erc721TokenAddress**: *string*\]: object + +● \[▪ **erc721TokenId**: *string*\]: `Set` + +
+ +> # Interface: OrderHashesByMakerAddress + +## Hierarchy + +* **OrderHashesByMakerAddress** + +## Indexable + +● \[▪ **makerAddress**: *string*\]: `Set` + +
+ +> # Interface: AddOrderRequest + +## Hierarchy + +* **AddOrderRequest** + +## Index + +### Properties + +* [id](#id) +* [jsonrpc](#jsonrpc) +* [method](#method) +* [params](#params) + +## Properties + +### id + +• **id**: *number* + +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L52)* + +___ + +### jsonrpc + +• **jsonrpc**: *string* + +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L53)* + +___ + +### method + +• **method**: *[AddOrder](#addorder)* + +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L54)* + +___ + +### params + +• **params**: *object* + +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L55)* + +#### Type declaration: + +
+ +> # Interface: ErrorWebSocketResponse + +## Hierarchy + +* **ErrorWebSocketResponse** + +## Index + +### Properties + +* [error](#error) +* [id](#id) +* [jsonrpc](#jsonrpc) +* [method](#method) + +## Properties + +### error + +• **error**: *[JSONRPCError](#interface-jsonrpcerror)* + +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L86)* + +___ + +### id + +• **id**: *number | null* + +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L83)* + +___ + +### jsonrpc + +• **jsonrpc**: *string* + +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L84)* + +___ + +### method + +• **method**: *null* + +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L85)* + +
+ +> # Interface: GetStatsRequest + +## Hierarchy + +* **GetStatsRequest** + +## Index + +### Properties + +* [id](#id) +* [jsonrpc](#jsonrpc) +* [method](#method) + +## Properties + +### id + +• **id**: *number* + +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L66)* + +___ + +### jsonrpc + +• **jsonrpc**: *string* + +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L67)* + +___ + +### method + +• **method**: *[GetStats](#getstats)* + +*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L68)* + +
+ +> # Interface: GetStatsResult + +## Hierarchy + +* **GetStatsResult** + +## Index + +### Properties + +* [orderCount](#ordercount) + +## Properties + +### orderCount + +• **orderCount**: *number* + +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L96)* + +
+ +> # Interface: JSONRPCError + +## Hierarchy + +* **JSONRPCError** + +## Index + +### Properties + +* [code](#code) +* [data](#optional-data) +* [message](#message) + +## Properties + +### code + +• **code**: *number* + +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L90)* + +___ + +### `Optional` data + +• **data**? : *string | object* + +*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L92)* + +___ + +### message + +• **message**: *string* + +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L91)* + +
+ +> # Interface: OrderWatcherConfig + +orderExpirationCheckingIntervalMs: How often to check for expired orders. Default=50. +eventPollingIntervalMs: How often to poll the Ethereum node for new events. Default=200. +expirationMarginMs: Amount of time before order expiry that you'd like to be notified +of an orders expiration. Default=0. +cleanupJobIntervalMs: How often to run a cleanup job which revalidates all the orders. Default=1hr. +isVerbose: Weather the order watcher should be verbose. Default=true. + +## Hierarchy + +* **OrderWatcherConfig** + +## Index + +### Properties + +* [cleanupJobIntervalMs](#cleanupjobintervalms) +* [eventPollingIntervalMs](#eventpollingintervalms) +* [expirationMarginMs](#expirationmarginms) +* [isVerbose](#isverbose) +* [orderExpirationCheckingIntervalMs](#orderexpirationcheckingintervalms) + +## Properties + +### cleanupJobIntervalMs + +• **cleanupJobIntervalMs**: *number* + +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L23)* + +___ + +### eventPollingIntervalMs + +• **eventPollingIntervalMs**: *number* + +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L21)* + +___ + +### expirationMarginMs + +• **expirationMarginMs**: *number* + +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L22)* + +___ + +### isVerbose + +• **isVerbose**: *boolean* + +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L24)* + +___ + +### orderExpirationCheckingIntervalMs + +• **orderExpirationCheckingIntervalMs**: *number* + +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L20)* + +
+ +> # Interface: RemoveOrderRequest + +## Hierarchy + +* **RemoveOrderRequest** + +## Index + +### Properties + +* [id](#id) +* [jsonrpc](#jsonrpc) +* [method](#method) +* [params](#params) + +## Properties + +### id + +• **id**: *number* + +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L59)* + +___ + +### jsonrpc + +• **jsonrpc**: *string* + +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L60)* + +___ + +### method + +• **method**: *[RemoveOrder](#removeorder)* + +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L61)* + +___ + +### params + +• **params**: *object* + +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L62)* + +#### Type declaration: + +
+ +> # Interface: SuccessfulWebSocketResponse + +## Hierarchy + +* **SuccessfulWebSocketResponse** + +## Index + +### Properties + +* [id](#id) +* [jsonrpc](#jsonrpc) +* [method](#method) +* [result](#result) + +## Properties + +### id + +• **id**: *number* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L76)* + +___ + +### jsonrpc + +• **jsonrpc**: *string* + +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L77)* + +___ + +### method + +• **method**: *[OrderWatcherMethod](#enumeration-orderwatchermethod)* + +*Defined in [types.ts:78](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L78)* + +___ + +### result + +• **result**: *`OrderState` | [GetStatsResult](#interface-getstatsresult) | undefined* + +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L79)* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [index](modules/_index_.md) + * [order_watcher/collision_resistant_abi_decoder](modules/_order_watcher_collision_resistant_abi_decoder_.md) + * [order_watcher/collision_resistant_abi_decoder.CollisionResistanceAbiDecoder](#class-collisionresistanceabidecoder) + * [order_watcher/dependent_order_hashes_tracker](modules/_order_watcher_dependent_order_hashes_tracker_.md) + * [order_watcher/dependent_order_hashes_tracker.DependentOrderHashesTracker](#class-dependentorderhashestracker) + * [order_watcher/dependent_order_hashes_tracker.OrderHashesByERC20ByMakerAddress](#class-orderhashesbyerc20bymakeraddress) + * [order_watcher/dependent_order_hashes_tracker.OrderHashesByERC721AddressByTokenIdByMakerAddress](#class-orderhashesbyerc721addressbytokenidbymakeraddress) + * [order_watcher/dependent_order_hashes_tracker.OrderHashesByMakerAddress](#class-orderhashesbymakeraddress) + * [order_watcher/event_watcher](modules/_order_watcher_event_watcher_.md) + * [order_watcher/event_watcher.EventWatcher](#class-eventwatcher) + * [order_watcher/expiration_watcher](modules/_order_watcher_expiration_watcher_.md) + * [order_watcher/expiration_watcher.ExpirationWatcher](#class-expirationwatcher) + * [order_watcher/order_watcher](modules/_order_watcher_order_watcher_.md) + * [order_watcher/order_watcher.OrderWatcher](#class-orderwatcher) + * [order_watcher/order_watcher_web_socket_server](modules/_order_watcher_order_watcher_web_socket_server_.md) + * [order_watcher/order_watcher_web_socket_server.OrderWatcherWebSocketServer](#class-orderwatcherwebsocketserver) + * [schemas/order_watcher_partial_config_schema](modules/_schemas_order_watcher_partial_config_schema_.md) + * [server](modules/_server_.md) + * [types](modules/_types_.md) + * [types.InternalOrderWatcherError](#class-internalorderwatchererror) + * [types.OrderWatcherError](#class-orderwatchererror) + * [types.OrderWatcherMethod](#class-orderwatchermethod) + * [types.AddOrderRequest](#class-addorderrequest) + * [types.ErrorWebSocketResponse](#class-errorwebsocketresponse) + * [types.GetStatsRequest](#class-getstatsrequest) + * [types.GetStatsResult](#class-getstatsresult) + * [types.JSONRPCError](#class-jsonrpcerror) + * [types.OrderWatcherConfig](#class-orderwatcherconfig) + * [types.RemoveOrderRequest](#class-removeorderrequest) + * [types.SuccessfulWebSocketResponse](#class-successfulwebsocketresponse) + * [utils/assert](modules/_utils_assert_.md) + * [utils/utils](modules/_utils_utils_.md) +* [Classes]() + * [order_watcher/collision_resistant_abi_decoder.CollisionResistanceAbiDecoder](#class-collisionresistanceabidecoder) + * [order_watcher/dependent_order_hashes_tracker.DependentOrderHashesTracker](#class-dependentorderhashestracker) + * [order_watcher/event_watcher.EventWatcher](#class-eventwatcher) + * [order_watcher/expiration_watcher.ExpirationWatcher](#class-expirationwatcher) + * [order_watcher/order_watcher.OrderWatcher](#class-orderwatcher) + * [order_watcher/order_watcher_web_socket_server.OrderWatcherWebSocketServer](#class-orderwatcherwebsocketserver) +* [Enums]() + * [types.InternalOrderWatcherError](#class-internalorderwatchererror) + * [types.OrderWatcherError](#class-orderwatchererror) + * [types.OrderWatcherMethod](#class-orderwatchermethod) +* [Interfaces]() + * [order_watcher/dependent_order_hashes_tracker.OrderHashesByERC20ByMakerAddress](#class-orderhashesbyerc20bymakeraddress) + * [order_watcher/dependent_order_hashes_tracker.OrderHashesByERC721AddressByTokenIdByMakerAddress](#class-orderhashesbyerc721addressbytokenidbymakeraddress) + * [order_watcher/dependent_order_hashes_tracker.OrderHashesByMakerAddress](#class-orderhashesbymakeraddress) + * [types.AddOrderRequest](#class-addorderrequest) + * [types.ErrorWebSocketResponse](#class-errorwebsocketresponse) + * [types.GetStatsRequest](#class-getstatsrequest) + * [types.GetStatsResult](#class-getstatsresult) + * [types.JSONRPCError](#class-jsonrpcerror) + * [types.OrderWatcherConfig](#class-orderwatcherconfig) + * [types.RemoveOrderRequest](#class-removeorderrequest) + * [types.SuccessfulWebSocketResponse](#class-successfulwebsocketresponse) + +
+ diff --git a/packages/sol-compiler/docs/reference.md b/packages/sol-compiler/docs/reference.md new file mode 100644 index 0000000000..7fd3fdee1b --- /dev/null +++ b/packages/sol-compiler/docs/reference.md @@ -0,0 +1,401 @@ +> # Class: Compiler + +The Compiler facilitates compiling Solidity smart contracts and saves the results +to artifact files. + +## Hierarchy + +* **Compiler** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [compileAsync](#compileasync) +* [getCompilerOutputsAsync](#getcompileroutputsasync) +* [watchAsync](#watchasync) + +## Constructors + +### constructor + +\+ **new Compiler**(`opts?`: `CompilerOptions`): *[Compiler](#class-compiler)* + +*Defined in [compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/compiler.ts#L94)* + +Instantiates a new instance of the Compiler class. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`opts?` | `CompilerOptions` | Optional compiler options | + +**Returns:** *[Compiler](#class-compiler)* + +An instance of the Compiler class. + +## Methods + +### compileAsync + +▸ **compileAsync**(): *`Promise`* + +*Defined in [compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/compiler.ts#L132)* + +Compiles selected Solidity files found in `contractsDir` and writes JSON artifacts to `artifactsDir`. + +**Returns:** *`Promise`* + +___ + +### getCompilerOutputsAsync + +▸ **getCompilerOutputsAsync**(): *`Promise`* + +*Defined in [compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/compiler.ts#L145)* + +Compiles Solidity files specified during instantiation, and returns the +compiler output given by solc. Return value is an array of outputs: +Solidity modules are batched together by version required, and each +element of the returned array corresponds to a compiler version, and +each element contains the output for all of the modules compiled with +that version. + +**Returns:** *`Promise`* + +___ + +### watchAsync + +▸ **watchAsync**(): *`Promise`* + +*Defined in [compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/compiler.ts#L149)* + +**Returns:** *`Promise`* + +
+ +> # Class: CompilationError + +## Hierarchy + +* `Error` + + * **CompilationError** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [errorsCount](#errorscount) +* [message](#message) +* [name](#name) +* [stack](#optional-stack) +* [typeName](#typename) +* [Error](#static-error) + +## Constructors + +### constructor + +\+ **new CompilationError**(`errorsCount`: number): *[CompilationError](#class-compilationerror)* + +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L39)* + +**Parameters:** + +Name | Type | +------ | ------ | +`errorsCount` | number | + +**Returns:** *[CompilationError](#class-compilationerror)* + +## Properties + +### errorsCount + +• **errorsCount**: *number* + +*Defined in [utils/types.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L38)* + +___ + +### message + +• **message**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974 + +___ + +### name + +• **name**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973 + +___ + +### `Optional` stack + +• **stack**? : *undefined | string* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975 + +___ + +### typeName + +• **typeName**: *string* = "CompilationError" + +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L39)* + +___ + +### `Static` Error + +▪ **Error**: *`ErrorConstructor`* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984 + +
+ +> # Enumeration: AbiType + +## Index + +### Enumeration members + +* [Constructor](#constructor) +* [Event](#event) +* [Fallback](#fallback) +* [Function](#function) + +## Enumeration members + +### Constructor + +• **Constructor**: = "constructor" + +*Defined in [utils/types.ts:3](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L3)* + +___ + +### Event + +• **Event**: = "event" + +*Defined in [utils/types.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L4)* + +___ + +### Fallback + +• **Fallback**: = "fallback" + +*Defined in [utils/types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L5)* + +___ + +### Function + +• **Function**: = "function" + +*Defined in [utils/types.ts:2](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L2)* + +
+ +> # Interface: BinaryPaths + +## Hierarchy + +* **BinaryPaths** + +## Indexable + +● \[▪ **key**: *string*\]: string + +
+ +> # Interface: ContractSourceData + +## Hierarchy + +* **ContractSourceData** + +## Indexable + +● \[▪ **contractName**: *string*\]: [ContractSpecificSourceData](#class-contractspecificsourcedata) + +
+ +> # Interface: ContractSpecificSourceData + +## Hierarchy + +* **ContractSpecificSourceData** + +## Index + +### Properties + +* [solcVersionRange](#solcversionrange) +* [sourceHash](#sourcehash) +* [sourceTreeHash](#sourcetreehash) + +## Properties + +### solcVersionRange + +• **solcVersionRange**: *string* + +*Defined in [utils/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L21)* + +___ + +### sourceHash + +• **sourceHash**: *`Buffer`* + +*Defined in [utils/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L22)* + +___ + +### sourceTreeHash + +• **sourceTreeHash**: *`Buffer`* + +*Defined in [utils/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L23)* + +
+ +> # Interface: SolcErrors + +## Hierarchy + +* **SolcErrors** + +## Indexable + +● \[▪ **key**: *string*\]: boolean + +
+ +> # Interface: Token + +## Hierarchy + +* **Token** + +## Index + +### Properties + +* [address](#optional-address) +* [decimals](#decimals) +* [ipfsHash](#ipfshash) +* [name](#name) +* [swarmHash](#swarmhash) +* [symbol](#symbol) + +## Properties + +### `Optional` address + +• **address**? : *undefined | string* + +*Defined in [utils/types.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L27)* + +___ + +### decimals + +• **decimals**: *number* + +*Defined in [utils/types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L30)* + +___ + +### ipfsHash + +• **ipfsHash**: *string* + +*Defined in [utils/types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L31)* + +___ + +### name + +• **name**: *string* + +*Defined in [utils/types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L28)* + +___ + +### swarmHash + +• **swarmHash**: *string* + +*Defined in [utils/types.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L32)* + +___ + +### symbol + +• **symbol**: *string* + +*Defined in [utils/types.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L29)* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [cli](modules/_cli_.md) + * [compiler](modules/_compiler_.md) + * [compiler.Compiler](#class-compiler) + * [index](modules/_index_.md) + * [schemas/compiler_options_schema](modules/_schemas_compiler_options_schema_.md) + * [utils/compiler](modules/_utils_compiler_.md) + * [utils/constants](modules/_utils_constants_.md) + * [utils/encoder](modules/_utils_encoder_.md) + * [utils/fs_wrapper](modules/_utils_fs_wrapper_.md) + * [utils/types](modules/_utils_types_.md) + * [utils/types.AbiType](#class-abitype) + * [utils/types.CompilationError](#class-compilationerror) + * [utils/types.BinaryPaths](#class-binarypaths) + * [utils/types.ContractSourceData](#class-contractsourcedata) + * [utils/types.ContractSpecificSourceData](#class-contractspecificsourcedata) + * [utils/types.SolcErrors](#class-solcerrors) + * [utils/types.Token](#class-token) + * [utils/utils](modules/_utils_utils_.md) +* [Classes]() + * [compiler.Compiler](#class-compiler) + * [utils/types.CompilationError](#class-compilationerror) +* [Enums]() + * [utils/types.AbiType](#class-abitype) +* [Interfaces]() + * [utils/types.BinaryPaths](#class-binarypaths) + * [utils/types.ContractSourceData](#class-contractsourcedata) + * [utils/types.ContractSpecificSourceData](#class-contractspecificsourcedata) + * [utils/types.SolcErrors](#class-solcerrors) + * [utils/types.Token](#class-token) + +
+ diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 9f9d2b6291..797124ab8e 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -22,6 +22,8 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "test:circleci": "yarn test:coverage", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -44,6 +46,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-compiler/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/mkdirp": "^0.5.2", "@types/mocha": "^5.2.7", @@ -62,7 +65,7 @@ "nyc": "^11.0.1", "shx": "^0.2.2", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "types-bn": "^0.0.1", "typescript": "3.0.1", "web3-provider-engine": "14.0.6", diff --git a/packages/sol-coverage/docs/reference.md b/packages/sol-coverage/docs/reference.md new file mode 100644 index 0000000000..6f7a0c6d07 --- /dev/null +++ b/packages/sol-coverage/docs/reference.md @@ -0,0 +1,212 @@ +> # Class: CoverageSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +It's used to compute your code coverage while running solidity tests. + +## Hierarchy + +* `TraceInfoSubprovider` + + * **CoverageSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) +* [start](#start) +* [stop](#stop) +* [writeCoverageAsync](#writecoverageasync) + +## Constructors + +### constructor + +\+ **new CoverageSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `partialConfig`: [CoverageSubproviderPartialConfig](#class-coveragesubprovider)* + +*Overrides void* + +*Defined in [coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-coverage/src/coverage_subprovider.ts#L44)* + +Instantiates a CoverageSubprovider instance + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`artifactAdapter` | `AbstractArtifactAdapter` | - | Adapter for used artifacts format (0x, truffle, giveth, etc.) | +`defaultFromAddress` | string | - | default from address to use when sending transactions | +`partialConfig` | [CoverageSubproviderPartialConfig](#coveragesubproviderpartialconfig) | {} | Partial configuration object | + +**Returns:** *[CoverageSubprovider](#class-coveragesubprovider)* + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/subproviders/lib/src/subproviders/subprovider.d.ts:25 + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: `NextCallback`, `_end`: `ErrorCallback`): *`Promise`* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:42 + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | `NextCallback` | Callback to call if this subprovider decides not to handle the request | +`_end` | `ErrorCallback` | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:49 + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +___ + +### start + +▸ **start**(): *void* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:29 + +Starts trace collection + +**Returns:** *void* + +___ + +### stop + +▸ **stop**(): *void* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:33 + +Stops trace collection + +**Returns:** *void* + +___ + +### writeCoverageAsync + +▸ **writeCoverageAsync**(): *`Promise`* + +*Defined in [coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-coverage/src/coverage_subprovider.ts#L78)* + +Write the test coverage results to a file in Istanbul format. + +**Returns:** *`Promise`* + +
+ +> # Interface: CoverageSubproviderConfig + +This type defines the schema of the config object that could be passed to CoverageSubprovider +isVerbose: If true - will log any unknown transactions. Defaults to true. +ignoreFilesGlobs: The list of globs matching the file names of the files we want to ignore coverage for. Defaults to []. + +## Hierarchy + +* **CoverageSubproviderConfig** + +## Index + +### Properties + +* [ignoreFilesGlobs](#ignorefilesglobs) +* [isVerbose](#isverbose) + +## Properties + +### ignoreFilesGlobs + +• **ignoreFilesGlobs**: *string[]* + +*Defined in [coverage_subprovider.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-coverage/src/coverage_subprovider.ts#L28)* + +___ + +### isVerbose + +• **isVerbose**: *boolean* + +*Defined in [coverage_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-coverage/src/coverage_subprovider.ts#L27)* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [coverage_subprovider](modules/_coverage_subprovider_.md) + * [coverage_subprovider.CoverageSubprovider](#class-coveragesubprovider) + * [coverage_subprovider.CoverageSubproviderConfig](#class-coveragesubproviderconfig) + * [index](modules/_index_.md) +* [Classes]() + * [coverage_subprovider.CoverageSubprovider](#class-coveragesubprovider) +* [Interfaces]() + * [coverage_subprovider.CoverageSubproviderConfig](#class-coveragesubproviderconfig) + +
+ diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index a1cc5408a2..3305dcd515 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -13,6 +13,8 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -40,6 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", @@ -48,7 +51,7 @@ "shx": "^0.2.2", "sinon": "^4.0.0", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typescript": "3.0.1" }, "publishConfig": { diff --git a/packages/sol-profiler/docs/reference.md b/packages/sol-profiler/docs/reference.md new file mode 100644 index 0000000000..b60f521773 --- /dev/null +++ b/packages/sol-profiler/docs/reference.md @@ -0,0 +1,175 @@ +> # Class: ProfilerSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +ProfilerSubprovider is used to profile Solidity code while running tests. + +## Hierarchy + +* `TraceInfoSubprovider` + + * **ProfilerSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) +* [start](#start) +* [stop](#stop) +* [writeProfilerOutputAsync](#writeprofileroutputasync) + +## Constructors + +### constructor + +\+ **new ProfilerSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `isVerbose`: boolean): *[ProfilerSubprovider](#class-profilersubprovider)* + +*Overrides void* + +*Defined in [profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-profiler/src/profiler_subprovider.ts#L30)* + +Instantiates a ProfilerSubprovider instance + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`artifactAdapter` | `AbstractArtifactAdapter` | - | Adapter for used artifacts format (0x, truffle, giveth, etc.) | +`defaultFromAddress` | string | - | default from address to use when sending transactions | +`isVerbose` | boolean | true | If true, we will log any unknown transactions. Otherwise we will ignore them | + +**Returns:** *[ProfilerSubprovider](#class-profilersubprovider)* + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/subproviders/lib/src/subproviders/subprovider.d.ts:25 + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: `NextCallback`, `_end`: `ErrorCallback`): *`Promise`* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:42 + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | `NextCallback` | Callback to call if this subprovider decides not to handle the request | +`_end` | `ErrorCallback` | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:49 + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +___ + +### start + +▸ **start**(): *void* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:29 + +Starts trace collection + +**Returns:** *void* + +___ + +### stop + +▸ **stop**(): *void* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:33 + +Stops trace collection + +**Returns:** *void* + +___ + +### writeProfilerOutputAsync + +▸ **writeProfilerOutputAsync**(): *`Promise`* + +*Defined in [profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-profiler/src/profiler_subprovider.ts#L104)* + +Write the test profiler results to a file in Istanbul format. + +**Returns:** *`Promise`* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [cost_utils](modules/_cost_utils_.md) + * [index](modules/_index_.md) + * [profiler_subprovider](modules/_profiler_subprovider_.md) + * [profiler_subprovider.ProfilerSubprovider](#class-profilersubprovider) +* [Classes]() + * [profiler_subprovider.ProfilerSubprovider](#class-profilersubprovider) + +
+ diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 74dd43ae64..5a4e3ada15 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -13,6 +13,8 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -40,13 +42,14 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typescript": "3.0.1" }, "publishConfig": { diff --git a/packages/sol-trace/docs/reference.md b/packages/sol-trace/docs/reference.md new file mode 100644 index 0000000000..8c1b750c7e --- /dev/null +++ b/packages/sol-trace/docs/reference.md @@ -0,0 +1,161 @@ +> # Class: RevertTraceSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +It is used to report call stack traces whenever a revert occurs. + +## Hierarchy + +* `TraceCollectionSubprovider` + + * **RevertTraceSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) +* [start](#start) +* [stop](#stop) + +## Constructors + +### constructor + +\+ **new RevertTraceSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `isVerbose`: boolean): *[RevertTraceSubprovider](#class-reverttracesubprovider)* + +*Overrides void* + +*Defined in [revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-trace/src/revert_trace_subprovider.ts#L27)* + +Instantiates a RevertTraceSubprovider instance + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`artifactAdapter` | `AbstractArtifactAdapter` | - | Adapter for used artifacts format (0x, truffle, giveth, etc.) | +`defaultFromAddress` | string | - | default from address to use when sending transactions | +`isVerbose` | boolean | true | If true, we will log any unknown transactions. Otherwise we will ignore them | + +**Returns:** *[RevertTraceSubprovider](#class-reverttracesubprovider)* + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/subproviders/lib/src/subproviders/subprovider.d.ts:25 + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: `NextCallback`, `_end`: `ErrorCallback`): *`Promise`* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:42 + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | `NextCallback` | Callback to call if this subprovider decides not to handle the request | +`_end` | `ErrorCallback` | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from void* + +*Overrides void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:49 + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +___ + +### start + +▸ **start**(): *void* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:29 + +Starts trace collection + +**Returns:** *void* + +___ + +### stop + +▸ **stop**(): *void* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:33 + +Stops trace collection + +**Returns:** *void* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [index](modules/_index_.md) + * [revert_trace_subprovider](modules/_revert_trace_subprovider_.md) + * [revert_trace_subprovider.RevertTraceSubprovider](#class-reverttracesubprovider) +* [Classes]() + * [revert_trace_subprovider.RevertTraceSubprovider](#class-reverttracesubprovider) + +
+ diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index 18d96bd7ce..074f9df334 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -13,6 +13,8 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -41,6 +43,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/loglevel": "^1.5.3", "@types/node": "*", @@ -48,6 +51,7 @@ "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.11.0", + "typedoc": "^0.15.0", "typescript": "3.0.1" }, "publishConfig": { diff --git a/packages/subproviders/docs/reference.md b/packages/subproviders/docs/reference.md new file mode 100644 index 0000000000..861ad17627 --- /dev/null +++ b/packages/subproviders/docs/reference.md @@ -0,0 +1,3232 @@ +> # Class: BaseWalletSubprovider + +## Hierarchy + +* [Subprovider](#class-subprovider) + + * **BaseWalletSubprovider** + + * [LedgerSubprovider](#class-ledgersubprovider) + + * [PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider) + + * [MnemonicWalletSubprovider](#class-mnemonicwalletsubprovider) + + * [TrezorSubprovider](#class-trezorsubprovider) + +## Index + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [getAccountsAsync](#abstract-getaccountsasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) +* [signPersonalMessageAsync](#abstract-signpersonalmessageasync) +* [signTransactionAsync](#abstract-signtransactionasync) +* [signTypedDataAsync](#abstract-signtypeddataasync) + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### `Abstract` getAccountsAsync + +▸ **getAccountsAsync**(): *`Promise`* + +*Defined in [subproviders/base_wallet_subprovider.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L23)* + +**Returns:** *`Promise`* + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +___ + +### `Abstract` signPersonalMessageAsync + +▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* + +*Defined in [subproviders/base_wallet_subprovider.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L25)* + +**Parameters:** + +Name | Type | +------ | ------ | +`data` | string | +`address` | string | + +**Returns:** *`Promise`* + +___ + +### `Abstract` signTransactionAsync + +▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* + +*Defined in [subproviders/base_wallet_subprovider.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L24)* + +**Parameters:** + +Name | Type | +------ | ------ | +`txParams` | [PartialTxParams](#interface-partialtxparams) | + +**Returns:** *`Promise`* + +___ + +### `Abstract` signTypedDataAsync + +▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* + +*Defined in [subproviders/base_wallet_subprovider.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L26)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`typedData` | any | + +**Returns:** *`Promise`* + +
+ +> # Class: EmptyWalletSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +It intercepts the `eth_accounts` JSON RPC requests and never returns any addresses when queried. + +## Hierarchy + +* [Subprovider](#class-subprovider) + + * **EmptyWalletSubprovider** + +## Index + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/empty_wallet_subprovider.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/empty_wallet_subprovider.ts#L21)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +
+ +> # Class: FakeGasEstimateSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +It intercepts the `eth_estimateGas` JSON RPC call and always returns a constant gas amount when queried. + +## Hierarchy + +* [Subprovider](#class-subprovider) + + * **FakeGasEstimateSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) + +## Constructors + +### constructor + +\+ **new FakeGasEstimateSubprovider**(`constantGasAmount`: number): *[FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider)* + +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L17)* + +Instantiates an instance of the FakeGasEstimateSubprovider + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`constantGasAmount` | number | The constant gas amount you want returned | + +**Returns:** *[FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider)* + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L35)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +
+ +> # Class: GanacheSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +It intercepts all JSON RPC requests and relays them to an in-process ganache instance. + +## Hierarchy + +* [Subprovider](#class-subprovider) + + * **GanacheSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) + +## Constructors + +### constructor + +\+ **new GanacheSubprovider**(`opts`: `GanacheOpts`): *[GanacheSubprovider](#class-ganachesubprovider)* + +*Defined in [subproviders/ganache.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ganache.ts#L13)* + +Instantiates a GanacheSubprovider + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`opts` | `GanacheOpts` | The desired opts with which to instantiate the Ganache provider | + +**Returns:** *[GanacheSubprovider](#class-ganachesubprovider)* + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `_next`: [Callback](#errorcallback)): *`Promise`* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/ganache.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ganache.ts#L31)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`_next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +
+ +> # Class: LedgerSubprovider + +Subprovider for interfacing with a user's [Ledger Nano S](https://www.ledgerwallet.com/products/ledger-nano-s). +This subprovider intercepts all account related RPC requests (e.g message/transaction signing, etc...) and +re-routes them to a Ledger device plugged into the users computer. + +## Hierarchy + + * [BaseWalletSubprovider](#class-basewalletsubprovider) + + * **LedgerSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [getAccountsAsync](#getaccountsasync) +* [getPath](#getpath) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) +* [setPath](#setpath) +* [signPersonalMessageAsync](#signpersonalmessageasync) +* [signTransactionAsync](#signtransactionasync) +* [signTypedDataAsync](#signtypeddataasync) + +## Constructors + +### constructor + +\+ **new LedgerSubprovider**(`config`: [LedgerSubproviderConfigs](#class-ledgersubprovider)* + +*Defined in [subproviders/ledger.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L41)* + +Instantiates a LedgerSubprovider. Defaults to derivationPath set to `44'/60'/0'`. +TestRPC/Ganache defaults to `m/44'/60'/0'/0`, so set this in the configs if desired. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`config` | [LedgerSubproviderConfigs](#interface-ledgersubproviderconfigs) | Several available configurations | + +**Returns:** *[LedgerSubprovider](#class-ledgersubprovider)* + +LedgerSubprovider instance + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### getAccountsAsync + +▸ **getAccountsAsync**(`numberOfAccounts`: number): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* + +*Defined in [subproviders/ledger.ts:87](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L87)* + +Retrieve a users Ledger accounts. The accounts are derived from the derivationPath, +master public key and chain code. Because of this, you can request as many accounts +as you wish and it only requires a single request to the Ledger device. This method +is automatically called when issuing a `eth_accounts` JSON RPC request via your providerEngine +instance. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`numberOfAccounts` | number | DEFAULT_NUM_ADDRESSES_TO_FETCH | Number of accounts to retrieve (default: 10) | + +**Returns:** *`Promise`* + +An array of accounts + +___ + +### getPath + +▸ **getPath**(): *string* + +*Defined in [subproviders/ledger.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L68)* + +Retrieve the set derivation path + +**Returns:** *string* + +derivation path + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Inherited from [BaseWalletSubprovider](#handlerequest)* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +___ + +### setPath + +▸ **setPath**(`basDerivationPath`: string): *void* + +*Defined in [subproviders/ledger.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L75)* + +Set a desired derivation path when computing the available user addresses + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`basDerivationPath` | string | The desired derivation path (e.g `44'/60'/0'`) | + +**Returns:** *void* + +___ + +### signPersonalMessageAsync + +▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* + +*Defined in [subproviders/ledger.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L158)* + +Sign a personal Ethereum signed message. The signing account will be the account +associated with the provided address. +The Ledger adds the Ethereum signed message prefix on-device. If you've added +the LedgerSubprovider to your app's provider, you can simply send an `eth_sign` +or `personal_sign` JSON RPC request, and this method will be called auto-magically. +If you are not using this via a ProviderEngine instance, you can call it directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`data` | string | Hex string message to sign | +`address` | string | Address of the account to sign with | + +**Returns:** *`Promise`* + +Signature hex string (order: rsv) + +___ + +### signTransactionAsync + +▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* + +*Defined in [subproviders/ledger.ts:101](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L101)* + +Signs a transaction on the Ledger with the account specificed by the `from` field in txParams. +If you've added the LedgerSubprovider to your app's provider, you can simply send an `eth_sendTransaction` +JSON RPC request, and this method will be called auto-magically. If you are not using this via a ProviderEngine +instance, you can call it directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txParams` | [PartialTxParams](#interface-partialtxparams) | Parameters of the transaction to sign | + +**Returns:** *`Promise`* + +Signed transaction hex string + +___ + +### signTypedDataAsync + +▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* + +*Defined in [subproviders/ledger.ts:196](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L196)* + +eth_signTypedData is currently not supported on Ledger devices. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | Address of the account to sign with | +`typedData` | any | - | + +**Returns:** *`Promise`* + +Signature hex string (order: rsv) + +
+ +> # Class: MetamaskSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) +subprovider interface and the provider sendAsync interface. +It handles inconsistencies with Metamask implementations of various JSON RPC methods. +It forwards JSON RPC requests involving the domain of a signer (getAccounts, +sendTransaction, signMessage etc...) to the provider instance supplied at instantiation. All other requests +are passed onwards for subsequent subproviders to handle. + +## Hierarchy + +* [Subprovider](#class-subprovider) + + * **MetamaskSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [sendAsync](#sendasync) +* [setEngine](#setengine) + +## Constructors + +### constructor + +\+ **new MetamaskSubprovider**(`supportedProvider`: `SupportedProvider`): *[MetamaskSubprovider](#class-metamasksubprovider)* + +*Defined in [subproviders/metamask_subprovider.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/metamask_subprovider.ts#L20)* + +Instantiates a new MetamaskSubprovider + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | Web3 provider that should handle all user account related requests | + +**Returns:** *[MetamaskSubprovider](#class-metamasksubprovider)* + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/metamask_subprovider.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/metamask_subprovider.ts#L40)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### sendAsync + +▸ **sendAsync**(`payload`: `JSONRPCRequestPayload`, `callback`: [ErrorCallback](#errorcallback)): *void* + +*Defined in [subproviders/metamask_subprovider.ts:114](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/metamask_subprovider.ts#L114)* + +This method conforms to the provider sendAsync interface. +Allowing the MetamaskSubprovider to be used as a generic provider (outside of Web3ProviderEngine) with the +addition of wrapping the inconsistent Metamask behaviour + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`callback` | [ErrorCallback](#errorcallback) | - | + +**Returns:** *void* + +The contents nested under the result key of the response body + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +
+ +> # Class: MnemonicWalletSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +This subprovider intercepts all account related RPC requests (e.g message/transaction signing, etc...) and handles +all requests with accounts derived from the supplied mnemonic. + +## Hierarchy + + * [BaseWalletSubprovider](#class-basewalletsubprovider) + + * **MnemonicWalletSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [getAccountsAsync](#getaccountsasync) +* [getPath](#getpath) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) +* [setPath](#setpath) +* [signPersonalMessageAsync](#signpersonalmessageasync) +* [signTransactionAsync](#signtransactionasync) +* [signTypedDataAsync](#signtypeddataasync) + +## Constructors + +### constructor + +\+ **new MnemonicWalletSubprovider**(`config`: [MnemonicWalletSubproviderConfigs](#class-mnemonicwalletsubprovider)* + +*Defined in [subproviders/mnemonic_wallet.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L27)* + +Instantiates a MnemonicWalletSubprovider. Defaults to baseDerivationPath set to `44'/60'/0'/0`. +This is the default in TestRPC/Ganache, it can be overridden if desired. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`config` | [MnemonicWalletSubproviderConfigs](#interface-mnemonicwalletsubproviderconfigs) | Configuration for the mnemonic wallet, must contain the mnemonic | + +**Returns:** *[MnemonicWalletSubprovider](#class-mnemonicwalletsubprovider)* + +MnemonicWalletSubprovider instance + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### getAccountsAsync + +▸ **getAccountsAsync**(`numberOfAccounts`: number): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* + +*Defined in [subproviders/mnemonic_wallet.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L70)* + +Retrieve the accounts associated with the mnemonic. +This method is implicitly called when issuing a `eth_accounts` JSON RPC request +via your providerEngine instance. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`numberOfAccounts` | number | DEFAULT_NUM_ADDRESSES_TO_FETCH | Number of accounts to retrieve (default: 10) | + +**Returns:** *`Promise`* + +An array of accounts + +___ + +### getPath + +▸ **getPath**(): *string* + +*Defined in [subproviders/mnemonic_wallet.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L52)* + +Retrieve the set derivation path + +**Returns:** *string* + +derivation path + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Inherited from [BaseWalletSubprovider](#handlerequest)* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +___ + +### setPath + +▸ **setPath**(`baseDerivationPath`: string): *void* + +*Defined in [subproviders/mnemonic_wallet.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L59)* + +Set a desired derivation path when computing the available user addresses + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`baseDerivationPath` | string | The desired derivation path (e.g `44'/60'/0'`) | + +**Returns:** *void* + +___ + +### signPersonalMessageAsync + +▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* + +*Defined in [subproviders/mnemonic_wallet.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L102)* + +Sign a personal Ethereum signed message. The signing account will be the account +associated with the provided address. If you've added the MnemonicWalletSubprovider to +your app's provider, you can simply send an `eth_sign` or `personal_sign` JSON RPC request, +and this method will be called auto-magically. If you are not using this via a ProviderEngine +instance, you can call it directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`data` | string | Hex string message to sign | +`address` | string | Address of the account to sign with | + +**Returns:** *`Promise`* + +Signature hex string (order: rsv) + +___ + +### signTransactionAsync + +▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* + +*Defined in [subproviders/mnemonic_wallet.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L84)* + +Signs a transaction with the account specificed by the `from` field in txParams. +If you've added this Subprovider to your app's provider, you can simply send +an `eth_sendTransaction` JSON RPC request, and this method will be called auto-magically. +If you are not using this via a ProviderEngine instance, you can call it directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txParams` | [PartialTxParams](#interface-partialtxparams) | Parameters of the transaction to sign | + +**Returns:** *`Promise`* + +Signed transaction hex string + +___ + +### signTypedDataAsync + +▸ **signTypedDataAsync**(`address`: string, `typedData`: `EIP712TypedData`): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* + +*Defined in [subproviders/mnemonic_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L122)* + +Sign an EIP712 Typed Data message. The signing account will be the account +associated with the provided address. If you've added this MnemonicWalletSubprovider to +your app's provider, you can simply send an `eth_signTypedData` JSON RPC request, and +this method will be called auto-magically. If you are not using this via a ProviderEngine + instance, you can call it directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | Address of the account to sign with | +`typedData` | `EIP712TypedData` | - | + +**Returns:** *`Promise`* + +Signature hex string (order: rsv) + +
+ +> # Class: NonceTrackerSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +It is heavily inspired by the [NonceSubprovider](https://github.com/MetaMask/provider-engine/blob/master/subproviders/nonce-tracker.js). +We added the additional feature of clearing the cached nonce value when a `nonce value too low` error occurs. + +## Hierarchy + +* [Subprovider](#class-subprovider) + + * **NonceTrackerSubprovider** + +## Index + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [NextCallback](#errorcallback)): *`Promise`* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/nonce_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/nonce_tracker.ts#L57)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [NextCallback](#nextcallback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +
+ +> # Class: PrivateKeyWalletSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +This subprovider intercepts all account related RPC requests (e.g message/transaction signing, etc...) and handles +all requests with the supplied Ethereum private key. + +## Hierarchy + + * [BaseWalletSubprovider](#class-basewalletsubprovider) + + * **PrivateKeyWalletSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [getAccountsAsync](#getaccountsasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) +* [signPersonalMessageAsync](#signpersonalmessageasync) +* [signTransactionAsync](#signtransactionasync) +* [signTypedDataAsync](#signtypeddataasync) + +## Constructors + +### constructor + +\+ **new PrivateKeyWalletSubprovider**(`privateKey`: string): *[PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider)* + +*Defined in [subproviders/private_key_wallet.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L19)* + +Instantiates a PrivateKeyWalletSubprovider. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`privateKey` | string | The corresponding private key to an Ethereum address | + +**Returns:** *[PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider)* + +PrivateKeyWalletSubprovider instance + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### getAccountsAsync + +▸ **getAccountsAsync**(): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* + +*Defined in [subproviders/private_key_wallet.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L37)* + +Retrieve the account associated with the supplied private key. +This method is implicitly called when issuing a `eth_accounts` JSON RPC request +via your providerEngine instance. + +**Returns:** *`Promise`* + +An array of accounts + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Inherited from [BaseWalletSubprovider](#handlerequest)* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +___ + +### signPersonalMessageAsync + +▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* + +*Defined in [subproviders/private_key_wallet.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L72)* + +Sign a personal Ethereum signed message. The signing address will be calculated from the private key. +The address must be provided it must match the address calculated from the private key. +If you've added this Subprovider to your app's provider, you can simply send an `eth_sign` +or `personal_sign` JSON RPC request, and this method will be called auto-magically. +If you are not using this via a ProviderEngine instance, you can call it directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`data` | string | Hex string message to sign | +`address` | string | Address of the account to sign with | + +**Returns:** *`Promise`* + +Signature hex string (order: rsv) + +___ + +### signTransactionAsync + +▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* + +*Defined in [subproviders/private_key_wallet.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L48)* + +Sign a transaction with the private key. If you've added this Subprovider to your +app's provider, you can simply send an `eth_sendTransaction` JSON RPC request, and +this method will be called auto-magically. If you are not using this via a ProviderEngine +instance, you can call it directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txParams` | [PartialTxParams](#interface-partialtxparams) | Parameters of the transaction to sign | + +**Returns:** *`Promise`* + +Signed transaction hex string + +___ + +### signTypedDataAsync + +▸ **signTypedDataAsync**(`address`: string, `typedData`: `EIP712TypedData`): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* + +*Defined in [subproviders/private_key_wallet.ts:99](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L99)* + +Sign an EIP712 Typed Data message. The signing address will be calculated from the private key. +The address must be provided it must match the address calculated from the private key. +If you've added this Subprovider to your app's provider, you can simply send an `eth_signTypedData` +JSON RPC request, and this method will be called auto-magically. +If you are not using this via a ProviderEngine instance, you can call it directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | Address of the account to sign with | +`typedData` | `EIP712TypedData` | - | + +**Returns:** *`Promise`* + +Signature hex string (order: rsv) + +
+ +> # Class: RedundantSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +It attempts to handle each JSON RPC request by sequentially attempting to receive a valid response from one of a +set of JSON RPC endpoints. + +## Hierarchy + +* [Subprovider](#class-subprovider) + + * **RedundantSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) + +## Constructors + +### constructor + +\+ **new RedundantSubprovider**(`subproviders`: [Subprovider](#class-redundantsubprovider)* + +*Defined in [subproviders/redundant_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/redundant_subprovider.ts#L33)* + +Instantiates a new RedundantSubprovider + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subproviders` | [Subprovider](#class-subprovider)[] | Subproviders to attempt the request with | + +**Returns:** *[RedundantSubprovider](#class-redundantsubprovider)* + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#callback), `end`: function): *`Promise`* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/redundant_subprovider.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/redundant_subprovider.ts#L51)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +▪ **payload**: *`JSONRPCRequestPayload`* + +JSON RPC payload + +▪ **next**: *[Callback](#callback)* + +Callback to call if this subprovider decides not to handle the request + +▪ **end**: *function* + +Callback to call if subprovider handled the request and wants to pass back the request. + +▸ (`err`: `Error` | null, `data?`: any): *void* + +**Parameters:** + +Name | Type | +------ | ------ | +`err` | `Error` \| null | +`data?` | any | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +
+ +> # Class: RPCSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. +It forwards on JSON RPC requests to the supplied `rpcUrl` endpoint + +## Hierarchy + +* [Subprovider](#class-subprovider) + + * **RPCSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) + +## Constructors + +### constructor + +\+ **new RPCSubprovider**(`rpcUrl`: string, `requestTimeoutMs`: number): *[RPCSubprovider](#class-rpcsubprovider)* + +*Defined in [subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`rpcUrl` | string | - | URL to the backing Ethereum node to which JSON RPC requests should be sent | +`requestTimeoutMs` | number | 20000 | Amount of miliseconds to wait before timing out the JSON RPC request | + +**Returns:** *[RPCSubprovider](#class-rpcsubprovider)* + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `_next`: [Callback](#errorcallback)): *`Promise`* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`_next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +
+ +> # Class: SignerSubprovider + +This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) +subprovider interface. It forwards JSON RPC requests involving the domain of a signer (getAccounts, +sendTransaction, signMessage etc...) to the provider instance supplied at instantiation. All other requests +are passed onwards for subsequent subproviders to handle. + +## Hierarchy + +* [Subprovider](#class-subprovider) + + * **SignerSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) + +## Constructors + +### constructor + +\+ **new SignerSubprovider**(`supportedProvider`: `SupportedProvider`): *[SignerSubprovider](#class-signersubprovider)* + +*Defined in [subproviders/signer.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/signer.ts#L15)* + +Instantiates a new SignerSubprovider. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | Web3 provider that should handle all user account related requests | + +**Returns:** *[SignerSubprovider](#class-signersubprovider)* + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/signer.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/signer.ts#L33)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +
+ +> # Class: Subprovider + +A altered version of the base class Subprovider found in [web3-provider-engine](https://github.com/MetaMask/provider-engine). +This one has an async/await `emitPayloadAsync` and also defined types. + +## Hierarchy + +* **Subprovider** + + * [EmptyWalletSubprovider](#class-emptywalletsubprovider) + + * [FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider) + + * [SignerSubprovider](#class-signersubprovider) + + * [RedundantSubprovider](#class-redundantsubprovider) + + * [BaseWalletSubprovider](#class-basewalletsubprovider) + + * [RPCSubprovider](#class-rpcsubprovider) + + * [GanacheSubprovider](#class-ganachesubprovider) + + * [NonceTrackerSubprovider](#class-noncetrackersubprovider) + + * [MetamaskSubprovider](#class-metamasksubprovider) + +## Index + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [handleRequest](#abstract-handlerequest) +* [setEngine](#setengine) + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### `Abstract` handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Defined in [subproviders/subprovider.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L42)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC request payload | +`next` | [Callback](#callback) | A callback to pass the request to the next subprovider in the stack | +`end` | [ErrorCallback](#errorcallback) | A callback called once the subprovider is done handling the request | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +
+ +> # Class: TrezorSubprovider + +## Hierarchy + + * [BaseWalletSubprovider](#class-basewalletsubprovider) + + * **TrezorSubprovider** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Methods + +* [emitPayloadAsync](#emitpayloadasync) +* [getAccountsAsync](#getaccountsasync) +* [handleRequest](#handlerequest) +* [setEngine](#setengine) +* [signPersonalMessageAsync](#signpersonalmessageasync) +* [signTransactionAsync](#signtransactionasync) +* [signTypedDataAsync](#signtypeddataasync) + +## Constructors + +### constructor + +\+ **new TrezorSubprovider**(`config`: [TrezorSubproviderConfig](#class-trezorsubprovider)* + +*Defined in [subproviders/trezor.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L32)* + +Instantiates a TrezorSubprovider. Defaults to private key path set to `44'/60'/0'/0/`. +Must be initialized with trezor-connect API module https://github.com/trezor/connect. + +**Parameters:** + +Name | Type | +------ | ------ | +`config` | [TrezorSubproviderConfig](#interface-trezorsubproviderconfig) | + +**Returns:** *[TrezorSubprovider](#class-trezorsubprovider)* + +TrezorSubprovider instance + +## Methods + +### emitPayloadAsync + +▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* + +*Inherited from [Subprovider](#emitpayloadasync)* + +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* + +Emits a JSON RPC payload that will then be handled by the ProviderEngine instance +this subprovider is a part of. The payload will cascade down the subprovider middleware +stack until finding the responsible entity for handling the request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | JSON RPC payload | + +**Returns:** *`Promise`* + +JSON RPC response payload + +___ + +### getAccountsAsync + +▸ **getAccountsAsync**(`numberOfAccounts`: number): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* + +*Defined in [subproviders/trezor.ts:56](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L56)* + +Retrieve a users Trezor account. This method is automatically called +when issuing a `eth_accounts` JSON RPC request via your providerEngine +instance. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`numberOfAccounts` | number | DEFAULT_NUM_ADDRESSES_TO_FETCH | + +**Returns:** *`Promise`* + +An array of accounts + +___ + +### handleRequest + +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* + +*Inherited from [BaseWalletSubprovider](#handlerequest)* + +*Overrides [Subprovider](#abstract-handlerequest)* + +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* + +This method conforms to the web3-provider-engine interface. +It is called internally by the ProviderEngine when it is this subproviders +turn to handle a JSON RPC request. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `JSONRPCRequestPayload` | JSON RPC payload | +`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request | +`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. | + +**Returns:** *`Promise`* + +___ + +### setEngine + +▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* + +*Inherited from [Subprovider](#setengine)* + +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* + +Set's the subprovider's engine to the ProviderEngine it is added to. +This is only called within the ProviderEngine source code, do not call +directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to | + +**Returns:** *void* + +___ + +### signPersonalMessageAsync + +▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* + +*Defined in [subproviders/trezor.ts:129](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L129)* + +Sign a personal Ethereum signed message. The signing account will be the account +associated with the provided address. If you've added the TrezorSubprovider to +your app's provider, you can simply send an `eth_sign` or `personal_sign` JSON RPC +request, and this method will be called auto-magically. +If you are not using this via a ProviderEngine instance, you can call it directly. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`data` | string | Hex string message to sign | +`address` | string | Address of the account to sign with | + +**Returns:** *`Promise`* + +Signature hex string (order: rsv) + +___ + +### signTransactionAsync + +▸ **signTransactionAsync**(`txData`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* + +*Defined in [subproviders/trezor.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L70)* + +Signs a transaction on the Trezor with the account specificed by the `from` field in txParams. +If you've added the TrezorSubprovider to your app's provider, you can simply send an `eth_sendTransaction` +JSON RPC request, and this method will be called auto-magically. If you are not using this via a ProviderEngine +instance, you can call it directly. + +**Parameters:** + +Name | Type | +------ | ------ | +`txData` | [PartialTxParams](#interface-partialtxparams) | + +**Returns:** *`Promise`* + +Signed transaction hex string + +___ + +### signTypedDataAsync + +▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* + +*Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* + +*Defined in [subproviders/trezor.ts:161](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L161)* + +TODO:: eth_signTypedData is currently not supported on Trezor devices. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | Address of the account to sign with | +`typedData` | any | - | + +**Returns:** *`Promise`* + +Signature hex string (order: rsv) + +
+ +> # Enumeration: LedgerSubproviderErrors + +## Index + +### Enumeration members + +* [MultipleOpenConnectionsDisallowed](#multipleopenconnectionsdisallowed) +* [TooOldLedgerFirmware](#toooldledgerfirmware) + +## Enumeration members + +### MultipleOpenConnectionsDisallowed + +• **MultipleOpenConnectionsDisallowed**: = "MULTIPLE_OPEN_CONNECTIONS_DISALLOWED" + +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L116)* + +___ + +### TooOldLedgerFirmware + +• **TooOldLedgerFirmware**: = "TOO_OLD_LEDGER_FIRMWARE" + +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L115)* + +
+ +> # Enumeration: NonceSubproviderErrors + +## Index + +### Enumeration members + +* [CannotDetermineAddressFromPayload](#cannotdetermineaddressfrompayload) +* [EmptyParametersFound](#emptyparametersfound) + +## Enumeration members + +### CannotDetermineAddressFromPayload + +• **CannotDetermineAddressFromPayload**: = "CANNOT_DETERMINE_ADDRESS_FROM_PAYLOAD" + +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L121)* + +___ + +### EmptyParametersFound + +• **EmptyParametersFound**: = "EMPTY_PARAMETERS_FOUND" + +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L120)* + +
+ +> # Enumeration: WalletSubproviderErrors + +## Index + +### Enumeration members + +* [AddressNotFound](#addressnotfound) +* [DataMissingForSignPersonalMessage](#datamissingforsignpersonalmessage) +* [DataMissingForSignTypedData](#datamissingforsigntypeddata) +* [FromAddressMissingOrInvalid](#fromaddressmissingorinvalid) +* [MethodNotSupported](#methodnotsupported) +* [SenderInvalidOrNotSupplied](#senderinvalidornotsupplied) + +## Enumeration members + +### AddressNotFound + +• **AddressNotFound**: = "ADDRESS_NOT_FOUND" + +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L107)* + +___ + +### DataMissingForSignPersonalMessage + +• **DataMissingForSignPersonalMessage**: = "DATA_MISSING_FOR_SIGN_PERSONAL_MESSAGE" + +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L108)* + +___ + +### DataMissingForSignTypedData + +• **DataMissingForSignTypedData**: = "DATA_MISSING_FOR_SIGN_TYPED_DATA" + +*Defined in [types.ts:109](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L109)* + +___ + +### FromAddressMissingOrInvalid + +• **FromAddressMissingOrInvalid**: = "FROM_ADDRESS_MISSING_OR_INVALID" + +*Defined in [types.ts:111](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L111)* + +___ + +### MethodNotSupported + +• **MethodNotSupported**: = "METHOD_NOT_SUPPORTED" + +*Defined in [types.ts:112](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L112)* + +___ + +### SenderInvalidOrNotSupplied + +• **SenderInvalidOrNotSupplied**: = "SENDER_INVALID_OR_NOT_SUPPLIED" + +*Defined in [types.ts:110](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L110)* + +
+ +> # Interface: AccountFetchingConfigs + +addressSearchLimit: The maximum number of addresses to search through, defaults to 1000 +numAddressesToReturn: Number of addresses to return from 'eth_accounts' call +shouldAskForOnDeviceConfirmation: Whether you wish to prompt the user on their Ledger + before fetching their addresses + +## Hierarchy + +* **AccountFetchingConfigs** + +## Index + +### Properties + +* [addressSearchLimit](#optional-addresssearchlimit) +* [numAddressesToReturn](#optional-numaddressestoreturn) +* [shouldAskForOnDeviceConfirmation](#optional-shouldaskforondeviceconfirmation) + +## Properties + +### `Optional` addressSearchLimit + +• **addressSearchLimit**? : *undefined | number* + +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L55)* + +___ + +### `Optional` numAddressesToReturn + +• **numAddressesToReturn**? : *undefined | number* + +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L56)* + +___ + +### `Optional` shouldAskForOnDeviceConfirmation + +• **shouldAskForOnDeviceConfirmation**? : *undefined | false | true* + +*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L57)* + +
+ +> # Interface: DerivedHDKeyInfo + +## Hierarchy + +* **DerivedHDKeyInfo** + +## Index + +### Properties + +* [address](#address) +* [baseDerivationPath](#basederivationpath) +* [derivationPath](#derivationpath) +* [hdKey](#hdkey) + +## Properties + +### address + +• **address**: *string* + +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L124)* + +___ + +### baseDerivationPath + +• **baseDerivationPath**: *string* + +*Defined in [types.ts:125](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L125)* + +___ + +### derivationPath + +• **derivationPath**: *string* + +*Defined in [types.ts:126](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L126)* + +___ + +### hdKey + +• **hdKey**: *`HDNode`* + +*Defined in [types.ts:127](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L127)* + +
+ +> # Interface: ECSignatureString + +## Hierarchy + +* **ECSignatureString** + +## Index + +### Properties + +* [r](#r) +* [s](#s) +* [v](#v) + +## Properties + +### r + +• **r**: *string* + +*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L29)* + +___ + +### s + +• **s**: *string* + +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L30)* + +___ + +### v + +• **v**: *string* + +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L28)* + +
+ +> # Interface: JSONRPCRequestPayloadWithMethod + +## Hierarchy + +* `JSONRPCRequestPayload` + + * **JSONRPCRequestPayloadWithMethod** + +## Index + +### Properties + +* [id](#id) +* [jsonrpc](#jsonrpc) +* [method](#method) +* [params](#params) + +## Properties + +### id + +• **id**: *number* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum-types/lib/index.d.ts:262 + +___ + +### jsonrpc + +• **jsonrpc**: *string* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum-types/lib/index.d.ts:263 + +___ + +### method + +• **method**: *string* + +*Overrides void* + +*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L136)* + +___ + +### params + +• **params**: *any[]* + +*Inherited from void* + +Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum-types/lib/index.d.ts:260 + +
+ +> # Interface: LedgerCommunication + +## Hierarchy + +* **LedgerCommunication** + +## Index + +### Properties + +* [close_async](#close_async) + +## Properties + +### close_async + +• **close_async**: *function* + +*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L98)* + +#### Type declaration: + +▸ (): *`Promise`* + +
+ +> # Interface: LedgerCommunicationClient + +## Hierarchy + +* **LedgerCommunicationClient** + +## Index + +### Properties + +* [close](#close) + +## Properties + +### close + +• **close**: *function* + +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L5)* + +#### Type declaration: + +▸ (): *`Promise`* + +
+ +> # Interface: LedgerEthereumClient + +Elliptic Curve signature +The LedgerEthereumClient sends Ethereum-specific requests to the Ledger Nano S +It uses an internal LedgerCommunicationClient to relay these requests. Currently +NodeJs and Browser communication are supported. + +## Hierarchy + +* **LedgerEthereumClient** + +## Index + +### Properties + +* [getAddress](#getaddress) +* [signPersonalMessage](#signpersonalmessage) +* [signTransaction](#signtransaction) +* [transport](#transport) + +## Properties + +### getAddress + +• **getAddress**: *function* + +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L17)* + +#### Type declaration: + +▸ (`derivationPath`: string, `askForDeviceConfirmation`: boolean, `shouldGetChainCode`: true): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`derivationPath` | string | +`askForDeviceConfirmation` | boolean | +`shouldGetChainCode` | true | + +___ + +### signPersonalMessage + +• **signPersonalMessage**: *function* + +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L23)* + +#### Type declaration: + +▸ (`derivationPath`: string, `messageHex`: string): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`derivationPath` | string | +`messageHex` | string | + +___ + +### signTransaction + +• **signTransaction**: *function* + +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L22)* + +#### Type declaration: + +▸ (`derivationPath`: string, `rawTxHex`: string): *`Promise`* + +**Parameters:** + +Name | Type | +------ | ------ | +`derivationPath` | string | +`rawTxHex` | string | + +___ + +### transport + +• **transport**: *[LedgerCommunicationClient](#interface-ledgercommunicationclient)* + +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L24)* + +
+ +> # Interface: LedgerGetAddressResult + +## Hierarchy + +* **LedgerGetAddressResult** + +## Index + +### Properties + +* [address](#address) +* [chainCode](#chaincode) +* [publicKey](#publickey) + +## Properties + +### address + +• **address**: *string* + +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L79)* + +___ + +### chainCode + +• **chainCode**: *string* + +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L81)* + +___ + +### publicKey + +• **publicKey**: *string* + +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L80)* + +
+ +> # Interface: LedgerSubproviderConfigs + +networkId: The ethereum networkId to set as the chainId from EIP155 +ledgerConnectionType: Environment in which you wish to connect to Ledger (nodejs or browser) +derivationPath: Initial derivation path to use e.g 44'/60'/0' +accountFetchingConfigs: configs related to fetching accounts from a Ledger + +## Hierarchy + +* **LedgerSubproviderConfigs** + +## Index + +### Properties + +* [accountFetchingConfigs](#optional-accountfetchingconfigs) +* [baseDerivationPath](#optional-basederivationpath) +* [ledgerEthereumClientFactoryAsync](#ledgerethereumclientfactoryasync) +* [networkId](#networkid) + +## Properties + +### `Optional` accountFetchingConfigs + +• **accountFetchingConfigs**? : *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* + +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L45)* + +___ + +### `Optional` baseDerivationPath + +• **baseDerivationPath**? : *undefined | string* + +*Defined in [types.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L44)* + +___ + +### ledgerEthereumClientFactoryAsync + +• **ledgerEthereumClientFactoryAsync**: *[LedgerEthereumClientFactoryAsync](#ledgerethereumclientfactoryasync)* + +*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L43)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L42)* + +
+ +> # Interface: MnemonicWalletSubproviderConfigs + +mnemonic: The string mnemonic seed +addressSearchLimit: The maximum number of addresses to search through, defaults to 1000 +baseDerivationPath: The base derivation path (e.g 44'/60'/0'/0) + +## Hierarchy + +* **MnemonicWalletSubproviderConfigs** + +## Index + +### Properties + +* [addressSearchLimit](#optional-addresssearchlimit) +* [baseDerivationPath](#optional-basederivationpath) +* [mnemonic](#mnemonic) + +## Properties + +### `Optional` addressSearchLimit + +• **addressSearchLimit**? : *undefined | number* + +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L67)* + +___ + +### `Optional` baseDerivationPath + +• **baseDerivationPath**? : *undefined | string* + +*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L68)* + +___ + +### mnemonic + +• **mnemonic**: *string* + +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L66)* + +
+ +> # Interface: PartialTxParams + +## Hierarchy + +* **PartialTxParams** + +## Index + +### Properties + +* [chainId](#chainid) +* [data](#optional-data) +* [from](#from) +* [gas](#gas) +* [gasPrice](#optional-gasprice) +* [nonce](#nonce) +* [to](#to) +* [value](#optional-value) + +## Properties + +### chainId + +• **chainId**: *number* + +*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L92)* + +___ + +### `Optional` data + +• **data**? : *undefined | string* + +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L91)* + +___ + +### from + +• **from**: *string* + +*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L89)* + +___ + +### gas + +• **gas**: *string* + +*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L87)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *undefined | string* + +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L86)* + +___ + +### nonce + +• **nonce**: *string* + +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L85)* + +___ + +### to + +• **to**: *string* + +*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L88)* + +___ + +### `Optional` value + +• **value**? : *undefined | string* + +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L90)* + +
+ +> # Interface: ResponseWithTxParams + +## Hierarchy + +* **ResponseWithTxParams** + +## Index + +### Properties + +* [raw](#raw) +* [tx](#tx) + +## Properties + +### raw + +• **raw**: *string* + +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L102)* + +___ + +### tx + +• **tx**: *[PartialTxParams](#interface-partialtxparams)* + +*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L103)* + +
+ +> # Interface: SignatureData + +## Hierarchy + +* **SignatureData** + +## Index + +### Properties + +* [hash](#hash) +* [r](#r) +* [s](#s) +* [v](#v) + +## Properties + +### hash + +• **hash**: *string* + +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L72)* + +___ + +### r + +• **r**: *string* + +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L73)* + +___ + +### s + +• **s**: *string* + +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L74)* + +___ + +### v + +• **v**: *number* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L75)* + +
+ +> # Interface: TrezorConnectResponse + +## Hierarchy + +* **TrezorConnectResponse** + +## Index + +### Properties + +* [id](#id) +* [payload](#payload) +* [success](#success) + +## Properties + +### id + +• **id**: *number* + +*Defined in [types.ts:175](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L175)* + +___ + +### payload + +• **payload**: *any* + +*Defined in [types.ts:174](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L174)* + +___ + +### success + +• **success**: *boolean* + +*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L176)* + +
+ +> # Interface: TrezorGetPublicKeyResponsePayload + +## Hierarchy + +* **TrezorGetPublicKeyResponsePayload** + +## Index + +### Properties + +* [chainCode](#chaincode) +* [childNumb](#childnumb) +* [depth](#depth) +* [fingerprint](#fingerprint) +* [path](#path) +* [publicKey](#publickey) +* [serializedPath](#serializedpath) +* [xpub](#xpub) + +## Properties + +### chainCode + +• **chainCode**: *string* + +*Defined in [types.ts:152](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L152)* + +___ + +### childNumb + +• **childNumb**: *number* + +*Defined in [types.ts:150](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L150)* + +___ + +### depth + +• **depth**: *number* + +*Defined in [types.ts:155](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L155)* + +___ + +### fingerprint + +• **fingerprint**: *number* + +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L154)* + +___ + +### path + +• **path**: *object* + +*Defined in [types.ts:146](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L146)* + +#### Type declaration: + +● \[▪ **index**: *number*\]: number + +___ + +### publicKey + +• **publicKey**: *string* + +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L153)* + +___ + +### serializedPath + +• **serializedPath**: *string* + +*Defined in [types.ts:149](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L149)* + +___ + +### xpub + +• **xpub**: *string* + +*Defined in [types.ts:151](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L151)* + +
+ +> # Interface: TrezorResponseErrorPayload + +## Hierarchy + +* **TrezorResponseErrorPayload** + +## Index + +### Properties + +* [error](#error) + +## Properties + +### error + +• **error**: *string* + +*Defined in [types.ts:170](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L170)* + +
+ +> # Interface: TrezorSignMsgResponsePayload + +## Hierarchy + +* **TrezorSignMsgResponsePayload** + +## Index + +### Properties + +* [address](#address) +* [signature](#signature) + +## Properties + +### address + +• **address**: *string* + +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L165)* + +___ + +### signature + +• **signature**: *string* + +*Defined in [types.ts:166](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L166)* + +
+ +> # Interface: TrezorSignTxResponsePayload + +## Hierarchy + +* **TrezorSignTxResponsePayload** + +## Index + +### Properties + +* [r](#r) +* [s](#s) +* [v](#v) + +## Properties + +### r + +• **r**: *string* + +*Defined in [types.ts:160](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L160)* + +___ + +### s + +• **s**: *string* + +*Defined in [types.ts:161](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L161)* + +___ + +### v + +• **v**: *string* + +*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L159)* + +
+ +> # Interface: TrezorSubproviderConfig + +## Hierarchy + +* **TrezorSubproviderConfig** + +## Index + +### Properties + +* [accountFetchingConfigs](#accountfetchingconfigs) +* [networkId](#networkid) +* [trezorConnectClientApi](#trezorconnectclientapi) + +## Properties + +### accountFetchingConfigs + +• **accountFetchingConfigs**: *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* + +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L140)* + +___ + +### networkId + +• **networkId**: *number* + +*Defined in [types.ts:142](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L142)* + +___ + +### trezorConnectClientApi + +• **trezorConnectClientApi**: *any* + +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L141)* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [index](modules/_index_.md) + * [subproviders/base_wallet_subprovider](modules/_subproviders_base_wallet_subprovider_.md) + * [subproviders/base_wallet_subprovider.BaseWalletSubprovider](#class-basewalletsubprovider) + * [subproviders/empty_wallet_subprovider](modules/_subproviders_empty_wallet_subprovider_.md) + * [subproviders/empty_wallet_subprovider.EmptyWalletSubprovider](#class-emptywalletsubprovider) + * [subproviders/fake_gas_estimate_subprovider](modules/_subproviders_fake_gas_estimate_subprovider_.md) + * [subproviders/fake_gas_estimate_subprovider.FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider) + * [subproviders/ganache](modules/_subproviders_ganache_.md) + * [subproviders/ganache.GanacheSubprovider](#class-ganachesubprovider) + * [subproviders/ledger](modules/_subproviders_ledger_.md) + * [subproviders/ledger.LedgerSubprovider](#class-ledgersubprovider) + * [subproviders/metamask_subprovider](modules/_subproviders_metamask_subprovider_.md) + * [subproviders/metamask_subprovider.MetamaskSubprovider](#class-metamasksubprovider) + * [subproviders/mnemonic_wallet](modules/_subproviders_mnemonic_wallet_.md) + * [subproviders/mnemonic_wallet.MnemonicWalletSubprovider](#class-mnemonicwalletsubprovider) + * [subproviders/nonce_tracker](modules/_subproviders_nonce_tracker_.md) + * [subproviders/nonce_tracker.NonceTrackerSubprovider](#class-noncetrackersubprovider) + * [subproviders/private_key_wallet](modules/_subproviders_private_key_wallet_.md) + * [subproviders/private_key_wallet.PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider) + * [subproviders/redundant_subprovider](modules/_subproviders_redundant_subprovider_.md) + * [subproviders/redundant_subprovider.RedundantSubprovider](#class-redundantsubprovider) + * [subproviders/rpc_subprovider](modules/_subproviders_rpc_subprovider_.md) + * [subproviders/rpc_subprovider.RPCSubprovider](#class-rpcsubprovider) + * [subproviders/signer](modules/_subproviders_signer_.md) + * [subproviders/signer.SignerSubprovider](#class-signersubprovider) + * [subproviders/subprovider](modules/_subproviders_subprovider_.md) + * [subproviders/subprovider.Subprovider](#class-subprovider) + * [subproviders/trezor](modules/_subproviders_trezor_.md) + * [subproviders/trezor.TrezorSubprovider](#class-trezorsubprovider) + * [types](modules/_types_.md) + * [types.LedgerSubproviderErrors](#class-ledgersubprovidererrors) + * [types.NonceSubproviderErrors](#class-noncesubprovidererrors) + * [types.WalletSubproviderErrors](#class-walletsubprovidererrors) + * [types.AccountFetchingConfigs](#class-accountfetchingconfigs) + * [types.DerivedHDKeyInfo](#class-derivedhdkeyinfo) + * [types.ECSignatureString](#class-ecsignaturestring) + * [types.JSONRPCRequestPayloadWithMethod](#class-jsonrpcrequestpayloadwithmethod) + * [types.LedgerCommunication](#class-ledgercommunication) + * [types.LedgerCommunicationClient](#class-ledgercommunicationclient) + * [types.LedgerEthereumClient](#class-ledgerethereumclient) + * [types.LedgerGetAddressResult](#class-ledgergetaddressresult) + * [types.LedgerSubproviderConfigs](#class-ledgersubproviderconfigs) + * [types.MnemonicWalletSubproviderConfigs](#class-mnemonicwalletsubproviderconfigs) + * [types.PartialTxParams](#class-partialtxparams) + * [types.ResponseWithTxParams](#class-responsewithtxparams) + * [types.SignatureData](#class-signaturedata) + * [types.TrezorConnectResponse](#class-trezorconnectresponse) + * [types.TrezorGetPublicKeyResponsePayload](#class-trezorgetpublickeyresponsepayload) + * [types.TrezorResponseErrorPayload](#class-trezorresponseerrorpayload) + * [types.TrezorSignMsgResponsePayload](#class-trezorsignmsgresponsepayload) + * [types.TrezorSignTxResponsePayload](#class-trezorsigntxresponsepayload) + * [types.TrezorSubproviderConfig](#class-trezorsubproviderconfig) + * [utils/subprovider_utils](modules/_utils_subprovider_utils_.md) + * [utils/wallet_utils](modules/_utils_wallet_utils_.md) +* [Classes]() + * [subproviders/base_wallet_subprovider.BaseWalletSubprovider](#class-basewalletsubprovider) + * [subproviders/empty_wallet_subprovider.EmptyWalletSubprovider](#class-emptywalletsubprovider) + * [subproviders/fake_gas_estimate_subprovider.FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider) + * [subproviders/ganache.GanacheSubprovider](#class-ganachesubprovider) + * [subproviders/ledger.LedgerSubprovider](#class-ledgersubprovider) + * [subproviders/metamask_subprovider.MetamaskSubprovider](#class-metamasksubprovider) + * [subproviders/mnemonic_wallet.MnemonicWalletSubprovider](#class-mnemonicwalletsubprovider) + * [subproviders/nonce_tracker.NonceTrackerSubprovider](#class-noncetrackersubprovider) + * [subproviders/private_key_wallet.PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider) + * [subproviders/redundant_subprovider.RedundantSubprovider](#class-redundantsubprovider) + * [subproviders/rpc_subprovider.RPCSubprovider](#class-rpcsubprovider) + * [subproviders/signer.SignerSubprovider](#class-signersubprovider) + * [subproviders/subprovider.Subprovider](#class-subprovider) + * [subproviders/trezor.TrezorSubprovider](#class-trezorsubprovider) +* [Enums]() + * [types.LedgerSubproviderErrors](#class-ledgersubprovidererrors) + * [types.NonceSubproviderErrors](#class-noncesubprovidererrors) + * [types.WalletSubproviderErrors](#class-walletsubprovidererrors) +* [Interfaces]() + * [types.AccountFetchingConfigs](#class-accountfetchingconfigs) + * [types.DerivedHDKeyInfo](#class-derivedhdkeyinfo) + * [types.ECSignatureString](#class-ecsignaturestring) + * [types.JSONRPCRequestPayloadWithMethod](#class-jsonrpcrequestpayloadwithmethod) + * [types.LedgerCommunication](#class-ledgercommunication) + * [types.LedgerCommunicationClient](#class-ledgercommunicationclient) + * [types.LedgerEthereumClient](#class-ledgerethereumclient) + * [types.LedgerGetAddressResult](#class-ledgergetaddressresult) + * [types.LedgerSubproviderConfigs](#class-ledgersubproviderconfigs) + * [types.MnemonicWalletSubproviderConfigs](#class-mnemonicwalletsubproviderconfigs) + * [types.PartialTxParams](#class-partialtxparams) + * [types.ResponseWithTxParams](#class-responsewithtxparams) + * [types.SignatureData](#class-signaturedata) + * [types.TrezorConnectResponse](#class-trezorconnectresponse) + * [types.TrezorGetPublicKeyResponsePayload](#class-trezorgetpublickeyresponsepayload) + * [types.TrezorResponseErrorPayload](#class-trezorresponseerrorpayload) + * [types.TrezorSignMsgResponsePayload](#class-trezorsignmsgresponsepayload) + * [types.TrezorSignTxResponsePayload](#class-trezorsigntxresponsepayload) + * [types.TrezorSubproviderConfig](#class-trezorsubproviderconfig) + +
+ diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index 75c4e89ff9..1d13620652 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -22,6 +22,8 @@ "test:all": "run-s test:unit test:integration", "test:unit": "run-s clean build run_mocha_unit", "test:integration": "run-s clean build run_mocha_integration", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -52,6 +54,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/bip39": "^2.4.0", "@types/bn.js": "^4.11.0", @@ -71,7 +74,7 @@ "shx": "^0.2.2", "sinon": "^4.0.0", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typescript": "3.0.1", "webpack": "^4.20.2" }, diff --git a/packages/web3-wrapper/docs/reference.md b/packages/web3-wrapper/docs/reference.md new file mode 100644 index 0000000000..26d828314e --- /dev/null +++ b/packages/web3-wrapper/docs/reference.md @@ -0,0 +1,2026 @@ +> # Class: Web3Wrapper + +An alternative to the Web3.js library that provides a consistent, clean, promise-based interface. + +## Hierarchy + +* **Web3Wrapper** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abiDecoder](#abidecoder) +* [isZeroExWeb3Wrapper](#iszeroexweb3wrapper) + +### Methods + +* [awaitTransactionMinedAsync](#awaittransactionminedasync) +* [awaitTransactionSuccessAsync](#awaittransactionsuccessasync) +* [callAsync](#callasync) +* [doesContractExistAtAddressAsync](#doescontractexistataddressasync) +* [estimateGasAsync](#estimategasasync) +* [getAvailableAddressesAsync](#getavailableaddressesasync) +* [getBalanceInWeiAsync](#getbalanceinweiasync) +* [getBlockIfExistsAsync](#getblockifexistsasync) +* [getBlockNumberAsync](#getblocknumberasync) +* [getBlockTimestampAsync](#getblocktimestampasync) +* [getBlockWithTransactionDataAsync](#getblockwithtransactiondataasync) +* [getContractCodeAsync](#getcontractcodeasync) +* [getContractDefaults](#getcontractdefaults) +* [getLogsAsync](#getlogsasync) +* [getNetworkIdAsync](#getnetworkidasync) +* [getNodeTypeAsync](#getnodetypeasync) +* [getNodeVersionAsync](#getnodeversionasync) +* [getProvider](#getprovider) +* [getTransactionByHashAsync](#gettransactionbyhashasync) +* [getTransactionReceiptIfExistsAsync](#gettransactionreceiptifexistsasync) +* [getTransactionTraceAsync](#gettransactiontraceasync) +* [increaseTimeAsync](#increasetimeasync) +* [isSenderAddressAvailableAsync](#issenderaddressavailableasync) +* [mineBlockAsync](#mineblockasync) +* [revertSnapshotAsync](#revertsnapshotasync) +* [sendRawPayloadAsync](#sendrawpayloadasync) +* [sendTransactionAsync](#sendtransactionasync) +* [setHeadAsync](#setheadasync) +* [setProvider](#setprovider) +* [signMessageAsync](#signmessageasync) +* [signTypedDataAsync](#signtypeddataasync) +* [takeSnapshotAsync](#takesnapshotasync) +* [isAddress](#static-isaddress) +* [toBaseUnitAmount](#static-tobaseunitamount) +* [toUnitAmount](#static-tounitamount) +* [toWei](#static-towei) + +## Constructors + +### constructor + +\+ **new Web3Wrapper**(`supportedProvider`: `SupportedProvider`, `callAndTxnDefaults`: `Partial`): *[Web3Wrapper](#class-web3wrapper)* + +*Defined in [web3_wrapper.ts:145](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L145)* + +Instantiates a new Web3Wrapper. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`supportedProvider` | `SupportedProvider` | - | - | +`callAndTxnDefaults` | `Partial` | {} | Override Call and Txn Data defaults sent with RPC requests to the backing Ethereum node. | + +**Returns:** *[Web3Wrapper](#class-web3wrapper)* + +An instance of the Web3Wrapper class. + +## Properties + +### abiDecoder + +• **abiDecoder**: *`AbiDecoder`* + +*Defined in [web3_wrapper.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L54)* + +___ + +### isZeroExWeb3Wrapper + +• **isZeroExWeb3Wrapper**: *boolean* = true + +*Defined in [web3_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L53)* + +Flag to check if this instance is of type Web3Wrapper + +## Methods + +### awaitTransactionMinedAsync + +▸ **awaitTransactionMinedAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* + +*Defined in [web3_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L568)* + +Waits for a transaction to be mined and returns the transaction receipt. +Note that just because a transaction was mined does not mean it was +successful. You need to check the status code of the transaction receipt +to find out if it was successful, or use the helper method +awaitTransactionSuccessAsync. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`txHash` | string | - | Transaction hash | +`pollingIntervalMs` | number | 1000 | How often (in ms) should we check if the transaction is mined. | +`timeoutMs?` | undefined \| number | - | How long (in ms) to poll for transaction mined until aborting. | + +**Returns:** *`Promise`* + +Transaction receipt with decoded log args. + +___ + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* + +*Defined in [web3_wrapper.ts:643](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L643)* + +Waits for a transaction to be mined and returns the transaction receipt. +Unlike awaitTransactionMinedAsync, it will throw if the receipt has a +status that is not equal to 1. A status of 0 or null indicates that the +transaction was mined, but failed. See: +https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethgettransactionreceipt + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`txHash` | string | - | Transaction hash | +`pollingIntervalMs` | number | 1000 | How often (in ms) should we check if the transaction is mined. | +`timeoutMs?` | undefined \| number | - | How long (in ms) to poll for transaction mined until aborting. | + +**Returns:** *`Promise`* + +Transaction receipt with decoded log args. + +___ + +### callAsync + +▸ **callAsync**(`callData`: `CallData`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [web3_wrapper.ts:525](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L525)* + +Call a smart contract method at a given block height + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`callData` | `CallData` | Call data | +`defaultBlock?` | `BlockParam` | Block height at which to make the call. Defaults to `latest` | + +**Returns:** *`Promise`* + +The raw call result + +___ + +### doesContractExistAtAddressAsync + +▸ **doesContractExistAtAddressAsync**(`address`: string): *`Promise`* + +*Defined in [web3_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L273)* + +Check if a contract exists at a given address + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | Address to which to check | + +**Returns:** *`Promise`* + +Whether or not contract code was found at the supplied address + +___ + +### estimateGasAsync + +▸ **estimateGasAsync**(`txData`: `Partial`): *`Promise`* + +*Defined in [web3_wrapper.ts:508](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L508)* + +Calculate the estimated gas cost for a given transaction + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txData` | `Partial` | Transaction data | + +**Returns:** *`Promise`* + +Estimated gas cost + +___ + +### getAvailableAddressesAsync + +▸ **getAvailableAddressesAsync**(): *`Promise`* + +*Defined in [web3_wrapper.ts:421](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L421)* + +Retrieve the user addresses available through the backing provider + +**Returns:** *`Promise`* + +Available user addresses + +___ + +### getBalanceInWeiAsync + +▸ **getBalanceInWeiAsync**(`owner`: string, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [web3_wrapper.ts:254](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L254)* + +Retrieves an accounts Ether balance in wei + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Account whose balance you wish to check | +`defaultBlock?` | `BlockParam` | The block depth at which to fetch the balance (default=latest) | + +**Returns:** *`Promise`* + +Balance in wei + +___ + +### getBlockIfExistsAsync + +▸ **getBlockIfExistsAsync**(`blockParam`: string | `BlockParam`): *`Promise`* + +*Defined in [web3_wrapper.ts:361](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L361)* + +Fetch a specific Ethereum block without transaction data + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`blockParam` | string \| `BlockParam` | The block you wish to fetch (blockHash, blockNumber or blockLiteral) | + +**Returns:** *`Promise`* + +The requested block without transaction data, or undefined if block was not found +(e.g the node isn't fully synced, there was a block re-org and the requested block was uncles, etc...) + +___ + +### getBlockNumberAsync + +▸ **getBlockNumberAsync**(): *`Promise`* + +*Defined in [web3_wrapper.ts:347](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L347)* + +Fetches the latest block number + +**Returns:** *`Promise`* + +Block number + +___ + +### getBlockTimestampAsync + +▸ **getBlockTimestampAsync**(`blockParam`: string | `BlockParam`): *`Promise`* + +*Defined in [web3_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L409)* + +Fetch a block's timestamp + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`blockParam` | string \| `BlockParam` | The block you wish to fetch (blockHash, blockNumber or blockLiteral) | + +**Returns:** *`Promise`* + +The block's timestamp + +___ + +### getBlockWithTransactionDataAsync + +▸ **getBlockWithTransactionDataAsync**(`blockParam`: string | `BlockParam`): *`Promise`* + +*Defined in [web3_wrapper.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L387)* + +Fetch a specific Ethereum block with transaction data + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`blockParam` | string \| `BlockParam` | The block you wish to fetch (blockHash, blockNumber or blockLiteral) | + +**Returns:** *`Promise`* + +The requested block with transaction data + +___ + +### getContractCodeAsync + +▸ **getContractCodeAsync**(`address`: string, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [web3_wrapper.ts:286](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L286)* + +Gets the contract code by address + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | Address of the contract | +`defaultBlock?` | `BlockParam` | Block height at which to make the call. Defaults to `latest` | + +**Returns:** *`Promise`* + +Code of the contract + +___ + +### getContractDefaults + +▸ **getContractDefaults**(): *`Partial` | undefined* + +*Defined in [web3_wrapper.ts:164](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L164)* + +Get the contract defaults set to the Web3Wrapper instance + +**Returns:** *`Partial` | undefined* + +CallAndTxnData defaults (e.g gas, gasPrice, nonce, etc...) + +___ + +### getLogsAsync + +▸ **getLogsAsync**(`filter`: `FilterObject`): *`Promise`* + +*Defined in [web3_wrapper.ts:475](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L475)* + +Retrieve smart contract logs for a given filter + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`filter` | `FilterObject` | Parameters by which to filter which logs to retrieve | + +**Returns:** *`Promise`* + +The corresponding log entries + +___ + +### getNetworkIdAsync + +▸ **getNetworkIdAsync**(): *`Promise`* + +*Defined in [web3_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L207)* + +Fetches the networkId of the backing Ethereum node + +**Returns:** *`Promise`* + +The network id + +___ + +### getNodeTypeAsync + +▸ **getNodeTypeAsync**(): *`Promise`* + +*Defined in [web3_wrapper.ts:690](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L690)* + +Returns either NodeType.Geth or NodeType.Ganache depending on the type of +the backing Ethereum node. Throws for any other type of node. + +**Returns:** *`Promise`* + +___ + +### getNodeVersionAsync + +▸ **getNodeVersionAsync**(): *`Promise`* + +*Defined in [web3_wrapper.ts:199](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L199)* + +Fetch the backing Ethereum node's version string (e.g `MetaMask/v4.2.0`) + +**Returns:** *`Promise`* + +Ethereum node's version string + +___ + +### getProvider + +▸ **getProvider**(): *`SupportedProvider`* + +*Defined in [web3_wrapper.ts:171](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L171)* + +Retrieve the Web3 provider + +**Returns:** *`SupportedProvider`* + +Web3 provider instance + +___ + +### getTransactionByHashAsync + +▸ **getTransactionByHashAsync**(`txHash`: string): *`Promise`* + +*Defined in [web3_wrapper.ts:239](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L239)* + +Retrieves the transaction data for a given transaction + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txHash` | string | Transaction hash | + +**Returns:** *`Promise`* + +The raw transaction data + +___ + +### getTransactionReceiptIfExistsAsync + +▸ **getTransactionReceiptIfExistsAsync**(`txHash`: string): *`Promise`* + +*Defined in [web3_wrapper.ts:217](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L217)* + +Retrieves the transaction receipt for a given transaction hash if found + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txHash` | string | Transaction hash | + +**Returns:** *`Promise`* + +The transaction receipt, including it's status (0: failed, 1: succeeded). Returns undefined if transaction not found. + +___ + +### getTransactionTraceAsync + +▸ **getTransactionTraceAsync**(`txHash`: string, `traceParams`: `TraceParams`): *`Promise`* + +*Defined in [web3_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L305)* + +Gets the debug trace of a transaction + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txHash` | string | Hash of the transactuon to get a trace for | +`traceParams` | `TraceParams` | Config object allowing you to specify if you need memory/storage/stack traces. | + +**Returns:** *`Promise`* + +Transaction trace + +___ + +### increaseTimeAsync + +▸ **increaseTimeAsync**(`timeDelta`: number): *`Promise`* + +*Defined in [web3_wrapper.ts:458](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L458)* + +Increase the next blocks timestamp on TestRPC/Ganache or Geth local node. +Will throw if provider is neither TestRPC/Ganache or Geth. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`timeDelta` | number | Amount of time to add in seconds | + +**Returns:** *`Promise`* + +___ + +### isSenderAddressAvailableAsync + +▸ **isSenderAddressAvailableAsync**(`senderAddress`: string): *`Promise`* + +*Defined in [web3_wrapper.ts:189](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L189)* + +Check whether an address is available through the backing provider. This can be +useful if you want to know whether a user can sign messages or transactions from +a given Ethereum address. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`senderAddress` | string | Address to check availability for | + +**Returns:** *`Promise`* + +Whether the address is available through the provider. + +___ + +### mineBlockAsync + +▸ **mineBlockAsync**(): *`Promise`* + +*Defined in [web3_wrapper.ts:450](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L450)* + +Mine a block on a TestRPC/Ganache local node + +**Returns:** *`Promise`* + +___ + +### revertSnapshotAsync + +▸ **revertSnapshotAsync**(`snapshotId`: number): *`Promise`* + +*Defined in [web3_wrapper.ts:442](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L442)* + +Revert the blockchain state to a previous snapshot state on TestRPC/Ganache local node + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`snapshotId` | number | snapshot id to revert to | + +**Returns:** *`Promise`* + +Whether the revert was successful + +___ + +### sendRawPayloadAsync + +▸ **sendRawPayloadAsync**<**A**>(`payload`: `Partial`): *`Promise`* + +*Defined in [web3_wrapper.ts:671](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L671)* + +Sends a raw Ethereum JSON RPC payload and returns the response's `result` key + +**Type parameters:** + +▪ **A** + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`payload` | `Partial` | A partial JSON RPC payload. No need to include version, id, params (if none needed) | + +**Returns:** *`Promise`* + +The contents nested under the result key of the response body + +___ + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`txData`: `TxData`): *`Promise`* + +*Defined in [web3_wrapper.ts:547](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L547)* + +Send a transaction + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txData` | `TxData` | Transaction data | + +**Returns:** *`Promise`* + +Transaction hash + +___ + +### setHeadAsync + +▸ **setHeadAsync**(`blockNumber`: number): *`Promise`* + +*Defined in [web3_wrapper.ts:662](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L662)* + +Calls the 'debug_setHead' JSON RPC method, which sets the current head of +the local chain by block number. Note, this is a destructive action and +may severely damage your chain. Use with extreme caution. As of now, this +is only supported by Geth. It sill throw if the 'debug_setHead' method is +not supported. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`blockNumber` | number | The block number to reset to. | + +**Returns:** *`Promise`* + +___ + +### setProvider + +▸ **setProvider**(`supportedProvider`: `SupportedProvider`): *void* + +*Defined in [web3_wrapper.ts:178](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L178)* + +Update the used Web3 provider + +**Parameters:** + +Name | Type | +------ | ------ | +`supportedProvider` | `SupportedProvider` | + +**Returns:** *void* + +___ + +### signMessageAsync + +▸ **signMessageAsync**(`address`: string, `message`: string): *`Promise`* + +*Defined in [web3_wrapper.ts:319](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L319)* + +Sign a message with a specific address's private key (`eth_sign`) + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | Address of signer | +`message` | string | Message to sign | + +**Returns:** *`Promise`* + +Signature string (might be VRS or RSV depending on the Signer) + +___ + +### signTypedDataAsync + +▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* + +*Defined in [web3_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L334)* + +Sign an EIP712 typed data message with a specific address's private key (`eth_signTypedData`) + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | Address of signer | +`typedData` | any | Typed data message to sign | + +**Returns:** *`Promise`* + +Signature string (as RSV) + +___ + +### takeSnapshotAsync + +▸ **takeSnapshotAsync**(): *`Promise`* + +*Defined in [web3_wrapper.ts:433](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L433)* + +Take a snapshot of the blockchain state on a TestRPC/Ganache local node + +**Returns:** *`Promise`* + +The snapshot id. This can be used to revert to this snapshot + +___ + +### `Static` isAddress + +▸ **isAddress**(`address`: string): *boolean* + +*Defined in [web3_wrapper.ts:65](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L65)* + +Check if an address is a valid Ethereum address + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`address` | string | Address to check | + +**Returns:** *boolean* + +Whether the address is a valid Ethereum address + +___ + +### `Static` toBaseUnitAmount + +▸ **toBaseUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* + +*Defined in [web3_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L91)* + +A baseUnit is defined as the smallest denomination of a token. An amount expressed in baseUnits +is the amount expressed in the smallest denomination. +E.g: 1 unit of a token with 18 decimal places is expressed in baseUnits as 1000000000000000000 + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`amount` | `BigNumber` | The amount of units that you would like converted to baseUnits. | +`decimals` | number | The number of decimal places the unit amount has. | + +**Returns:** *`BigNumber`* + +The amount in baseUnits. + +___ + +### `Static` toUnitAmount + +▸ **toUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* + +*Defined in [web3_wrapper.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L76)* + +A unit amount is defined as the amount of a token above the specified decimal places (integer part). +E.g: If a currency has 18 decimal places, 1e18 or one quintillion of the currency is equivalent +to 1 unit. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`amount` | `BigNumber` | The amount in baseUnits that you would like converted to units. | +`decimals` | number | The number of decimal places the unit amount has. | + +**Returns:** *`BigNumber`* + +The amount in units. + +___ + +### `Static` toWei + +▸ **toWei**(`ethAmount`: `BigNumber`): *`BigNumber`* + +*Defined in [web3_wrapper.ts:107](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L107)* + +Convert an Ether amount from ETH to Wei + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`ethAmount` | `BigNumber` | Amount of Ether to convert to wei | + +**Returns:** *`BigNumber`* + +Amount in wei + +
+ +> # Enumeration: NodeType + +## Index + +### Enumeration members + +* [Ganache](#ganache) +* [Geth](#geth) + +## Enumeration members + +### Ganache + +• **Ganache**: = "GANACHE" + +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L91)* + +___ + +### Geth + +• **Geth**: = "GETH" + +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L90)* + +
+ +> # Enumeration: Web3WrapperErrors + +## Index + +### Enumeration members + +* [TransactionMiningTimeout](#transactionminingtimeout) + +## Enumeration members + +### TransactionMiningTimeout + +• **TransactionMiningTimeout**: = "TRANSACTION_MINING_TIMEOUT" + +*Defined in [types.ts:2](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L2)* + +
+ +> # Interface: AbstractBlockRPC + +## Hierarchy + +* **AbstractBlockRPC** + + * [BlockWithoutTransactionDataRPC](#interface-blockwithouttransactiondatarpc) + + * [BlockWithTransactionDataRPC](#interface-blockwithtransactiondatarpc) + +## Index + +### Properties + +* [difficulty](#difficulty) +* [extraData](#extradata) +* [gasLimit](#gaslimit) +* [gasUsed](#gasused) +* [hash](#hash) +* [logsBloom](#logsbloom) +* [miner](#miner) +* [nonce](#nonce) +* [number](#number) +* [parentHash](#parenthash) +* [sha3Uncles](#sha3uncles) +* [size](#size) +* [stateRoot](#stateroot) +* [timestamp](#timestamp) +* [totalDifficulty](#totaldifficulty) +* [transactionsRoot](#transactionsroot) +* [uncles](#uncles) + +## Properties + +### difficulty + +• **difficulty**: *string* + +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L15)* + +___ + +### extraData + +• **extraData**: *string* + +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L17)* + +___ + +### gasLimit + +• **gasLimit**: *string* + +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L19)* + +___ + +### gasUsed + +• **gasUsed**: *string* + +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L20)* + +___ + +### hash + +• **hash**: *string | null* + +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L7)* + +___ + +### logsBloom + +• **logsBloom**: *string | null* + +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L11)* + +___ + +### miner + +• **miner**: *string* + +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L14)* + +___ + +### nonce + +• **nonce**: *string | null* + +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L9)* + +___ + +### number + +• **number**: *string | null* + +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L6)* + +___ + +### parentHash + +• **parentHash**: *string* + +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L8)* + +___ + +### sha3Uncles + +• **sha3Uncles**: *string* + +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L10)* + +___ + +### size + +• **size**: *string* + +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L18)* + +___ + +### stateRoot + +• **stateRoot**: *string* + +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L13)* + +___ + +### timestamp + +• **timestamp**: *string* + +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L21)* + +___ + +### totalDifficulty + +• **totalDifficulty**: *string* + +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L16)* + +___ + +### transactionsRoot + +• **transactionsRoot**: *string* + +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L12)* + +___ + +### uncles + +• **uncles**: *string[]* + +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L22)* + +
+ +> # Interface: BlockWithoutTransactionDataRPC + +## Hierarchy + +* [AbstractBlockRPC](#interface-abstractblockrpc) + + * **BlockWithoutTransactionDataRPC** + +## Index + +### Properties + +* [difficulty](#difficulty) +* [extraData](#extradata) +* [gasLimit](#gaslimit) +* [gasUsed](#gasused) +* [hash](#hash) +* [logsBloom](#logsbloom) +* [miner](#miner) +* [nonce](#nonce) +* [number](#number) +* [parentHash](#parenthash) +* [sha3Uncles](#sha3uncles) +* [size](#size) +* [stateRoot](#stateroot) +* [timestamp](#timestamp) +* [totalDifficulty](#totaldifficulty) +* [transactions](#transactions) +* [transactionsRoot](#transactionsroot) +* [uncles](#uncles) + +## Properties + +### difficulty + +• **difficulty**: *string* + +*Inherited from [AbstractBlockRPC](#difficulty)* + +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L15)* + +___ + +### extraData + +• **extraData**: *string* + +*Inherited from [AbstractBlockRPC](#extradata)* + +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L17)* + +___ + +### gasLimit + +• **gasLimit**: *string* + +*Inherited from [AbstractBlockRPC](#gaslimit)* + +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L19)* + +___ + +### gasUsed + +• **gasUsed**: *string* + +*Inherited from [AbstractBlockRPC](#gasused)* + +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L20)* + +___ + +### hash + +• **hash**: *string | null* + +*Inherited from [AbstractBlockRPC](#hash)* + +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L7)* + +___ + +### logsBloom + +• **logsBloom**: *string | null* + +*Inherited from [AbstractBlockRPC](#logsbloom)* + +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L11)* + +___ + +### miner + +• **miner**: *string* + +*Inherited from [AbstractBlockRPC](#miner)* + +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L14)* + +___ + +### nonce + +• **nonce**: *string | null* + +*Inherited from [AbstractBlockRPC](#nonce)* + +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L9)* + +___ + +### number + +• **number**: *string | null* + +*Inherited from [AbstractBlockRPC](#number)* + +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L6)* + +___ + +### parentHash + +• **parentHash**: *string* + +*Inherited from [AbstractBlockRPC](#parenthash)* + +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L8)* + +___ + +### sha3Uncles + +• **sha3Uncles**: *string* + +*Inherited from [AbstractBlockRPC](#sha3uncles)* + +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L10)* + +___ + +### size + +• **size**: *string* + +*Inherited from [AbstractBlockRPC](#size)* + +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L18)* + +___ + +### stateRoot + +• **stateRoot**: *string* + +*Inherited from [AbstractBlockRPC](#stateroot)* + +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L13)* + +___ + +### timestamp + +• **timestamp**: *string* + +*Inherited from [AbstractBlockRPC](#timestamp)* + +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L21)* + +___ + +### totalDifficulty + +• **totalDifficulty**: *string* + +*Inherited from [AbstractBlockRPC](#totaldifficulty)* + +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L16)* + +___ + +### transactions + +• **transactions**: *string[]* + +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L25)* + +___ + +### transactionsRoot + +• **transactionsRoot**: *string* + +*Inherited from [AbstractBlockRPC](#transactionsroot)* + +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L12)* + +___ + +### uncles + +• **uncles**: *string[]* + +*Inherited from [AbstractBlockRPC](#uncles)* + +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L22)* + +
+ +> # Interface: BlockWithTransactionDataRPC + +## Hierarchy + +* [AbstractBlockRPC](#interface-abstractblockrpc) + + * **BlockWithTransactionDataRPC** + +## Index + +### Properties + +* [difficulty](#difficulty) +* [extraData](#extradata) +* [gasLimit](#gaslimit) +* [gasUsed](#gasused) +* [hash](#hash) +* [logsBloom](#logsbloom) +* [miner](#miner) +* [nonce](#nonce) +* [number](#number) +* [parentHash](#parenthash) +* [sha3Uncles](#sha3uncles) +* [size](#size) +* [stateRoot](#stateroot) +* [timestamp](#timestamp) +* [totalDifficulty](#totaldifficulty) +* [transactions](#transactions) +* [transactionsRoot](#transactionsroot) +* [uncles](#uncles) + +## Properties + +### difficulty + +• **difficulty**: *string* + +*Inherited from [AbstractBlockRPC](#difficulty)* + +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L15)* + +___ + +### extraData + +• **extraData**: *string* + +*Inherited from [AbstractBlockRPC](#extradata)* + +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L17)* + +___ + +### gasLimit + +• **gasLimit**: *string* + +*Inherited from [AbstractBlockRPC](#gaslimit)* + +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L19)* + +___ + +### gasUsed + +• **gasUsed**: *string* + +*Inherited from [AbstractBlockRPC](#gasused)* + +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L20)* + +___ + +### hash + +• **hash**: *string | null* + +*Inherited from [AbstractBlockRPC](#hash)* + +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L7)* + +___ + +### logsBloom + +• **logsBloom**: *string | null* + +*Inherited from [AbstractBlockRPC](#logsbloom)* + +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L11)* + +___ + +### miner + +• **miner**: *string* + +*Inherited from [AbstractBlockRPC](#miner)* + +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L14)* + +___ + +### nonce + +• **nonce**: *string | null* + +*Inherited from [AbstractBlockRPC](#nonce)* + +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L9)* + +___ + +### number + +• **number**: *string | null* + +*Inherited from [AbstractBlockRPC](#number)* + +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L6)* + +___ + +### parentHash + +• **parentHash**: *string* + +*Inherited from [AbstractBlockRPC](#parenthash)* + +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L8)* + +___ + +### sha3Uncles + +• **sha3Uncles**: *string* + +*Inherited from [AbstractBlockRPC](#sha3uncles)* + +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L10)* + +___ + +### size + +• **size**: *string* + +*Inherited from [AbstractBlockRPC](#size)* + +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L18)* + +___ + +### stateRoot + +• **stateRoot**: *string* + +*Inherited from [AbstractBlockRPC](#stateroot)* + +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L13)* + +___ + +### timestamp + +• **timestamp**: *string* + +*Inherited from [AbstractBlockRPC](#timestamp)* + +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L21)* + +___ + +### totalDifficulty + +• **totalDifficulty**: *string* + +*Inherited from [AbstractBlockRPC](#totaldifficulty)* + +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L16)* + +___ + +### transactions + +• **transactions**: *[TransactionRPC](#interface-transactionrpc)[]* + +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L28)* + +___ + +### transactionsRoot + +• **transactionsRoot**: *string* + +*Inherited from [AbstractBlockRPC](#transactionsroot)* + +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L12)* + +___ + +### uncles + +• **uncles**: *string[]* + +*Inherited from [AbstractBlockRPC](#uncles)* + +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L22)* + +
+ +> # Interface: CallDataRPC + +## Hierarchy + +* [CallTxDataBaseRPC](#interface-calltxdatabaserpc) + + * **CallDataRPC** + +## Index + +### Properties + +* [data](#optional-data) +* [from](#optional-from) +* [gas](#optional-gas) +* [gasPrice](#optional-gasprice) +* [nonce](#optional-nonce) +* [to](#optional-to) +* [value](#optional-value) + +## Properties + +### `Optional` data + +• **data**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-data)* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L76)* + +___ + +### `Optional` from + +• **from**? : *undefined | string* + +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L85)* + +___ + +### `Optional` gas + +• **gas**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-gas)* + +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L74)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-gasprice)* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L75)* + +___ + +### `Optional` nonce + +• **nonce**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-nonce)* + +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L77)* + +___ + +### `Optional` to + +• **to**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-to)* + +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L72)* + +___ + +### `Optional` value + +• **value**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-value)* + +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L73)* + +
+ +> # Interface: CallTxDataBaseRPC + +## Hierarchy + +* **CallTxDataBaseRPC** + + * [TxDataRPC](#interface-txdatarpc) + + * [CallDataRPC](#interface-calldatarpc) + +## Index + +### Properties + +* [data](#optional-data) +* [gas](#optional-gas) +* [gasPrice](#optional-gasprice) +* [nonce](#optional-nonce) +* [to](#optional-to) +* [value](#optional-value) + +## Properties + +### `Optional` data + +• **data**? : *undefined | string* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L76)* + +___ + +### `Optional` gas + +• **gas**? : *undefined | string* + +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L74)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *undefined | string* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L75)* + +___ + +### `Optional` nonce + +• **nonce**? : *undefined | string* + +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L77)* + +___ + +### `Optional` to + +• **to**? : *undefined | string* + +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L72)* + +___ + +### `Optional` value + +• **value**? : *undefined | string* + +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L73)* + +
+ +> # Interface: LogEntryRPC + +## Hierarchy + +* **LogEntryRPC** + +## Index + +### Properties + +* [address](#address) +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [data](#data) +* [logIndex](#logindex) +* [topics](#topics) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### address + +• **address**: *string* + +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L64)* + +___ + +### blockHash + +• **blockHash**: *string | null* + +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L62)* + +___ + +### blockNumber + +• **blockNumber**: *string | null* + +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L63)* + +___ + +### data + +• **data**: *string* + +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L65)* + +___ + +### logIndex + +• **logIndex**: *string | null* + +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L59)* + +___ + +### topics + +• **topics**: *string[]* + +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L66)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L61)* + +___ + +### transactionIndex + +• **transactionIndex**: *string | null* + +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L60)* + +
+ +> # Interface: TransactionReceiptRPC + +## Hierarchy + +* **TransactionReceiptRPC** + +## Index + +### Properties + +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [contractAddress](#contractaddress) +* [cumulativeGasUsed](#cumulativegasused) +* [from](#from) +* [gasUsed](#gasused) +* [logs](#logs) +* [status](#status) +* [to](#to) +* [transactionHash](#transactionhash) +* [transactionIndex](#transactionindex) + +## Properties + +### blockHash + +• **blockHash**: *string* + +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L45)* + +___ + +### blockNumber + +• **blockNumber**: *string* + +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L46)* + +___ + +### contractAddress + +• **contractAddress**: *string | null* + +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L54)* + +___ + +### cumulativeGasUsed + +• **cumulativeGasUsed**: *string* + +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L52)* + +___ + +### from + +• **from**: *string* + +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L49)* + +___ + +### gasUsed + +• **gasUsed**: *string* + +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L53)* + +___ + +### logs + +• **logs**: *[LogEntryRPC](#interface-logentryrpc)[]* + +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L55)* + +___ + +### status + +• **status**: *[TransactionReceiptStatusRPC](#transactionreceiptstatusrpc)* + +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L51)* + +___ + +### to + +• **to**: *string* + +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L50)* + +___ + +### transactionHash + +• **transactionHash**: *string* + +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L47)* + +___ + +### transactionIndex + +• **transactionIndex**: *string* + +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L48)* + +
+ +> # Interface: TransactionRPC + +## Hierarchy + +* **TransactionRPC** + +## Index + +### Properties + +* [blockHash](#blockhash) +* [blockNumber](#blocknumber) +* [from](#from) +* [gas](#gas) +* [gasPrice](#gasprice) +* [hash](#hash) +* [input](#input) +* [nonce](#nonce) +* [to](#to) +* [transactionIndex](#transactionindex) +* [value](#value) + +## Properties + +### blockHash + +• **blockHash**: *string | null* + +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L33)* + +___ + +### blockNumber + +• **blockNumber**: *string | null* + +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L34)* + +___ + +### from + +• **from**: *string* + +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L36)* + +___ + +### gas + +• **gas**: *string* + +*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L40)* + +___ + +### gasPrice + +• **gasPrice**: *string* + +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L39)* + +___ + +### hash + +• **hash**: *string* + +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L31)* + +___ + +### input + +• **input**: *string* + +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L41)* + +___ + +### nonce + +• **nonce**: *string* + +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L32)* + +___ + +### to + +• **to**: *string | null* + +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L37)* + +___ + +### transactionIndex + +• **transactionIndex**: *string | null* + +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L35)* + +___ + +### value + +• **value**: *string* + +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L38)* + +
+ +> # Interface: TxDataRPC + +## Hierarchy + +* [CallTxDataBaseRPC](#interface-calltxdatabaserpc) + + * **TxDataRPC** + +## Index + +### Properties + +* [data](#optional-data) +* [from](#from) +* [gas](#optional-gas) +* [gasPrice](#optional-gasprice) +* [nonce](#optional-nonce) +* [to](#optional-to) +* [value](#optional-value) + +## Properties + +### `Optional` data + +• **data**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-data)* + +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L76)* + +___ + +### from + +• **from**: *string* + +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L81)* + +___ + +### `Optional` gas + +• **gas**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-gas)* + +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L74)* + +___ + +### `Optional` gasPrice + +• **gasPrice**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-gasprice)* + +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L75)* + +___ + +### `Optional` nonce + +• **nonce**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-nonce)* + +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L77)* + +___ + +### `Optional` to + +• **to**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-to)* + +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L72)* + +___ + +### `Optional` value + +• **value**? : *undefined | string* + +*Inherited from [CallTxDataBaseRPC](#optional-value)* + +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L73)* + +
+ +* [Globals](globals.md) +* [External Modules]() + * [index](modules/_index_.md) + * [marshaller](modules/_marshaller_.md) + * [types](modules/_types_.md) + * [types.NodeType](#class-nodetype) + * [types.Web3WrapperErrors](#class-web3wrappererrors) + * [types.AbstractBlockRPC](#class-abstractblockrpc) + * [types.BlockWithTransactionDataRPC](#class-blockwithtransactiondatarpc) + * [types.BlockWithoutTransactionDataRPC](#class-blockwithouttransactiondatarpc) + * [types.CallDataRPC](#class-calldatarpc) + * [types.CallTxDataBaseRPC](#class-calltxdatabaserpc) + * [types.LogEntryRPC](#class-logentryrpc) + * [types.TransactionRPC](#class-transactionrpc) + * [types.TransactionReceiptRPC](#class-transactionreceiptrpc) + * [types.TxDataRPC](#class-txdatarpc) + * [utils](modules/_utils_.md) + * [web3_wrapper](modules/_web3_wrapper_.md) + * [web3_wrapper.Web3Wrapper](#class-web3wrapper) +* [Classes]() + * [web3_wrapper.Web3Wrapper](#class-web3wrapper) +* [Enums]() + * [types.NodeType](#class-nodetype) + * [types.Web3WrapperErrors](#class-web3wrappererrors) +* [Interfaces]() + * [types.AbstractBlockRPC](#class-abstractblockrpc) + * [types.BlockWithTransactionDataRPC](#class-blockwithtransactiondatarpc) + * [types.BlockWithoutTransactionDataRPC](#class-blockwithouttransactiondatarpc) + * [types.CallDataRPC](#class-calldatarpc) + * [types.CallTxDataBaseRPC](#class-calltxdatabaserpc) + * [types.LogEntryRPC](#class-logentryrpc) + * [types.TransactionRPC](#class-transactionrpc) + * [types.TransactionReceiptRPC](#class-transactionreceiptrpc) + * [types.TxDataRPC](#class-txdatarpc) + +
+ diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 84f1a62d2e..2065b03e19 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -20,6 +20,8 @@ "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --bail --exit", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", + "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { @@ -37,6 +39,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/web3-wrapper/README.md", "devDependencies": { + "@0x/ts-doc-gen": "^0.0.6", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", @@ -51,7 +54,7 @@ "nyc": "^11.0.1", "shx": "^0.2.2", "tslint": "5.11.0", - "typedoc": "0.13.0", + "typedoc": "^0.15.0", "typescript": "3.0.1" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index 919c82c816..0880ccaa5b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -806,6 +806,20 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.3.0" +"@0x/ts-doc-gen@^0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.6.tgz#f125ea59897e8e3218b366cb9ecf60899d3f619d" + integrity sha512-oPxuIqUZbviyaW4zFN7ilY8rHgwruEU2EU6RqAqEwZV6z/c/7qRk3nk/p3O6NocwSdS82myCudr2VclC0YfzPA== + dependencies: + "@0x/typescript-typings" "^4.2.2" + "@0x/utils" "^4.3.3" + glob "^7.1.4" + promisify-child-process "^3.1.1" + rimraf "^2.6.3" + typedoc "^0.15.0" + typedoc-plugin-markdown "^2.1.0" + yargs "^10.0.3" + "@0x/web3-wrapper@^4.0.1": version "4.0.2" resolved "https://registry.npmjs.org/@0x/web3-wrapper/-/web3-wrapper-4.0.2.tgz#d4e0a4fa1217155e1aed4cd91086654fd99f2959" @@ -877,7 +891,7 @@ dependencies: regenerator-runtime "^0.12.0" -"@babel/runtime@^7.4.5": +"@babel/runtime@^7.1.5", "@babel/runtime@^7.4.5": version "7.5.5" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132" dependencies: @@ -3674,6 +3688,13 @@ bach@^1.0.0: async-settle "^1.0.0" now-and-later "^2.0.0" +backbone@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/backbone/-/backbone-1.4.0.tgz#54db4de9df7c3811c3f032f34749a4cd27f3bd12" + integrity sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ== + dependencies: + underscore ">=1.8.3" + backoff@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/backoff/-/backoff-2.5.0.tgz#f616eda9d3e4b66b8ca7fca79f695722c5f8e26f" @@ -9156,9 +9177,10 @@ highlight.js@^9.13.1: version "9.13.1" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.13.1.tgz#054586d53a6863311168488a0f58d6c505ce641e" -highlight.js@^9.6.0: +highlight.js@^9.15.8: version "9.15.9" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.15.9.tgz#865257da1dbb4a58c4552d46c4b3854f77f0e6d5" + integrity sha512-M0zZvfLr5p0keDMCAhNBp03XJbKBxUx5AfyfufMdFMEP4N/Xj6dh0IqC75ys7BAzceR34NgcvXjupRVaHBPPVQ== highlightjs-solidity@^1.0.5: version "1.0.6" @@ -10627,6 +10649,11 @@ jmespath@0.15.0: version "0.15.0" resolved "https://registry.npmjs.org/jmespath/-/jmespath-0.15.0.tgz#a3f222a9aae9f966f5d27c796510e28091764217" +jquery@^3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.4.1.tgz#714f1f8d9dde4bdfa55764ba37ef214630d80ef2" + integrity sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw== + js-base64@^2.1.8: version "2.5.1" resolved "https://registry.npmjs.org/js-base64/-/js-base64-2.5.1.tgz#1efa39ef2c5f7980bb1784ade4a8af2de3291121" @@ -11737,6 +11764,11 @@ lunr@^2.3.0: version "2.3.1" resolved "https://registry.npmjs.org/lunr/-/lunr-2.3.1.tgz#113616a2b602ddc10932a7bf8a4e6e57ebfecdf2" +lunr@^2.3.6: + version "2.3.6" + resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.6.tgz#f278beee7ffd56ad86e6e478ce02ab2b98c78dd5" + integrity sha512-swStvEyDqQ85MGpABCMBclZcLI/pBIlu8FFDtmX197+oEgKloJ67QnB+Tidh0340HmLMs39c4GrkPY3cmkXp6Q== + macaddress@^0.2.8: version "0.2.8" resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.8.tgz#5904dc537c39ec6dbefeae902327135fa8511f12" @@ -11858,6 +11890,11 @@ marked@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/marked/-/marked-0.4.0.tgz#9ad2c2a7a1791f10a852e0112f77b571dce10c66" +marked@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/marked/-/marked-0.7.0.tgz#b64201f051d271b1edc10a04d1ae9b74bb8e5c0e" + integrity sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg== + matchdep@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/matchdep/-/matchdep-2.0.0.tgz#c6f34834a0d8dbc3b37c27ee8bbcb27c7775582e" @@ -14285,6 +14322,11 @@ progress@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" +progress@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" + integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== + promise-inflight@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" @@ -14313,6 +14355,13 @@ promisify-child-process@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/promisify-child-process/-/promisify-child-process-1.0.5.tgz#817ad1aec92c013d83bb37e1f143e9b4033d9669" +promisify-child-process@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/promisify-child-process/-/promisify-child-process-3.1.1.tgz#3a029c1d97bdb8bbcc8862c765b91f1cee0f2691" + integrity sha512-683UHZEP4Bm75BvBujEe87AdE9lxnoWpcU5pEw4FG9HCSwwZC9pF7HUj3QmlDAvhyvulkWHLZs1lVRBNTvkbXQ== + dependencies: + "@babel/runtime" "^7.1.5" + prompt@0.2.14: version "0.2.14" resolved "https://registry.yarnpkg.com/prompt/-/prompt-0.2.14.tgz#57754f64f543fd7b0845707c818ece618f05ffdc" @@ -16364,6 +16413,15 @@ shelljs@^0.8.2: interpret "^1.0.0" rechoir "^0.6.2" +shelljs@^0.8.3: + version "0.8.3" + resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097" + integrity sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A== + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + shellwords@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" @@ -17911,6 +17969,21 @@ typedoc-default-themes@^0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.5.0.tgz#6dc2433e78ed8bea8e887a3acde2f31785bd6227" +typedoc-default-themes@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.6.0.tgz#7e73bf54dd9e11550dd0fb576d5176b758f8f8b5" + integrity sha512-MdTROOojxod78CEv22rIA69o7crMPLnVZPefuDLt/WepXqJwgiSu8Xxq+H36x0Jj3YGc7lOglI2vPJ2GhoOybw== + dependencies: + backbone "^1.4.0" + jquery "^3.4.1" + lunr "^2.3.6" + underscore "^1.9.1" + +typedoc-plugin-markdown@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/typedoc-plugin-markdown/-/typedoc-plugin-markdown-2.1.0.tgz#17b7b97415b97214985d1a61ef7b9a4dce3e8305" + integrity sha512-f7CgreapeUIpm85BnC4ec9PZp10INOpLpItSCV4YFlZS4VaBA/a1D2nYv9+7TVJugc084XlSFUY+OX9fwGAUpA== + typedoc@0.13.0: version "0.13.0" resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.13.0.tgz#9efdf352bd54873955cd161bd4b75f24a8c59dde" @@ -17933,6 +18006,23 @@ typedoc@0.13.0: typedoc-default-themes "^0.5.0" typescript "3.1.x" +typedoc@^0.15.0: + version "0.15.0" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.15.0.tgz#21eaf4db41cf2797bad027a74f2a75cd08ae0c2d" + integrity sha512-NOtfq5Tis4EFt+J2ozhVq9RCeUnfEYMFKoU6nCXCXUULJz1UQynOM+yH3TkfZCPLzigbqB0tQYGVlktUWweKlw== + dependencies: + "@types/minimatch" "3.0.3" + fs-extra "^8.1.0" + handlebars "^4.1.2" + highlight.js "^9.15.8" + lodash "^4.17.15" + marked "^0.7.0" + minimatch "^3.0.0" + progress "^2.0.3" + shelljs "^0.8.3" + typedoc-default-themes "^0.6.0" + typescript "3.5.x" + typemoq@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/typemoq/-/typemoq-2.1.0.tgz#4452ce360d92cf2a1a180f0c29de2803f87af1e8" @@ -17973,6 +18063,11 @@ typescript@3.1.x: version "3.1.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.1.3.tgz#01b70247a6d3c2467f70c45795ef5ea18ce191d5" +typescript@3.5.x: + version "3.5.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977" + integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g== + typewise-core@^1.2, typewise-core@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/typewise-core/-/typewise-core-1.2.0.tgz#97eb91805c7f55d2f941748fa50d315d991ef195" @@ -18079,6 +18174,11 @@ underscore@1.8.3: version "1.8.3" resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.8.3.tgz#4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022" +underscore@>=1.8.3, underscore@^1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961" + integrity sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg== + underscore@~1.4.4: version "1.4.4" resolved "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz#61a6a32010622afa07963bf325203cf12239d604" From 4566ddb037ee8c0ad254a24981b324f107baf8ca Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 3 Aug 2019 18:33:33 +0200 Subject: [PATCH 03/37] Split MD doc generation and S3 uploading --- package.json | 2 ++ packages/0x.js/package.json | 4 ++-- packages/asset-buyer/package.json | 4 ++-- packages/asset-swapper/package.json | 4 ++-- packages/connect/package.json | 4 ++-- packages/contract-wrappers/package.json | 4 ++-- packages/ethereum-types/package.json | 4 ++-- packages/json-schemas/package.json | 4 ++-- packages/migrations/package.json | 4 ++-- packages/order-utils/package.json | 4 ++-- packages/sol-compiler/package.json | 4 ++-- packages/sol-coverage/package.json | 4 ++-- packages/sol-profiler/package.json | 4 ++-- packages/sol-trace/package.json | 4 ++-- packages/subproviders/package.json | 4 ++-- packages/web3-wrapper/package.json | 4 ++-- 16 files changed, 32 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 934e2e5610..882a6f7d26 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,8 @@ "test": "wsrun test $PKG --fast-exit --serial --exclude-missing", "test:contracts": "wsrun test -p ${npm_package_config_contractsPackages} -c --fast-exit --serial --exclude-missing", "generate_doc": "node ./packages/monorepo-scripts/lib/doc_generate_and_upload.js", + "generate_md_docs": "wsrun docs:md --exclude-missing", + "upload_md_docs": "wsrun s3:sync_md_docs --exclude-missing", "test:generate_docs:circleci": "for i in ${npm_package_config_packagesWithDocPages}; do yarn generate_doc --package $i --shouldUpload false --isStaging true || break -1; done;", "bundlewatch": "bundlewatch", "lint": "wsrun lint $PKG --fast-exit --parallel --exclude-missing" diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 57b9a69685..5d1019c112 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -27,8 +27,8 @@ "clean": "shx rm -rf _bundles lib test_temp src/generated_contract_wrappers generated_docs", "build:umd:prod": "NODE_ENV=production node --max_old_space_size=8192 ../../node_modules/.bin/webpack --mode production", "build:commonjs": "tsc -b", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index cf500aa6bf..fe704dcd38 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -19,8 +19,8 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib test_temp", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index 521a267263..d90a8eb291 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -19,8 +19,8 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit", "clean": "shx rm -rf lib test_temp", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/connect/package.json b/packages/connect/package.json index a8242ddd14..8ddcfc012d 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -27,8 +27,8 @@ "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "test:circleci": "yarn test:coverage", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 23049f4bc7..9befaa6bf1 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -32,8 +32,8 @@ "clean": "shx rm -rf lib src/generated-wrappers", "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --output src/generated-wrappers --backend ethers", "docs_test": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --out generated_docs ./src/generated-wrappers/*", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync" + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", }, "config": { "abis": "../contract-artifacts/artifacts/@(AssetProxyOwner|DevUtils|DutchAuction|DummyERC20Token|DummyERC721Token|ERC20Proxy|ERC20Token|ERC721Proxy|ERC721Token|Exchange|Forwarder|IAssetProxy|IValidator|IWallet|MultiAssetProxy|OrderValidator|WETH9|ZRXToken|Coordinator|CoordinatorRegistry|EthBalanceChecker).json" diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index 8cc6abc07d..69f9b4e4a1 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -13,8 +13,8 @@ "clean": "shx rm -rf lib generated_docs", "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index f788b3d1ff..91825e43ce 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -19,8 +19,8 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib test_temp generated_docs", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/migrations/package.json b/packages/migrations/package.json index ffb05af0b9..4a2b2cc944 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -17,8 +17,8 @@ "migrate:v2:snapshot": "run-s build script:migrate:v2:snapshot", "script:migrate:v2": "node ./lib/migrate.js", "script:migrate:v2:snapshot": "node ./lib/migrate_snapshot.js", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES", "build:snapshot": "rm -rf ${npm_package_config_snapshot_name} && yarn migrate:v2:snapshot && zip -r \"${npm_package_config_snapshot_name}-${npm_package_version}.zip\" ${npm_package_config_snapshot_name}", "build:snapshot:docker": "docker build --tag ${npm_package_config_docker_snapshot_name}:${npm_package_version} --tag ${npm_package_config_docker_snapshot_name}:latest .", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 944c5f7879..5e05c05b94 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -19,8 +19,8 @@ "clean": "shx rm -rf lib generated_docs", "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 797124ab8e..bf1483d0bf 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -22,8 +22,8 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "test:circleci": "yarn test:coverage", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index 3305dcd515..a5b4956a2a 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -13,8 +13,8 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 5a4e3ada15..b5564d39c0 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -13,8 +13,8 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index 074f9df334..99f89f702e 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -13,8 +13,8 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index 1d13620652..b3cf5671d8 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -22,8 +22,8 @@ "test:all": "run-s test:unit test:integration", "test:unit": "run-s clean build run_mocha_unit", "test:integration": "run-s clean build run_mocha_integration", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 2065b03e19..a1f374ad9e 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -20,8 +20,8 @@ "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --bail --exit", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", - "s3:sync": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json; yarn s3:sync", + "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { From 7aacff62ca897734889991c4df83e92144951f7b Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 3 Aug 2019 18:34:04 +0200 Subject: [PATCH 04/37] Add MD doc generation and S3 upload to publishing flow --- packages/monorepo-scripts/src/publish.ts | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts index d5ca4fa284..d291ff304f 100644 --- a/packages/monorepo-scripts/src/publish.ts +++ b/packages/monorepo-scripts/src/publish.ts @@ -71,9 +71,12 @@ async function confirmAsync(message: string): Promise { } }); - // Push changelog changes to Github + // Generate markdown docs for packages + await execAsync(`yarn generate_md_docs`, { cwd: constants.monorepoRootPath }); + + // Push changelogs changes and markdown docs to Github if (!configs.IS_LOCAL_PUBLISH) { - await pushChangelogsToGithubAsync(); + await pushChangelogsAndMDDocsToGithubAsync(); } // Call LernaPublish @@ -93,6 +96,10 @@ async function confirmAsync(message: string): Promise { const shouldUploadDocs = true; await generateAndUploadDocJsonsAsync(packagesWithDocs, isStaging, shouldUploadDocs); } + + // Upload markdown docs to S3 bucket + await execAsync(`yarn upload_md_docs`, { cwd: constants.monorepoRootPath }); + const releaseNotes = await publishReleaseNotesAsync(updatedPublicPackages, isDryRun); utils.log('Published release notes'); @@ -160,6 +167,10 @@ function getPackagesWithDocs(allUpdatedPackages: Package[]): Package[] { return updatedPackagesWithDocPages; } +async function generateAndUploadMarkdownDocsAsync(): Promise { + await execAsync(`yarn generate_md_docs`, { cwd: constants.monorepoRootPath }); +} + async function generateAndUploadDocJsonsAsync( packagesWithDocs: Package[], isStaging: boolean, @@ -195,11 +206,11 @@ async function confirmDocPagesRenderAsync(packagesWithDocs: Package[]): Promise< await confirmAsync('Do all the doc pages render? (y/n)'); } -async function pushChangelogsToGithubAsync(): Promise { +async function pushChangelogsAndMDDocsToGithubAsync(): Promise { await execAsync(`git add . --all`, { cwd: constants.monorepoRootPath }); - await execAsync(`git commit -m "Updated CHANGELOGS"`, { cwd: constants.monorepoRootPath }); + await execAsync(`git commit -m "Updated CHANGELOGS & MD docs"`, { cwd: constants.monorepoRootPath }); await execAsync(`git push`, { cwd: constants.monorepoRootPath }); - utils.log(`Pushed CHANGELOG updates to Github`); + utils.log(`Pushed CHANGELOG updates & updated MD docs to Github`); } async function updateChangeLogsAsync(updatedPublicPackages: Package[]): Promise { From 41fcc41bd150781be5a4813da2189893c82c11b2 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 3 Aug 2019 21:45:47 +0200 Subject: [PATCH 05/37] Fix linter --- packages/monorepo-scripts/src/publish.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts index d291ff304f..03470b34e6 100644 --- a/packages/monorepo-scripts/src/publish.ts +++ b/packages/monorepo-scripts/src/publish.ts @@ -167,10 +167,6 @@ function getPackagesWithDocs(allUpdatedPackages: Package[]): Package[] { return updatedPackagesWithDocPages; } -async function generateAndUploadMarkdownDocsAsync(): Promise { - await execAsync(`yarn generate_md_docs`, { cwd: constants.monorepoRootPath }); -} - async function generateAndUploadDocJsonsAsync( packagesWithDocs: Package[], isStaging: boolean, From 67322ba39f1397ee23652108eae2e605bb2d3f44 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 3 Aug 2019 21:47:32 +0200 Subject: [PATCH 06/37] Only upload MD docs if an actual publish --- packages/monorepo-scripts/src/publish.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts index 03470b34e6..4b3f95b608 100644 --- a/packages/monorepo-scripts/src/publish.ts +++ b/packages/monorepo-scripts/src/publish.ts @@ -95,10 +95,10 @@ async function confirmAsync(message: string): Promise { const isStaging = false; const shouldUploadDocs = true; await generateAndUploadDocJsonsAsync(packagesWithDocs, isStaging, shouldUploadDocs); - } - // Upload markdown docs to S3 bucket - await execAsync(`yarn upload_md_docs`, { cwd: constants.monorepoRootPath }); + // Upload markdown docs to S3 bucket + await execAsync(`yarn upload_md_docs`, { cwd: constants.monorepoRootPath }); + } const releaseNotes = await publishReleaseNotesAsync(updatedPublicPackages, isDryRun); utils.log('Published release notes'); From 326539f1f5e0ccde8965e29120176a46663a6aca Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 3 Aug 2019 22:14:20 +0200 Subject: [PATCH 07/37] Update ts-docs-gen dep and re-generate the reference docs --- packages/0x.js/package.json | 2 +- packages/asset-buyer/docs/reference.md | 132 +-- packages/asset-buyer/package.json | 2 +- packages/asset-swapper/docs/reference.md | 376 ++++---- packages/asset-swapper/package.json | 2 +- packages/connect/docs/reference.md | 54 +- packages/connect/package.json | 2 +- packages/contract-wrappers/docs/reference.md | 592 ++++++------ packages/contract-wrappers/package.json | 2 +- packages/ethereum-types/docs/reference.md | 908 +++++++++---------- packages/ethereum-types/package.json | 2 +- packages/json-schemas/docs/reference.md | 8 +- packages/json-schemas/package.json | 2 +- packages/migrations/docs/reference.md | 38 +- packages/migrations/package.json | 2 +- packages/order-utils/docs/reference.md | 166 ++-- packages/order-utils/package.json | 2 +- packages/order-watcher/docs/reference.md | 128 +-- packages/sol-compiler/docs/reference.md | 40 +- packages/sol-compiler/package.json | 2 +- packages/sol-coverage/docs/reference.md | 8 +- packages/sol-coverage/package.json | 2 +- packages/sol-profiler/docs/reference.md | 4 +- packages/sol-profiler/package.json | 2 +- packages/sol-trace/docs/reference.md | 2 +- packages/sol-trace/package.json | 2 +- packages/subproviders/docs/reference.md | 296 +++--- packages/subproviders/package.json | 2 +- packages/web3-wrapper/docs/reference.md | 290 +++--- packages/web3-wrapper/package.json | 2 +- 30 files changed, 1536 insertions(+), 1536 deletions(-) diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 5d1019c112..0ab78ad8cc 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -48,7 +48,7 @@ "@0x/contract-addresses": "^3.1.0", "@0x/dev-utils": "^2.3.1", "@0x/migrations": "^4.3.0", - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-buyer/docs/reference.md b/packages/asset-buyer/docs/reference.md index 01f1844708..81dec0d125 100644 --- a/packages/asset-buyer/docs/reference.md +++ b/packages/asset-buyer/docs/reference.md @@ -35,7 +35,7 @@ \+ **new AssetBuyer**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#class-assetbuyer)* -*Defined in [asset_buyer.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L84)* +*Defined in [asset_buyer.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L84)* Instantiates a new AssetBuyer instance @@ -57,7 +57,7 @@ An instance of AssetBuyer • **expiryBufferSeconds**: *number* -*Defined in [asset_buyer.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L41)* +*Defined in [asset_buyer.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L41)* ___ @@ -65,7 +65,7 @@ ___ • **networkId**: *number* -*Defined in [asset_buyer.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L39)* +*Defined in [asset_buyer.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L39)* ___ @@ -73,7 +73,7 @@ ___ • **orderProvider**: *[OrderProvider](#interface-orderprovider)* -*Defined in [asset_buyer.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L38)* +*Defined in [asset_buyer.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L38)* ___ @@ -81,7 +81,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [asset_buyer.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L40)* +*Defined in [asset_buyer.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L40)* ___ @@ -89,7 +89,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [asset_buyer.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L37)* +*Defined in [asset_buyer.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L37)* ## Methods @@ -97,7 +97,7 @@ ___ ▸ **executeBuyQuoteAsync**(`buyQuote`: [BuyQuote](#interface-buyquote), `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L227)* +*Defined in [asset_buyer.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L227)* Given a BuyQuote and desired rate, attempt to execute the buy. @@ -118,7 +118,7 @@ ___ ▸ **getAvailableAssetDatasAsync**(): *`Promise`* -*Defined in [asset_buyer.ts:297](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L297)* +*Defined in [asset_buyer.ts:297](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L297)* Get the asset data of all assets that are purchaseable with ether token (wETH) in the order provider passed in at init. @@ -132,7 +132,7 @@ ___ ▸ **getBuyQuoteAsync**(`assetData`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:126](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L126)* +*Defined in [asset_buyer.ts:126](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L126)* Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired assetData. You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. @@ -155,7 +155,7 @@ ___ ▸ **getBuyQuoteForERC20TokenAddressAsync**(`tokenAddress`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:174](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L174)* +*Defined in [asset_buyer.ts:174](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L174)* Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired ERC20 token address. You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. @@ -178,7 +178,7 @@ ___ ▸ **getLiquidityForAssetDataAsync**(`assetData`: string, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:193](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L193)* +*Defined in [asset_buyer.ts:193](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L193)* Returns information about available liquidity for an asset Does not factor in slippage or fees @@ -200,7 +200,7 @@ ___ ▸ **getOrdersAndFillableAmountsAsync**(`assetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* -*Defined in [asset_buyer.ts:306](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L306)* +*Defined in [asset_buyer.ts:306](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L306)* Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders @@ -219,7 +219,7 @@ ___ ▸ **getAssetBuyerForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L54)* +*Defined in [asset_buyer.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L54)* Instantiates a new AssetBuyer instance given existing liquidity in the form of orders and feeOrders. @@ -241,7 +241,7 @@ ___ ▸ **getAssetBuyerForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/asset_buyer.ts#L73)* +*Defined in [asset_buyer.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L73)* Instantiates a new AssetBuyer instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint @@ -289,7 +289,7 @@ Error class representing insufficient asset liquidity \+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/errors.ts#L12)* **Parameters:** @@ -305,7 +305,7 @@ Name | Type | Description | • **amountAvailableToFill**: *`BigNumber`* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/errors.ts#L12)* The amount availabe to fill (in base units) factoring in slippage. @@ -382,7 +382,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typed \+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* Instantiates a new BasicOrderProvider instance @@ -402,7 +402,7 @@ An instance of BasicOrderProvider • **orders**: *`SignedOrder`[]* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* ## Methods @@ -410,7 +410,7 @@ An instance of BasicOrderProvider ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L37)* +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L37)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -430,7 +430,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L24)* +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L24)* Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -478,7 +478,7 @@ An instance of OrderProviderResponse. See type for more information. \+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L48)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L48)* Instantiates a new StandardRelayerAPIOrderProvider instance @@ -499,7 +499,7 @@ An instance of StandardRelayerAPIOrderProvider • **apiUrl**: *string* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L17)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L17)* ___ @@ -507,7 +507,7 @@ ___ • **networkId**: *number* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L18)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L18)* ## Methods @@ -515,7 +515,7 @@ ___ ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L91)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L91)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -535,7 +535,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:67](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L67)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:67](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L67)* Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -576,7 +576,7 @@ Possible error messages thrown by an AssetBuyer instance or associated static me • **AssetUnavailable**: = "ASSET_UNAVAILABLE" -*Defined in [types.ts:122](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L122)* +*Defined in [types.ts:122](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L122)* ___ @@ -584,7 +584,7 @@ ___ • **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L118)* ___ @@ -592,7 +592,7 @@ ___ • **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L119)* ___ @@ -600,7 +600,7 @@ ___ • **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" -*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L121)* +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L121)* ___ @@ -608,7 +608,7 @@ ___ • **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L120)* ___ @@ -616,7 +616,7 @@ ___ • **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L115)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L115)* ___ @@ -624,7 +624,7 @@ ___ • **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L116)* ___ @@ -632,7 +632,7 @@ ___ • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:123](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L123)* +*Defined in [types.ts:123](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L123)* ___ @@ -640,7 +640,7 @@ ___ • **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L117)* ___ @@ -648,7 +648,7 @@ ___ • **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" -*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L124)*
@@ -676,7 +676,7 @@ expiryBufferSeconds: The number of seconds to add when calculating whether an or • **expiryBufferSeconds**: *number* -*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L108)* ___ @@ -684,7 +684,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L106)* +*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L106)* ___ @@ -692,7 +692,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L107)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L107)*
@@ -728,7 +728,7 @@ worstCaseQuoteInfo: Info about the worst case price for the asset. • **assetBuyAmount**: *`BigNumber`* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L48)* ___ @@ -736,7 +736,7 @@ ___ • **assetData**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L47)* ___ @@ -744,7 +744,7 @@ ___ • **bestCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L52)* ___ @@ -752,7 +752,7 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L50)* ___ @@ -760,7 +760,7 @@ ___ • **feePercentage**? : *undefined | number* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L51)* ___ @@ -768,7 +768,7 @@ ___ • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L49)* ___ @@ -776,7 +776,7 @@ ___ • **worstCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L53)*
@@ -808,7 +808,7 @@ feeRecipient: The address where affiliate fees are sent. Defaults to null addres • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L93)* +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L93)* ___ @@ -816,7 +816,7 @@ ___ • **feeRecipient**: *string* -*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L97)* +*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L97)* ___ @@ -824,7 +824,7 @@ ___ • **gasLimit**? : *undefined | number* -*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L95)* +*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L95)* ___ @@ -832,7 +832,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L96)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L96)* ___ @@ -840,7 +840,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L94)* +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L94)*
@@ -868,7 +868,7 @@ totalEthAmount: The total amount of eth required to complete the buy (filling or • **assetEthAmount**: *`BigNumber`* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L62)* ___ @@ -876,7 +876,7 @@ ___ • **feeEthAmount**: *`BigNumber`* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L63)* ___ @@ -884,7 +884,7 @@ ___ • **totalEthAmount**: *`BigNumber`* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L64)*
@@ -912,7 +912,7 @@ slippagePercentage: The percentage buffer to add to account for slippage. Affect • **feePercentage**: *number* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L73)* ___ @@ -920,7 +920,7 @@ ___ • **shouldForceOrderRefresh**: *boolean* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L74)* ___ @@ -928,7 +928,7 @@ ___ • **slippagePercentage**: *number* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L75)*
@@ -953,7 +953,7 @@ Represents available liquidity for a given assetData • **ethValueAvailableInWei**: *`BigNumber`* -*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L141)* +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L141)* ___ @@ -961,7 +961,7 @@ ___ • **tokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L140)*
@@ -992,7 +992,7 @@ getAvailableMakerAssetDatasAsync: Given a taker asset data string, return all av • **getAvailableMakerAssetDatasAsync**: *function* -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L34)* #### Type declaration: @@ -1010,7 +1010,7 @@ ___ • **getOrdersAsync**: *function* -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L33)* #### Type declaration: @@ -1047,7 +1047,7 @@ networkId: The networkId that the desired orders should be for. • **makerAssetData**: *string* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L10)* ___ @@ -1055,7 +1055,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L11)*
@@ -1079,7 +1079,7 @@ orders: An array of orders with optional remaining fillable makerAsset amounts. • **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L18)*
@@ -1105,7 +1105,7 @@ remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed or • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:132](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L132)* +*Defined in [types.ts:132](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L132)* ___ @@ -1113,7 +1113,7 @@ ___ • **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:133](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L133)* +*Defined in [types.ts:133](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L133)*
@@ -1224,7 +1224,7 @@ ___ • **remainingFillableMakerAssetAmount**? : *`BigNumber`* -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-buyer/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L26)* ___ diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index fe704dcd38..ddf21c6284 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -53,7 +53,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-swapper/docs/reference.md b/packages/asset-swapper/docs/reference.md index 965dacb869..d34f78e4be 100644 --- a/packages/asset-swapper/docs/reference.md +++ b/packages/asset-swapper/docs/reference.md @@ -28,7 +28,7 @@ Error class representing insufficient asset liquidity \+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/errors.ts#L12)* **Parameters:** @@ -44,7 +44,7 @@ Name | Type | Description | • **amountAvailableToFill**: *`BigNumber`* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/errors.ts#L12)* The amount availabe to fill (in base units) factoring in slippage. @@ -122,7 +122,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typed \+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* Instantiates a new BasicOrderProvider instance @@ -142,7 +142,7 @@ An instance of BasicOrderProvider • **orders**: *`SignedOrder`[]* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* ## Methods @@ -150,7 +150,7 @@ An instance of BasicOrderProvider ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L37)* +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L37)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -170,7 +170,7 @@ ___ ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L46)* +*Defined in [order_providers/basic_order_provider.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L46)* Given a maker asset data string, return all availabled paired taker asset data strings. @@ -190,7 +190,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L24)* +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L24)* Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -239,7 +239,7 @@ An instance of OrderProviderResponse. See type for more information. \+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L49)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L49)* Instantiates a new StandardRelayerAPIOrderProvider instance @@ -260,7 +260,7 @@ An instance of StandardRelayerAPIOrderProvider • **apiUrl**: *string* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L18)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L18)* ___ @@ -268,7 +268,7 @@ ___ • **networkId**: *number* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L19)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L19)* ## Methods @@ -276,7 +276,7 @@ ___ ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L92)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L92)* Given a taker asset data string, return all available paired maker asset data strings. @@ -296,7 +296,7 @@ ___ ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L120)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L120)* Given a maker asset data string, return all availabled paired taker asset data strings. @@ -316,7 +316,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L68)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L68)* Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -365,7 +365,7 @@ An instance of OrderProviderResponse. See type for more information. \+ **new ExchangeSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L28)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L28)* **Parameters:** @@ -382,7 +382,7 @@ Name | Type | Default | • **networkId**: *number* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L26)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L26)* ___ @@ -390,7 +390,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L25)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L25)* ## Methods @@ -400,7 +400,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:121](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L121)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:121](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L121)* **Parameters:** @@ -419,7 +419,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L42)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L42)* **Parameters:** @@ -438,7 +438,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L70)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L70)* **Parameters:** @@ -484,7 +484,7 @@ Name | Type | \+ **new ForwarderSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L31)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L31)* **Parameters:** @@ -501,7 +501,7 @@ Name | Type | Default | • **networkId**: *number* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L29)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L29)* ___ @@ -509,7 +509,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L28)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L28)* ## Methods @@ -519,7 +519,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:163](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L163)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:163](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L163)* Given a SwapQuote and desired rate (in Eth), attempt to execute the swap. @@ -540,7 +540,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L50)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L50)* Given a SwapQuote, returns 'CalldataInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. @@ -561,7 +561,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:82](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L82)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:82](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L82)* Given a SwapQuote, returns 'SmartContractParamsInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. @@ -609,7 +609,7 @@ Name | Type | Description | \+ **new SwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[SwapQuoteConsumer](#class-swapquoteconsumer)* -*Defined in [quote_consumers/swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L30)* +*Defined in [quote_consumers/swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L30)* **Parameters:** @@ -626,7 +626,7 @@ Name | Type | Default | • **networkId**: *number* -*Defined in [quote_consumers/swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L26)* +*Defined in [quote_consumers/swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L26)* ___ @@ -634,7 +634,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L25)* +*Defined in [quote_consumers/swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L25)* ## Methods @@ -644,7 +644,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:80](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L80)* +*Defined in [quote_consumers/swap_quote_consumer.ts:80](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L80)* Given a SwapQuote and desired rate (in takerAsset), attempt to execute the swap. @@ -665,7 +665,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L52)* +*Defined in [quote_consumers/swap_quote_consumer.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L52)* Given a SwapQuote, returns 'CalldataInfo' for a 0x exchange call. See type definition of CalldataInfo for more information. @@ -686,7 +686,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L66)* +*Defined in [quote_consumers/swap_quote_consumer.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L66)* Given a SwapQuote, returns 'SmartContractParamsInfo' for a 0x exchange call. See type definition of SmartContractParamsInfo for more information. @@ -742,7 +742,7 @@ Name | Type | Description | \+ **new SwapQuoter**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#class-swapquoter)* -*Defined in [swap_quoter.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L93)* +*Defined in [swap_quoter.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L93)* Instantiates a new SwapQuoter instance @@ -764,7 +764,7 @@ An instance of SwapQuoter • **expiryBufferMs**: *number* -*Defined in [swap_quoter.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L41)* +*Defined in [swap_quoter.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L41)* ___ @@ -772,7 +772,7 @@ ___ • **networkId**: *number* -*Defined in [swap_quoter.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L39)* +*Defined in [swap_quoter.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L39)* ___ @@ -780,7 +780,7 @@ ___ • **orderProvider**: *[OrderProvider](#interface-orderprovider)* -*Defined in [swap_quoter.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L38)* +*Defined in [swap_quoter.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L38)* ___ @@ -788,7 +788,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [swap_quoter.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L40)* +*Defined in [swap_quoter.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L40)* ___ @@ -796,7 +796,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [swap_quoter.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L37)* +*Defined in [swap_quoter.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L37)* ## Methods @@ -804,7 +804,7 @@ ___ ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:291](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L291)* +*Defined in [swap_quoter.ts:291](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L291)* Get the asset data of all assets that are purchaseable with takerAssetData in the order provider passed in at init. @@ -824,7 +824,7 @@ ___ ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:280](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L280)* +*Defined in [swap_quoter.ts:280](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L280)* Get the asset data of all assets that can be used to purchase makerAssetData in the order provider passed in at init. @@ -844,7 +844,7 @@ ___ ▸ **getLiquidityForMakerTakerAssetDataPairAsync**(`makerAssetData`: string, `takerAssetData`: string, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:246](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L246)* +*Defined in [swap_quoter.ts:246](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L246)* Returns information about available liquidity for an asset Does not factor in slippage or fees @@ -867,7 +867,7 @@ ___ ▸ **getMarketBuySwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:187](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L187)* +*Defined in [swap_quoter.ts:187](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L187)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -891,7 +891,7 @@ ___ ▸ **getMarketBuySwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:162](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L162)* +*Defined in [swap_quoter.ts:162](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L162)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -915,7 +915,7 @@ ___ ▸ **getMarketSellSwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:217](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L217)* +*Defined in [swap_quoter.ts:217](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L217)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -939,7 +939,7 @@ ___ ▸ **getMarketSellSwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:136](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L136)* +*Defined in [swap_quoter.ts:136](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L136)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -963,7 +963,7 @@ ___ ▸ **getOrdersAndFillableAmountsAsync**(`makerAssetData`: string, `takerAssetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* -*Defined in [swap_quoter.ts:320](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L320)* +*Defined in [swap_quoter.ts:320](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L320)* Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders @@ -983,7 +983,7 @@ ___ ▸ **isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync**(`swapQuote`: [SwapQuote](#swapquote), `takerAddress`: string): *`Promise<[boolean, boolean]>`* -*Defined in [swap_quoter.ts:381](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L381)* +*Defined in [swap_quoter.ts:381](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L381)* Util function to check if takerAddress's allowance is enough for 0x exchange contracts to conduct the swap specified by the swapQuote. @@ -1002,7 +1002,7 @@ ___ ▸ **isTakerMakerAssetDataPairAvailableAsync**(`makerAssetData`: string, `takerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:302](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L302)* +*Defined in [swap_quoter.ts:302](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L302)* Validates the taker + maker asset pair is available from the order provider provided to `SwapQuote`. @@ -1023,7 +1023,7 @@ ___ ▸ **getSwapQuoterForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L54)* +*Defined in [swap_quoter.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L54)* Instantiates a new SwapQuoter instance given existing liquidity in the form of orders and feeOrders. @@ -1045,7 +1045,7 @@ ___ ▸ **getSwapQuoterForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/swap_quoter.ts#L74)* +*Defined in [swap_quoter.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L74)* Instantiates a new SwapQuoter instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint @@ -1080,7 +1080,7 @@ Represents the varying smart contracts that can consume a valid swap quote • **Exchange**: -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L102)* ___ @@ -1088,7 +1088,7 @@ ___ • **Forwarder**: -*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L101)* +*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L101)*
@@ -1112,7 +1112,7 @@ Possible error messages thrown by an SwapQuoterConsumer instance or associated s • **InvalidForwarderSwapQuote**: = "INVALID_FORWARDER_SWAP_QUOTE_PROVIDED" -*Defined in [types.ts:304](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L304)* +*Defined in [types.ts:304](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L304)* ___ @@ -1120,7 +1120,7 @@ ___ • **InvalidMarketSellOrMarketBuySwapQuote**: = "INVALID_MARKET_BUY_SELL_SWAP_QUOTE" -*Defined in [types.ts:303](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L303)* +*Defined in [types.ts:303](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L303)* ___ @@ -1128,7 +1128,7 @@ ___ • **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" -*Defined in [types.ts:305](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L305)* +*Defined in [types.ts:305](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L305)* ___ @@ -1136,7 +1136,7 @@ ___ • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:306](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L306)* +*Defined in [types.ts:306](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L306)* ___ @@ -1144,7 +1144,7 @@ ___ • **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" -*Defined in [types.ts:307](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L307)* +*Defined in [types.ts:307](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L307)*
@@ -1170,7 +1170,7 @@ Possible error messages thrown by an SwapQuoter instance or associated static me • **AssetUnavailable**: = "ASSET_UNAVAILABLE" -*Defined in [types.ts:320](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L320)* +*Defined in [types.ts:320](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L320)* ___ @@ -1178,7 +1178,7 @@ ___ • **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" -*Defined in [types.ts:317](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L317)* +*Defined in [types.ts:317](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L317)* ___ @@ -1186,7 +1186,7 @@ ___ • **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" -*Defined in [types.ts:318](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L318)* +*Defined in [types.ts:318](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L318)* ___ @@ -1194,7 +1194,7 @@ ___ • **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" -*Defined in [types.ts:319](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L319)* +*Defined in [types.ts:319](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L319)* ___ @@ -1202,7 +1202,7 @@ ___ • **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:314](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L314)* +*Defined in [types.ts:314](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L314)* ___ @@ -1210,7 +1210,7 @@ ___ • **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:315](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L315)* +*Defined in [types.ts:315](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L315)* ___ @@ -1218,7 +1218,7 @@ ___ • **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" -*Defined in [types.ts:316](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L316)* +*Defined in [types.ts:316](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L316)*
@@ -1249,7 +1249,7 @@ ethAmount: If provided, the eth amount in wei to send with the smart contract ca • **calldataHexString**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L50)* ___ @@ -1257,7 +1257,7 @@ ___ • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L53)* ___ @@ -1265,7 +1265,7 @@ ___ • **methodAbi**: *`MethodAbi`* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L51)* ___ @@ -1273,7 +1273,7 @@ ___ • **toAddress**: *string* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L52)*
@@ -1305,7 +1305,7 @@ type: String specifiying which market operation will be performed with the provi • **makerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L84)* ___ @@ -1315,7 +1315,7 @@ ___ *Inherited from [SmartContractParamsBase](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L75)* ___ @@ -1325,7 +1325,7 @@ ___ *Inherited from [SmartContractParamsBase](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L76)* ___ @@ -1333,7 +1333,7 @@ ___ • **type**: *`Buy`* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L85)*
@@ -1365,7 +1365,7 @@ type: String specifiying which market operation will be performed with the provi *Inherited from [SmartContractParamsBase](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L75)* ___ @@ -1375,7 +1375,7 @@ ___ *Inherited from [SmartContractParamsBase](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L76)* ___ @@ -1383,7 +1383,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L93)* +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L93)* ___ @@ -1391,7 +1391,7 @@ ___ • **type**: *`Sell`* -*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L94)* +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L94)*
@@ -1426,7 +1426,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feeorders)* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L117)* ___ @@ -1436,7 +1436,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L119)* ___ @@ -1446,7 +1446,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L120)* ___ @@ -1456,7 +1456,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L118)* ___ @@ -1466,7 +1466,7 @@ ___ *Inherited from [ExchangeMarketBuySmartContractParams](#makerassetfillamount)* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L84)* ___ @@ -1476,7 +1476,7 @@ ___ *Inherited from [SmartContractParamsBase](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L75)* ___ @@ -1486,7 +1486,7 @@ ___ *Inherited from [SmartContractParamsBase](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L76)* ___ @@ -1496,7 +1496,7 @@ ___ *Inherited from [ExchangeMarketBuySmartContractParams](#type)* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L85)*
@@ -1527,7 +1527,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feeorders)* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L117)* ___ @@ -1537,7 +1537,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L119)* ___ @@ -1547,7 +1547,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L120)* ___ @@ -1557,7 +1557,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L118)*
@@ -1591,7 +1591,7 @@ feeRecipient: The address where affiliate fees are sent. Defaults to null addres • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L117)* ___ @@ -1599,7 +1599,7 @@ ___ • **feePercentage**: *`BigNumber`* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L119)* ___ @@ -1607,7 +1607,7 @@ ___ • **feeRecipient**: *string* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L120)* ___ @@ -1615,7 +1615,7 @@ ___ • **feeSignatures**: *string[]* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L118)*
@@ -1650,7 +1650,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L192)* ___ @@ -1660,7 +1660,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L190)* ___ @@ -1670,7 +1670,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L191)* ___ @@ -1680,7 +1680,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L180)* ___ @@ -1690,7 +1690,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L181)* ___ @@ -1700,7 +1700,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-takeraddress)* -*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L179)*
@@ -1734,7 +1734,7 @@ ethAmount: The amount of eth (in Wei) sent to the forwarder contract. • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L192)* ___ @@ -1742,7 +1742,7 @@ ___ • **feePercentage**: *number* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L190)* ___ @@ -1750,7 +1750,7 @@ ___ • **feeRecipient**: *string* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L191)*
@@ -1775,7 +1775,7 @@ Represents available liquidity for a given assetData • **makerTokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:336](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L336)* +*Defined in [types.ts:336](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L336)* ___ @@ -1783,7 +1783,7 @@ ___ • **takerTokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:337](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L337)* +*Defined in [types.ts:337](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L337)*
@@ -1821,7 +1821,7 @@ type: Specified MarketOperation the SwapQuote is provided for *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* ___ @@ -1831,7 +1831,7 @@ ___ *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* ___ @@ -1841,7 +1841,7 @@ ___ *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* ___ @@ -1849,7 +1849,7 @@ ___ • **makerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L244)* +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L244)* ___ @@ -1859,7 +1859,7 @@ ___ *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* ___ @@ -1869,7 +1869,7 @@ ___ *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* ___ @@ -1877,7 +1877,7 @@ ___ • **type**: *`Buy`* -*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L245)* +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L245)* ___ @@ -1887,7 +1887,7 @@ ___ *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)*
@@ -1923,7 +1923,7 @@ ___ *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* ___ @@ -1933,7 +1933,7 @@ ___ *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* ___ @@ -1943,7 +1943,7 @@ ___ *Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L249)* ___ @@ -1953,7 +1953,7 @@ ___ *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* ___ @@ -1963,7 +1963,7 @@ ___ *Inherited from [MarketBuySwapQuote](#makerassetfillamount)* -*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L244)* +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L244)* ___ @@ -1973,7 +1973,7 @@ ___ *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* ___ @@ -1983,7 +1983,7 @@ ___ *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* ___ @@ -1993,7 +1993,7 @@ ___ *Inherited from [MarketBuySwapQuote](#type)* -*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L245)* +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L245)* ___ @@ -2003,7 +2003,7 @@ ___ *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)*
@@ -2041,7 +2041,7 @@ type: Specified MarketOperation the SwapQuote is provided for *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* ___ @@ -2051,7 +2051,7 @@ ___ *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* ___ @@ -2061,7 +2061,7 @@ ___ *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* ___ @@ -2071,7 +2071,7 @@ ___ *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* ___ @@ -2081,7 +2081,7 @@ ___ *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* ___ @@ -2089,7 +2089,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L235)* +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L235)* ___ @@ -2097,7 +2097,7 @@ ___ • **type**: *`Sell`* -*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L236)* +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L236)* ___ @@ -2107,7 +2107,7 @@ ___ *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)*
@@ -2143,7 +2143,7 @@ ___ *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* ___ @@ -2153,7 +2153,7 @@ ___ *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* ___ @@ -2163,7 +2163,7 @@ ___ *Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L249)* ___ @@ -2173,7 +2173,7 @@ ___ *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* ___ @@ -2183,7 +2183,7 @@ ___ *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* ___ @@ -2193,7 +2193,7 @@ ___ *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* ___ @@ -2203,7 +2203,7 @@ ___ *Inherited from [MarketSellSwapQuote](#takerassetfillamount)* -*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L235)* +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L235)* ___ @@ -2213,7 +2213,7 @@ ___ *Inherited from [MarketSellSwapQuote](#type)* -*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L236)* +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L236)* ___ @@ -2223,7 +2223,7 @@ ___ *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)*
@@ -2256,7 +2256,7 @@ getAvailableTakerAssetDatasAsync: Given a maker asset data string, return all av • **getAvailableMakerAssetDatasAsync**: *function* -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L38)* #### Type declaration: @@ -2274,7 +2274,7 @@ ___ • **getAvailableTakerAssetDatasAsync**: *function* -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L39)* #### Type declaration: @@ -2292,7 +2292,7 @@ ___ • **getOrdersAsync**: *function* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L37)* #### Type declaration: @@ -2330,7 +2330,7 @@ networkId: The networkId that the desired orders should be for. • **makerAssetData**: *string* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L11)* ___ @@ -2338,7 +2338,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L13)* ___ @@ -2346,7 +2346,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L12)*
@@ -2370,7 +2370,7 @@ orders: An array of orders with optional remaining fillable makerAsset amounts. • **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L20)*
@@ -2396,7 +2396,7 @@ remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed or • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:328](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L328)* +*Defined in [types.ts:328](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L328)* ___ @@ -2404,7 +2404,7 @@ ___ • **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:329](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L329)* +*Defined in [types.ts:329](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L329)*
@@ -2515,7 +2515,7 @@ ___ • **remainingFillableMakerAssetAmount**? : *`BigNumber`* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L28)* ___ @@ -2615,7 +2615,7 @@ signatures: An array of signatures that attest that the maker of the orders in f • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L75)* ___ @@ -2623,7 +2623,7 @@ ___ • **signatures**: *string[]* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L76)*
@@ -2658,7 +2658,7 @@ methodAbi: The ABI of the smart contract method to call with params. • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L66)* ___ @@ -2666,7 +2666,7 @@ ___ • **methodAbi**: *`MethodAbi`* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L67)* ___ @@ -2674,7 +2674,7 @@ ___ • **params**: *`T`* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L64)* ___ @@ -2682,7 +2682,7 @@ ___ • **toAddress**: *string* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L65)*
@@ -2720,7 +2720,7 @@ worstCaseQuoteInfo: Info about the worst case price for the asset. • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* ___ @@ -2728,7 +2728,7 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* ___ @@ -2736,7 +2736,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* ___ @@ -2744,7 +2744,7 @@ ___ • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* ___ @@ -2752,7 +2752,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* ___ @@ -2760,7 +2760,7 @@ ___ • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)*
@@ -2799,7 +2799,7 @@ executeSwapQuoteOrThrowAsync: Executes a web3 transaction to swap for tokens wit ▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* -*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L158)* +*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L158)* **Parameters:** @@ -2816,7 +2816,7 @@ ___ ▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* -*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L153)* **Parameters:** @@ -2833,7 +2833,7 @@ ___ ▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise>`* -*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L154)* **Parameters:** @@ -2866,7 +2866,7 @@ networkId: The networkId that the desired orders should be for. • **networkId**: *number* -*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L165)*
@@ -2904,7 +2904,7 @@ Represents the options for executing a swap quote with SwapQuoteConsumer *Overrides [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L192)* ___ @@ -2916,7 +2916,7 @@ ___ *Overrides [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L190)* ___ @@ -2928,7 +2928,7 @@ ___ *Overrides [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L191)* ___ @@ -2938,7 +2938,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L180)* ___ @@ -2948,7 +2948,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L181)* ___ @@ -2960,7 +2960,7 @@ ___ *Overrides [SwapQuoteExecutionOptsBase](#optional-takeraddress)* -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L202)* +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L202)* ___ @@ -2970,7 +2970,7 @@ ___ *Inherited from [SwapQuoteGetOutputOpts](#optional-useconsumertype)* -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L203)* +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L203)*
@@ -3002,7 +3002,7 @@ gasPrice: Gas price in Wei to use for a transaction • **gasLimit**? : *undefined | number* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L180)* ___ @@ -3010,7 +3010,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L181)* ___ @@ -3018,7 +3018,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L179)*
@@ -3053,7 +3053,7 @@ useConsumerType: If provided, defaults the SwapQuoteConsumer to create output co *Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L192)* ___ @@ -3063,7 +3063,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L190)* ___ @@ -3073,7 +3073,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L191)* ___ @@ -3081,7 +3081,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L202)* +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L202)* ___ @@ -3089,7 +3089,7 @@ ___ • **useConsumerType**? : *[ConsumerType](#enumeration-consumertype)* -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L203)* +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L203)*
@@ -3133,7 +3133,7 @@ makerTokenAmount: The amount of makerToken that will be acquired through the swa • **feeTakerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:265](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L265)* +*Defined in [types.ts:265](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L265)* ___ @@ -3141,7 +3141,7 @@ ___ • **makerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:268](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L268)* +*Defined in [types.ts:268](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L268)* ___ @@ -3149,7 +3149,7 @@ ___ • **takerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:267](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L267)* +*Defined in [types.ts:267](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L267)* ___ @@ -3157,7 +3157,7 @@ ___ • **totalTakerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:266](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L266)* +*Defined in [types.ts:266](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L266)*
@@ -3185,7 +3185,7 @@ slippagePercentage: The percentage buffer to add to account for slippage. Affect • **shouldDisableRequestingFeeOrders**: *boolean* -*Defined in [types.ts:278](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L278)* +*Defined in [types.ts:278](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L278)* ___ @@ -3193,7 +3193,7 @@ ___ • **shouldForceOrderRefresh**: *boolean* -*Defined in [types.ts:277](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L277)* +*Defined in [types.ts:277](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L277)* ___ @@ -3201,7 +3201,7 @@ ___ • **slippagePercentage**: *number* -*Defined in [types.ts:279](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L279)* +*Defined in [types.ts:279](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L279)*
@@ -3229,7 +3229,7 @@ expiryBufferMs: The number of seconds to add when calculating whether an order i • **expiryBufferMs**: *number* -*Defined in [types.ts:296](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L296)* +*Defined in [types.ts:296](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L296)* ___ @@ -3237,7 +3237,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:294](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L294)* +*Defined in [types.ts:294](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L294)* ___ @@ -3245,7 +3245,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [types.ts:295](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L295)* +*Defined in [types.ts:295](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L295)*
@@ -3271,7 +3271,7 @@ ___ • **feePercentage**: *number* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L249)*
diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index d90a8eb291..aabdd22439 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -57,7 +57,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/connect/docs/reference.md b/packages/connect/docs/reference.md index 6bb8eedfa9..3fc80d0b91 100644 --- a/packages/connect/docs/reference.md +++ b/packages/connect/docs/reference.md @@ -33,7 +33,7 @@ that implement the standard relayer API v2 \+ **new HttpClient**(`url`: string): *[HttpClient](#class-httpclient)* -*Defined in [http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L44)* +*Defined in [http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L44)* Instantiates a new HttpClient instance @@ -53,7 +53,7 @@ An instance of HttpClient ▸ **getAssetPairsAsync**(`requestOpts?`: `RequestOpts` & `AssetPairsRequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L59)* +*Defined in [http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L59)* Retrieve assetData pair info from the API @@ -73,7 +73,7 @@ ___ ▸ **getFeeRecipientsAsync**(`requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L160)* +*Defined in [http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L160)* Retrieve the list of fee recipient addresses used by the relayer. @@ -93,7 +93,7 @@ ___ ▸ **getOrderAsync**(`orderHash`: string, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L99)* +*Defined in [http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L99)* Retrieve a specific order from the API @@ -114,7 +114,7 @@ ___ ▸ **getOrderConfigAsync**(`request`: `OrderConfigRequest`, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L139)* +*Defined in [http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L139)* Retrieve fee information from the API @@ -135,7 +135,7 @@ ___ ▸ **getOrderbookAsync**(`request`: `OrderbookRequest`, `requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L117)* +*Defined in [http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L117)* Retrieve an orderbook from the API @@ -156,7 +156,7 @@ ___ ▸ **getOrdersAsync**(`requestOpts?`: `RequestOpts` & `OrdersRequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L79)* +*Defined in [http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L79)* Retrieve orders from the API @@ -176,7 +176,7 @@ ___ ▸ **submitOrderAsync**(`signedOrder`: `SignedOrder`, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/http_client.ts#L177)* +*Defined in [http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L177)* Submit a signed order to the API @@ -221,7 +221,7 @@ that implements the standard relayer API v0 \+ **new WebSocketOrdersChannel**(`client`: `w3cwebsocket`, `handler`: [OrdersChannelHandler](#class-websocketorderschannel)* -*Defined in [ws_orders_channel.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/ws_orders_channel.ts#L21)* +*Defined in [ws_orders_channel.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/ws_orders_channel.ts#L21)* Instantiates a new WebSocketOrdersChannel instance @@ -242,7 +242,7 @@ An instance of WebSocketOrdersChannel ▸ **close**(): *void* -*Defined in [ws_orders_channel.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/ws_orders_channel.ts#L66)* +*Defined in [ws_orders_channel.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/ws_orders_channel.ts#L66)* Close the websocket and stop receiving updates @@ -254,7 +254,7 @@ ___ ▸ **subscribe**(`subscriptionOpts`: `OrdersChannelSubscriptionOpts`): *void* -*Defined in [ws_orders_channel.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/ws_orders_channel.ts#L50)* +*Defined in [ws_orders_channel.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/ws_orders_channel.ts#L50)* Subscribe to orderbook snapshots and updates from the websocket @@ -283,7 +283,7 @@ Name | Type | Description | • **Get**: = "GET" -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L46)* ___ @@ -291,7 +291,7 @@ ___ • **Post**: = "POST" -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L47)*
@@ -323,7 +323,7 @@ ___ • **getAssetPairsAsync**: *function* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L18)* #### Type declaration: @@ -341,7 +341,7 @@ ___ • **getFeeRecipientsAsync**: *function* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L25)* #### Type declaration: @@ -359,7 +359,7 @@ ___ • **getOrderAsync**: *function* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L22)* #### Type declaration: @@ -377,7 +377,7 @@ ___ • **getOrderConfigAsync**: *function* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L24)* #### Type declaration: @@ -395,7 +395,7 @@ ___ • **getOrderbookAsync**: *function* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L23)* #### Type declaration: @@ -414,7 +414,7 @@ ___ • **getOrdersAsync**: *function* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L21)* #### Type declaration: @@ -432,7 +432,7 @@ ___ • **submitOrderAsync**: *function* -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L26)* #### Type declaration: @@ -465,7 +465,7 @@ Name | Type | • **params**? : *undefined | object* -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L41)* ___ @@ -473,7 +473,7 @@ ___ • **payload**? : *undefined | object* -*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L42)*
@@ -500,7 +500,7 @@ ___ • **close**: *function* -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L31)* #### Type declaration: @@ -512,7 +512,7 @@ ___ • **subscribe**: *function* -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L30)* #### Type declaration: @@ -546,7 +546,7 @@ Name | Type | • **onClose**: *function* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L37)* #### Type declaration: @@ -564,7 +564,7 @@ ___ • **onError**: *function* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L36)* #### Type declaration: @@ -584,7 +584,7 @@ ___ • **onUpdate**: *function* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/connect/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L35)* #### Type declaration: diff --git a/packages/connect/package.json b/packages/connect/package.json index 8ddcfc012d..d440922de5 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -60,7 +60,7 @@ "websocket": "^1.0.26" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/fetch-mock": "^6.0.3", "@types/lodash": "4.14.104", diff --git a/packages/contract-wrappers/docs/reference.md b/packages/contract-wrappers/docs/reference.md index 60e29c6ba1..7a7cc5c582 100644 --- a/packages/contract-wrappers/docs/reference.md +++ b/packages/contract-wrappers/docs/reference.md @@ -22,7 +22,7 @@ ▸ **deleteAll**(): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* **Returns:** *void* @@ -32,7 +32,7 @@ ___ ▸ **deleteBalance**(`tokenAddress`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* **Parameters:** @@ -49,7 +49,7 @@ ___ ▸ **deleteProxyAllowance**(`tokenAddress`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* **Parameters:** @@ -66,7 +66,7 @@ ___ ▸ **getBalanceAsync**(`tokenAddress`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* **Parameters:** @@ -83,7 +83,7 @@ ___ ▸ **getProxyAllowanceAsync**(`tokenAddress`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* **Parameters:** @@ -100,7 +100,7 @@ ___ ▸ **setBalance**(`tokenAddress`: string, `userAddress`: string, `balance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* **Parameters:** @@ -118,7 +118,7 @@ ___ ▸ **setProxyAllowance**(`tokenAddress`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* **Parameters:** @@ -171,7 +171,7 @@ The ContractWrappers class contains smart contract wrappers helpful when buildin \+ **new ContractWrappers**(`supportedProvider`: `SupportedProvider`, `config`: [ContractWrappersConfig](#class-contractwrappers)* -*Defined in [contract_wrappers.ts:83](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L83)* +*Defined in [contract_wrappers.ts:83](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L83)* Instantiates a new ContractWrappers instance. @@ -192,7 +192,7 @@ An instance of the ContractWrappers class. • **coordinator**: *[CoordinatorWrapper](#class-coordinatorwrapper)* -*Defined in [contract_wrappers.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L81)* +*Defined in [contract_wrappers.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L81)* An instance of the CoordinatorWrapper class containing methods for interacting with the Coordinator extension contract. @@ -202,7 +202,7 @@ ___ • **dutchAuction**: *[DutchAuctionWrapper](#class-dutchauctionwrapper)* -*Defined in [contract_wrappers.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L76)* +*Defined in [contract_wrappers.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L76)* An instance of the DutchAuctionWrapper class containing methods for interacting with any DutchAuction smart contract. @@ -212,7 +212,7 @@ ___ • **erc20Proxy**: *[ERC20ProxyWrapper](#class-erc20proxywrapper)* -*Defined in [contract_wrappers.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L59)* +*Defined in [contract_wrappers.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L59)* An instance of the ERC20ProxyWrapper class containing methods for interacting with the erc20Proxy smart contract. @@ -223,7 +223,7 @@ ___ • **erc20Token**: *[ERC20TokenWrapper](#class-erc20tokenwrapper)* -*Defined in [contract_wrappers.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L45)* +*Defined in [contract_wrappers.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L45)* An instance of the ERC20TokenWrapper class containing methods for interacting with any ERC20 token smart contract. @@ -233,7 +233,7 @@ ___ • **erc721Proxy**: *[ERC721ProxyWrapper](#class-erc721proxywrapper)* -*Defined in [contract_wrappers.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L64)* +*Defined in [contract_wrappers.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L64)* An instance of the ERC721ProxyWrapper class containing methods for interacting with the erc721Proxy smart contract. @@ -244,7 +244,7 @@ ___ • **erc721Token**: *[ERC721TokenWrapper](#class-erc721tokenwrapper)* -*Defined in [contract_wrappers.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L49)* +*Defined in [contract_wrappers.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L49)* An instance of the ERC721TokenWrapper class containing methods for interacting with any ERC721 token smart contract. @@ -254,7 +254,7 @@ ___ • **etherToken**: *[EtherTokenWrapper](#class-ethertokenwrapper)* -*Defined in [contract_wrappers.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L54)* +*Defined in [contract_wrappers.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L54)* An instance of the EtherTokenWrapper class containing methods for interacting with the wrapped ETH ERC20 token smart contract. @@ -265,7 +265,7 @@ ___ • **exchange**: *[ExchangeWrapper](#class-exchangewrapper)* -*Defined in [contract_wrappers.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L41)* +*Defined in [contract_wrappers.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L41)* An instance of the ExchangeWrapper class containing methods for interacting with the 0x Exchange smart contract. @@ -275,7 +275,7 @@ ___ • **forwarder**: *[ForwarderWrapper](#class-forwarderwrapper)* -*Defined in [contract_wrappers.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L68)* +*Defined in [contract_wrappers.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L68)* An instance of the ForwarderWrapper class containing methods for interacting with any Forwarder smart contract. @@ -285,7 +285,7 @@ ___ • **orderValidator**: *[OrderValidatorWrapper](#class-ordervalidatorwrapper)* -*Defined in [contract_wrappers.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L72)* +*Defined in [contract_wrappers.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L72)* An instance of the OrderValidatorWrapper class containing methods for interacting with any OrderValidator smart contract. @@ -295,7 +295,7 @@ An instance of the OrderValidatorWrapper class containing methods for interactin ▸ **getAbiDecoder**(): *`AbiDecoder`* -*Defined in [contract_wrappers.ts:179](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L179)* +*Defined in [contract_wrappers.ts:179](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L179)* Get the abi decoder instance currently used by contract-wrappers @@ -309,7 +309,7 @@ ___ ▸ **getProvider**(): *`SupportedProvider`* -*Defined in [contract_wrappers.ts:172](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L172)* +*Defined in [contract_wrappers.ts:172](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L172)* Get the provider instance currently used by contract-wrappers @@ -323,7 +323,7 @@ ___ ▸ **unsubscribeAll**(): *void* -*Defined in [contract_wrappers.ts:162](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers.ts#L162)* +*Defined in [contract_wrappers.ts:162](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L162)* Unsubscribes from all subscriptions for all contracts. @@ -380,7 +380,7 @@ the 0x V2 Coordinator extension contract. \+ **new CoordinatorWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string, `exchangeAddress?`: undefined | string, `registryAddress?`: undefined | string): *[CoordinatorWrapper](#class-coordinatorwrapper)* -*Defined in [contract_wrappers/coordinator_wrapper.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L43)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L43)* Instantiate CoordinatorWrapper @@ -402,7 +402,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = Coordinator.compilerOutput.abi -*Defined in [contract_wrappers/coordinator_wrapper.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L33)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L33)* ___ @@ -410,7 +410,7 @@ ___ • **address**: *string* -*Defined in [contract_wrappers/coordinator_wrapper.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L35)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L35)* ___ @@ -418,7 +418,7 @@ ___ • **exchangeAddress**: *string* -*Defined in [contract_wrappers/coordinator_wrapper.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L36)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L36)* ___ @@ -426,7 +426,7 @@ ___ • **networkId**: *number* -*Defined in [contract_wrappers/coordinator_wrapper.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L34)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L34)* ___ @@ -434,7 +434,7 @@ ___ • **registryAddress**: *string* -*Defined in [contract_wrappers/coordinator_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L37)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L37)* ## Methods @@ -442,7 +442,7 @@ ___ ▸ **assertValidCoordinatorApprovalsOrThrowAsync**(`transaction`: `ZeroExTransaction`, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[]): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:582](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L582)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:582](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L582)* Validates that the 0x transaction has been approved by all of the feeRecipients that correspond to each order in the transaction's Exchange calldata. Throws an error if the transaction approvals are not valid. Will not detect failures that would occur when the transaction is executed on the Exchange contract. @@ -465,7 +465,7 @@ ___ ▸ **batchFillOrKillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:248](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L248)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:248](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L248)* Batch version of fillOrKillOrderAsync. Executes multiple fills atomically in a single transaction. @@ -488,7 +488,7 @@ ___ ▸ **batchFillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L190)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L190)* Batch version of fillOrderAsync. Executes multiple fills atomically in a single transaction. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -516,7 +516,7 @@ ___ ▸ **batchFillOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:219](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L219)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:219](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L219)* No throw version of batchFillOrdersAsync @@ -539,7 +539,7 @@ ___ ▸ **batchHardCancelOrdersAsync**(`orders`: `SignedOrder`[], `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:513](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L513)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:513](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L513)* Batch version of hardCancelOrderAsync. Cancels orders on-chain by submitting an Ethereum transaction. Executes multiple cancels atomically in a single transaction. @@ -561,7 +561,7 @@ ___ ▸ **batchSoftCancelOrdersAsync**(`orders`: `SignedOrder`[]): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L427)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L427)* Batch version of softCancelOrderAsync. Requests multiple soft cancels @@ -581,7 +581,7 @@ ___ ▸ **fillOrKillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L158)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L158)* Attempts to fill a specific amount of an order. If the entire amount specified cannot be filled, the fill order is abandoned. @@ -605,7 +605,7 @@ ___ ▸ **fillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L103)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L103)* Fills a signed order with an amount denominated in baseUnits of the taker asset. Under-the-hood, this method uses the `feeRecipientAddress` of the order to look up the coordinator server endpoint registered in the @@ -632,7 +632,7 @@ ___ ▸ **fillOrderNoThrowAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:130](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L130)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:130](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L130)* No-throw version of fillOrderAsync. This version will not throw if the fill fails. This allows the caller to save gas at the expense of not knowing the reason the fill failed. @@ -655,7 +655,7 @@ ___ ▸ **getSignerAddressAsync**(`hash`: string, `signature`: string): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:614](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L614)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:614](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L614)* Recovers the address of a signer given a hash and signature. @@ -676,7 +676,7 @@ ___ ▸ **hardCancelOrderAsync**(`order`: `Order` | `SignedOrder`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:481](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L481)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:481](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L481)* Cancels an order on-chain by submitting an Ethereum transaction. @@ -697,7 +697,7 @@ ___ ▸ **hardCancelOrdersUpToAsync**(`targetOrderEpoch`: `BigNumber`, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:548](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L548)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:548](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L548)* Cancels orders on-chain by submitting an Ethereum transaction. Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch @@ -721,7 +721,7 @@ ___ ▸ **marketBuyOrdersAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:282](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L282)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:282](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L282)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -749,7 +749,7 @@ ___ ▸ **marketBuyOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:341](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L341)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:341](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L341)* No throw version of marketBuyOrdersAsync @@ -772,7 +772,7 @@ ___ ▸ **marketSellOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:314](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L314)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:314](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L314)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -800,7 +800,7 @@ ___ ▸ **marketSellOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:368](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L368)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:368](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L368)* No throw version of marketSellOrdersAsync @@ -823,7 +823,7 @@ ___ ▸ **softCancelOrderAsync**(`order`: `Order` | `SignedOrder`): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:392](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L392)* +*Defined in [contract_wrappers/coordinator_wrapper.ts:392](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L392)* Soft cancel a given order. Soft cancels are recorded only on coordinator operator servers and do not involve an Ethereum transaction. @@ -871,7 +871,7 @@ CoordinatorServerCancellationResponse. See [Cancellation Response](https://githu \+ **new DutchAuctionWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[DutchAuctionWrapper](#class-dutchauctionwrapper)* -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L49)* +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L49)* Instantiate DutchAuctionWrapper @@ -891,7 +891,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = DutchAuction.compilerOutput.abi -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L18)* +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L18)* ___ @@ -899,7 +899,7 @@ ___ • **address**: *string* -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L19)* +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L19)* ## Methods @@ -907,7 +907,7 @@ ___ ▸ **getAuctionDetailsAsync**(`sellOrder`: `SignedOrder`): *`Promise`* -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L131)* +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L131)* Fetches the Auction Details for the given order @@ -927,7 +927,7 @@ ___ ▸ **matchOrdersAsync**(`buyOrder`: `SignedOrder`, `sellOrder`: `SignedOrder`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L77)* +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L77)* Matches the buy and sell orders at an amount given the following: the current block time, the auction start time and the auction begin amount. The sell order is a an order at the lowest amount @@ -953,7 +953,7 @@ ___ ▸ **decodeDutchAuctionData**(`dutchAuctionData`: string): *`DutchAuctionData`* -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L46)* +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L46)* Dutch auction details are encoded with the asset data for a 0x order. This function decodes a hex encoded assetData string, containing information both about the asset being traded and the @@ -975,7 +975,7 @@ ___ ▸ **encodeDutchAuctionAssetData**(`assetData`: string, `beginTimeSeconds`: `BigNumber`, `beginAmount`: `BigNumber`): *string* -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L31)* +*Defined in [contract_wrappers/dutch_auction_wrapper.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L31)* Dutch auction details are encoded with the asset data for a 0x order. This function produces a hex encoded assetData string, containing information both about the asset being traded and the @@ -1026,7 +1026,7 @@ This class includes the functionality related to interacting with the ERC20Proxy \+ **new ERC20ProxyWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[ERC20ProxyWrapper](#class-erc20proxywrapper)* -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L18)* +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L18)* Instantiate ERC20ProxyWrapper @@ -1046,7 +1046,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = ERC20Proxy.compilerOutput.abi -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L15)* +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L15)* ___ @@ -1054,7 +1054,7 @@ ___ • **address**: *string* -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L16)* +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L16)* ## Methods @@ -1062,7 +1062,7 @@ ___ ▸ **getAuthorizedAddressesAsync**(): *`Promise`* -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L61)* +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L61)* Get the list of all Exchange contract addresses authorized by the ERC20Proxy contract. @@ -1076,7 +1076,7 @@ ___ ▸ **getProxyIdAsync**(): *`Promise`* -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L39)* +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L39)* Get the 4 bytes ID of this asset proxy @@ -1090,7 +1090,7 @@ ___ ▸ **isAuthorizedAsync**(`exchangeContractAddress`: string): *`Promise`* -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L51)* +*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L51)* Check if the Exchange contract address is authorized by the ERC20Proxy contract. @@ -1149,7 +1149,7 @@ to the 0x ERC20 Proxy smart contract. \+ **new ERC20TokenWrapper**(`web3Wrapper`: `Web3Wrapper`, `erc20ProxyWrapper`: [ERC20ProxyWrapper](#class-erc20tokenwrapper)* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L38)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L38)* Instantiate ERC20TokenWrapper @@ -1169,7 +1169,7 @@ Name | Type | Description | • **UNLIMITED_ALLOWANCE_IN_BASE_UNITS**: *`BigNumber`* = constants.UNLIMITED_ALLOWANCE_IN_BASE_UNITS -*Defined in [contract_wrappers/erc20_token_wrapper.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L33)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L33)* ___ @@ -1177,7 +1177,7 @@ ___ • **abi**: *`ContractAbi`* = ERC20Token.compilerOutput.abi -*Defined in [contract_wrappers/erc20_token_wrapper.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L32)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L32)* ## Methods @@ -1185,7 +1185,7 @@ ___ ▸ **getAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `spenderAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:155](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L155)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:155](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L155)* Retrieves the owners allowance in baseUnits set to the spender's address. @@ -1206,7 +1206,7 @@ ___ ▸ **getBalanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L61)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L61)* Retrieves an owner's ERC20 token balance. @@ -1228,7 +1228,7 @@ ___ ▸ **getLogsAsync**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC20TokenEvents`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L409)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L409)* Gets historical logs without creating a subscription @@ -1255,7 +1255,7 @@ ___ ▸ **getProxyAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:188](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L188)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:188](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L188)* Retrieves the owner's allowance in baseUnits set to the 0x proxy contract. @@ -1275,7 +1275,7 @@ ___ ▸ **setAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `spenderAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L91)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L91)* Sets the spender's allowance to a specified number of baseUnits on behalf of the owner address. Equivalent to the ERC20 spec method `approve`. @@ -1300,7 +1300,7 @@ ___ ▸ **setProxyAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L207)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L207)* Sets the 0x proxy contract's allowance to a specified number of a tokens' baseUnits on behalf of an owner address. @@ -1324,7 +1324,7 @@ ___ ▸ **setUnlimitedAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `spenderAddress`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:132](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L132)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:132](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L132)* Sets the spender's allowance to an unlimited number of baseUnits on behalf of the owner address. Equivalent to the ERC20 spec method `approve`. @@ -1350,7 +1350,7 @@ ___ ▸ **setUnlimitedProxyAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:234](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L234)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:234](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L234)* Sets the 0x proxy contract's allowance to a unlimited number of a tokens' baseUnits on behalf of an owner address. @@ -1375,7 +1375,7 @@ ___ ▸ **subscribe**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC20TokenEvents`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:363](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L363)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:363](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L363)* Subscribe to an event type emitted by the Token contract. @@ -1403,7 +1403,7 @@ ___ ▸ **transferAsync**(`tokenAddress`: string, `fromAddress`: string, `toAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:256](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L256)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:256](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L256)* Transfers `amountInBaseUnits` ERC20 tokens from `fromAddress` to `toAddress`. @@ -1427,7 +1427,7 @@ ___ ▸ **transferFromAsync**(`tokenAddress`: string, `fromAddress`: string, `toAddress`: string, `senderAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L305)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L305)* Transfers `amountInBaseUnits` ERC20 tokens from `fromAddress` to `toAddress`. Requires the fromAddress to have sufficient funds and to have approved an allowance of @@ -1454,7 +1454,7 @@ ___ ▸ **unsubscribe**(`subscriptionToken`: string): *void* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:390](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L390)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:390](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L390)* Cancel a subscription @@ -1472,7 +1472,7 @@ ___ ▸ **unsubscribeAll**(): *void* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:397](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L397)* +*Defined in [contract_wrappers/erc20_token_wrapper.ts:397](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L397)* Cancels all existing subscriptions @@ -1511,7 +1511,7 @@ This class includes the functionality related to interacting with the ERC721Prox \+ **new ERC721ProxyWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[ERC721ProxyWrapper](#class-erc721proxywrapper)* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L18)* +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L18)* Instantiate ERC721ProxyWrapper @@ -1531,7 +1531,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = ERC721Proxy.compilerOutput.abi -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L15)* +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L15)* ___ @@ -1539,7 +1539,7 @@ ___ • **address**: *string* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L16)* +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L16)* ## Methods @@ -1547,7 +1547,7 @@ ___ ▸ **getAuthorizedAddressesAsync**(): *`Promise`* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L61)* +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L61)* Get the list of all Exchange contract addresses authorized by the ERC721Proxy contract. @@ -1561,7 +1561,7 @@ ___ ▸ **getProxyIdAsync**(): *`Promise`* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L39)* +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L39)* Get the 4 bytes ID of this asset proxy @@ -1575,7 +1575,7 @@ ___ ▸ **isAuthorizedAsync**(`exchangeContractAddress`: string): *`Promise`* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L51)* +*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L51)* Check if the Exchange contract address is authorized by the ERC721Proxy contract. @@ -1635,7 +1635,7 @@ to the 0x ERC721 Proxy smart contract. \+ **new ERC721TokenWrapper**(`web3Wrapper`: `Web3Wrapper`, `erc721ProxyWrapper`: [ERC721ProxyWrapper](#class-erc721tokenwrapper)* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L37)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L37)* Instantiate ERC721TokenWrapper @@ -1655,7 +1655,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = ERC721Token.compilerOutput.abi -*Defined in [contract_wrappers/erc721_token_wrapper.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L32)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L32)* ## Methods @@ -1663,7 +1663,7 @@ Name | Type | Description | ▸ **getApprovedIfExistsAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:170](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L170)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:170](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L170)* Get the approved address for a single NFT. Returns undefined if no approval was set Throws if `_tokenId` is not a valid NFT @@ -1686,7 +1686,7 @@ ___ ▸ **getLogsAsync**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC721TokenEvents`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:436](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L436)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:436](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L436)* Gets historical logs without creating a subscription @@ -1713,7 +1713,7 @@ ___ ▸ **getOwnerOfAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:88](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L88)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:88](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L88)* Find the owner of an NFT NFTs assigned to zero address are considered invalid, and queries about them do throw. @@ -1736,7 +1736,7 @@ ___ ▸ **getTokenCountAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L61)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L61)* Count all NFTs assigned to an owner NFTs assigned to the zero address are considered invalid, and this function throws for queries about the zero address. @@ -1759,7 +1759,7 @@ ___ ▸ **isApprovedForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `operatorAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L116)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L116)* Query if an address is an authorized operator for all NFT's of `ownerAddress` @@ -1782,7 +1782,7 @@ ___ ▸ **isProxyApprovedAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:197](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L197)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:197](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L197)* Checks if 0x proxy is approved for a single NFT Throws if `_tokenId` is not a valid NFT @@ -1805,7 +1805,7 @@ ___ ▸ **isProxyApprovedForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:148](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L148)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:148](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L148)* Query if 0x proxy is an authorized operator for all NFT's of `ownerAddress` @@ -1827,7 +1827,7 @@ ___ ▸ **setApprovalAsync**(`tokenAddress`: string, `approvedAddress`: string, `tokenId`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:280](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L280)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:280](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L280)* Set or reaffirm the approved address for an NFT The zero address indicates there is no approved address. Throws unless `msg.sender` is the current NFT owner, @@ -1854,7 +1854,7 @@ ___ ▸ **setApprovalForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `operatorAddress`: string, `isApproved`: boolean, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:218](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L218)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:218](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L218)* Enable or disable approval for a third party ("operator") to manage all of `ownerAddress`'s assets. Throws if `_tokenId` is not a valid NFT @@ -1880,7 +1880,7 @@ ___ ▸ **setProxyApprovalAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:318](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L318)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:318](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L318)* Set or reaffirm 0x proxy as an approved address for an NFT Throws unless `msg.sender` is the current NFT owner, or an authorized operator of the current owner. @@ -1905,7 +1905,7 @@ ___ ▸ **setProxyApprovalForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `isApproved`: boolean, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:258](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L258)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:258](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L258)* Enable or disable approval for a third party ("operator") to manage all of `ownerAddress`'s assets. Throws if `_tokenId` is not a valid NFT @@ -1930,7 +1930,7 @@ ___ ▸ **subscribe**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC721TokenEvents`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:390](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L390)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:390](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L390)* Subscribe to an event type emitted by the Token contract. @@ -1958,7 +1958,7 @@ ___ ▸ **transferFromAsync**(`tokenAddress`: string, `receiverAddress`: string, `senderAddress`: string, `tokenId`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:338](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L338)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:338](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L338)* Enable or disable approval for a third party ("operator") to manage all of `ownerAddress`'s assets. Throws if `_tokenId` is not a valid NFT @@ -1984,7 +1984,7 @@ ___ ▸ **unsubscribe**(`subscriptionToken`: string): *void* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:417](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L417)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:417](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L417)* Cancel a subscription @@ -2002,7 +2002,7 @@ ___ ▸ **unsubscribeAll**(): *void* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L424)* +*Defined in [contract_wrappers/erc721_token_wrapper.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L424)* Cancels all existing subscriptions @@ -2044,7 +2044,7 @@ The caller can convert ETH into the equivalent number of wrapped ETH ERC20 token \+ **new EtherTokenWrapper**(`web3Wrapper`: `Web3Wrapper`, `erc20TokenWrapper`: [ERC20TokenWrapper](#class-ethertokenwrapper)* -*Defined in [contract_wrappers/ether_token_wrapper.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L28)* +*Defined in [contract_wrappers/ether_token_wrapper.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L28)* Instantiate EtherTokenWrapper. @@ -2064,7 +2064,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = WETH9.compilerOutput.abi -*Defined in [contract_wrappers/ether_token_wrapper.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L21)* +*Defined in [contract_wrappers/ether_token_wrapper.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L21)* ## Methods @@ -2072,7 +2072,7 @@ Name | Type | Description | ▸ **depositAsync**(`etherTokenAddress`: string, `amountInWei`: `BigNumber`, `depositor`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/ether_token_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L53)* +*Defined in [contract_wrappers/ether_token_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L53)* Deposit ETH into the Wrapped ETH smart contract and issues the equivalent number of wrapped ETH tokens to the depositor address. These wrapped ETH tokens can be used in 0x trades and are redeemable for 1-to-1 @@ -2097,7 +2097,7 @@ ___ ▸ **getLogsAsync**<**ArgsType**>(`etherTokenAddress`: string, `eventName`: `WETH9Events`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* -*Defined in [contract_wrappers/ether_token_wrapper.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L131)* +*Defined in [contract_wrappers/ether_token_wrapper.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L131)* Gets historical logs without creating a subscription @@ -2124,7 +2124,7 @@ ___ ▸ **subscribe**<**ArgsType**>(`etherTokenAddress`: string, `eventName`: `WETH9Events`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* -*Defined in [contract_wrappers/ether_token_wrapper.ts:161](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L161)* +*Defined in [contract_wrappers/ether_token_wrapper.ts:161](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L161)* Subscribe to an event type emitted by the Token contract. @@ -2152,7 +2152,7 @@ ___ ▸ **unsubscribe**(`subscriptionToken`: string): *void* -*Defined in [contract_wrappers/ether_token_wrapper.ts:188](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L188)* +*Defined in [contract_wrappers/ether_token_wrapper.ts:188](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L188)* Cancel a subscription @@ -2170,7 +2170,7 @@ ___ ▸ **unsubscribeAll**(): *void* -*Defined in [contract_wrappers/ether_token_wrapper.ts:195](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L195)* +*Defined in [contract_wrappers/ether_token_wrapper.ts:195](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L195)* Cancels all existing subscriptions @@ -2182,7 +2182,7 @@ ___ ▸ **withdrawAsync**(`etherTokenAddress`: string, `amountInWei`: `BigNumber`, `withdrawer`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* -*Defined in [contract_wrappers/ether_token_wrapper.ts:89](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L89)* +*Defined in [contract_wrappers/ether_token_wrapper.ts:89](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L89)* Withdraw ETH to the withdrawer's address from the wrapped ETH smart contract in exchange for the equivalent number of wrapped ETH tokens. @@ -2269,7 +2269,7 @@ events of the 0x V2 Exchange smart contract. \+ **new ExchangeWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `erc20TokenWrapper`: [ERC20TokenWrapper](#class-exchangewrapper)* -*Defined in [contract_wrappers/exchange_wrapper.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L55)* +*Defined in [contract_wrappers/exchange_wrapper.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L55)* Instantiate ExchangeWrapper @@ -2293,7 +2293,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = Exchange.compilerOutput.abi -*Defined in [contract_wrappers/exchange_wrapper.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L48)* +*Defined in [contract_wrappers/exchange_wrapper.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L48)* ___ @@ -2301,7 +2301,7 @@ ___ • **address**: *string* -*Defined in [contract_wrappers/exchange_wrapper.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L49)* +*Defined in [contract_wrappers/exchange_wrapper.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L49)* ___ @@ -2309,7 +2309,7 @@ ___ • **zrxTokenAddress**: *string* -*Defined in [contract_wrappers/exchange_wrapper.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L50)* +*Defined in [contract_wrappers/exchange_wrapper.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L50)* ## Methods @@ -2317,7 +2317,7 @@ ___ ▸ **batchCancelOrdersAsync**(`orders`: `Array`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:713](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L713)* +*Defined in [contract_wrappers/exchange_wrapper.ts:713](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L713)* Batch version of cancelOrderAsync. Executes multiple cancels atomically in a single transaction. @@ -2338,7 +2338,7 @@ ___ ▸ **batchFillOrKillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:665](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L665)* +*Defined in [contract_wrappers/exchange_wrapper.ts:665](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L665)* Batch version of fillOrKillOrderAsync. Executes multiple fills atomically in a single transaction. @@ -2361,7 +2361,7 @@ ___ ▸ **batchFillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:382](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L382)* +*Defined in [contract_wrappers/exchange_wrapper.ts:382](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L382)* Batch version of fillOrderAsync. Executes multiple fills atomically in a single transaction. @@ -2384,7 +2384,7 @@ ___ ▸ **batchFillOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:614](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L614)* +*Defined in [contract_wrappers/exchange_wrapper.ts:614](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L614)* No throw version of batchFillOrdersAsync @@ -2407,7 +2407,7 @@ ___ ▸ **cancelOrderAsync**(`order`: `Order` | `SignedOrder`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:986](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L986)* +*Defined in [contract_wrappers/exchange_wrapper.ts:986](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L986)* Cancel a given order. @@ -2428,7 +2428,7 @@ ___ ▸ **cancelOrdersUpToAsync**(`targetOrderEpoch`: `BigNumber`, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:1061](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1061)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1061](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1061)* Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch and senderAddress equal to msg.sender (or null address if msg.sender == makerAddress). @@ -2451,7 +2451,7 @@ ___ ▸ **executeTransactionAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L334)* +*Defined in [contract_wrappers/exchange_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L334)* Executes a 0x transaction. Transaction messages exist for the purpose of calling methods on the Exchange contract in the context of another address (see [ZEIP18](https://github.com/0xProject/ZEIPs/issues/18)). @@ -2478,7 +2478,7 @@ ___ ▸ **fillOrKillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:283](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L283)* +*Defined in [contract_wrappers/exchange_wrapper.ts:283](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L283)* Attempts to fill a specific amount of an order. If the entire amount specified cannot be filled, the fill order is abandoned. @@ -2502,7 +2502,7 @@ ___ ▸ **fillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L190)* +*Defined in [contract_wrappers/exchange_wrapper.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L190)* Fills a signed order with an amount denominated in baseUnits of the taker asset. @@ -2525,7 +2525,7 @@ ___ ▸ **fillOrderNoThrowAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:234](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L234)* +*Defined in [contract_wrappers/exchange_wrapper.ts:234](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L234)* No-throw version of fillOrderAsync. This version will not throw if the fill fails. This allows the caller to save gas at the expense of not knowing the reason the fill failed. @@ -2548,7 +2548,7 @@ ___ ▸ **getAssetProxyBySignatureAsync**(`proxyId`: `AssetProxyId`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:97](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L97)* +*Defined in [contract_wrappers/exchange_wrapper.ts:97](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L97)* Retrieve the address of an asset proxy by signature. @@ -2569,7 +2569,7 @@ ___ ▸ **getFilledTakerAssetAmountAsync**(`orderHash`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:115](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L115)* +*Defined in [contract_wrappers/exchange_wrapper.ts:115](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L115)* Retrieve the takerAssetAmount of an order that has already been filled. @@ -2590,7 +2590,7 @@ ___ ▸ **getLogsAsync**<**ArgsType**>(`eventName`: `ExchangeEvents`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* -*Defined in [contract_wrappers/exchange_wrapper.ts:1135](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1135)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1135](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1135)* Gets historical logs without creating a subscription @@ -2616,7 +2616,7 @@ ___ ▸ **getOrderEpochAsync**(`makerAddress`: string, `senderAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:146](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L146)* +*Defined in [contract_wrappers/exchange_wrapper.ts:146](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L146)* Retrieve the set order epoch for a given makerAddress & senderAddress pair. Orders can be bulk cancelled by setting the order epoch to a value lower then the salt value of orders one wishes to cancel. @@ -2639,7 +2639,7 @@ ___ ▸ **getOrderInfoAsync**(`order`: `Order` | `SignedOrder`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:947](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L947)* +*Defined in [contract_wrappers/exchange_wrapper.ts:947](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L947)* Get order info @@ -2660,7 +2660,7 @@ ___ ▸ **getOrdersInfoAsync**(`orders`: `Array`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:963](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L963)* +*Defined in [contract_wrappers/exchange_wrapper.ts:963](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L963)* Get order info for multiple orders @@ -2681,7 +2681,7 @@ ___ ▸ **getVersionAsync**(`methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:132](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L132)* +*Defined in [contract_wrappers/exchange_wrapper.ts:132](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L132)* Retrieve the exchange contract version @@ -2701,7 +2701,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [contract_wrappers/exchange_wrapper.ts:1259](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1259)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1259](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1259)* Returns the ZRX asset data used by the exchange contract. @@ -2715,7 +2715,7 @@ ___ ▸ **isAllowedValidatorAsync**(`signerAddress`: string, `validatorAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:874](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L874)* +*Defined in [contract_wrappers/exchange_wrapper.ts:874](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L874)* Checks if the validator is allowed by the signer. @@ -2737,7 +2737,7 @@ ___ ▸ **isCancelledAsync**(`orderHash`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:169](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L169)* +*Defined in [contract_wrappers/exchange_wrapper.ts:169](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L169)* Check if an order has been cancelled. Order cancellations are binary @@ -2758,7 +2758,7 @@ ___ ▸ **isPreSignedAsync**(`hash`: string, `signerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:903](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L903)* +*Defined in [contract_wrappers/exchange_wrapper.ts:903](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L903)* Check whether the hash is pre-signed on-chain. @@ -2780,7 +2780,7 @@ ___ ▸ **isTransactionExecutedAsync**(`transactionHash`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:927](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L927)* +*Defined in [contract_wrappers/exchange_wrapper.ts:927](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L927)* Checks if transaction is already executed. @@ -2801,7 +2801,7 @@ ___ ▸ **isValidSignatureAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:846](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L846)* +*Defined in [contract_wrappers/exchange_wrapper.ts:846](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L846)* Checks if the signature is valid. @@ -2824,7 +2824,7 @@ ___ ▸ **marketBuyOrdersAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L428)* +*Defined in [contract_wrappers/exchange_wrapper.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L428)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. @@ -2847,7 +2847,7 @@ ___ ▸ **marketBuyOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:516](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L516)* +*Defined in [contract_wrappers/exchange_wrapper.ts:516](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L516)* No throw version of marketBuyOrdersAsync @@ -2870,7 +2870,7 @@ ___ ▸ **marketSellOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:472](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L472)* +*Defined in [contract_wrappers/exchange_wrapper.ts:472](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L472)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. @@ -2893,7 +2893,7 @@ ___ ▸ **marketSellOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:565](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L565)* +*Defined in [contract_wrappers/exchange_wrapper.ts:565](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L565)* No throw version of marketSellOrdersAsync @@ -2916,7 +2916,7 @@ ___ ▸ **matchOrdersAsync**(`leftSignedOrder`: `SignedOrder`, `rightSignedOrder`: `SignedOrder`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:752](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L752)* +*Defined in [contract_wrappers/exchange_wrapper.ts:752](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L752)* Match two complementary orders that have a profitable spread. Each order is filled at their respective price point. However, the calculations are carried out as though @@ -2942,7 +2942,7 @@ ___ ▸ **preSignAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:808](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L808)* +*Defined in [contract_wrappers/exchange_wrapper.ts:808](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L808)* Approves a hash on-chain using any valid signature type. After presigning a hash, the preSign signature type will become valid for that hash and signer. @@ -2967,7 +2967,7 @@ ___ ▸ **setSignatureValidatorApprovalAsync**(`validatorAddress`: string, `isApproved`: boolean, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:1020](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1020)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1020](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1020)* Sets the signature validator approval @@ -2990,7 +2990,7 @@ ___ ▸ **subscribe**<**ArgsType**>(`eventName`: `ExchangeEvents`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* -*Defined in [contract_wrappers/exchange_wrapper.ts:1096](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1096)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1096](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1096)* Subscribe to an event type emitted by the Exchange contract. @@ -3017,7 +3017,7 @@ ___ ▸ **transactionEncoderAsync**(): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:1268](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1268)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1268](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1268)* Returns a Transaction Encoder. Transaction messages exist for the purpose of calling methods on the Exchange contract in the context of another address. @@ -3032,7 +3032,7 @@ ___ ▸ **unsubscribe**(`subscriptionToken`: string): *void* -*Defined in [contract_wrappers/exchange_wrapper.ts:1118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1118)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1118)* Cancel a subscription @@ -3050,7 +3050,7 @@ ___ ▸ **unsubscribeAll**(): *void* -*Defined in [contract_wrappers/exchange_wrapper.ts:1124](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1124)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1124](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1124)* Cancels all existing subscriptions @@ -3062,7 +3062,7 @@ ___ ▸ **validateFillOrderThrowIfInvalidAsync**(`signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `takerAddress`: string): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:1231](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1231)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1231](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1231)* Validate a call to FillOrder and throw if it wouldn't succeed @@ -3082,7 +3082,7 @@ ___ ▸ **validateMakerTransferThrowIfInvalidAsync**(`signedOrder`: `SignedOrder`, `makerAssetAmount`: `BigNumber`, `takerAddress?`: undefined | string): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:1211](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1211)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1211](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1211)* Validate the transfer from the maker to the taker. This is simulated on-chain via an eth_call. If this call fails, the asset is currently nontransferable. @@ -3103,7 +3103,7 @@ ___ ▸ **validateOrderFillableOrThrowAsync**(`signedOrder`: `SignedOrder`, `opts`: [ValidateOrderFillableOpts](#interface-validateorderfillableopts)): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:1153](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1153)* +*Defined in [contract_wrappers/exchange_wrapper.ts:1153](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1153)* Validate if the supplied order is fillable, and throw if it isn't @@ -3150,7 +3150,7 @@ This class includes the functionality related to interacting with the Forwarder \+ **new ForwarderWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string, `zrxTokenAddress?`: undefined | string, `etherTokenAddress?`: undefined | string): *[ForwarderWrapper](#class-forwarderwrapper)* -*Defined in [contract_wrappers/forwarder_wrapper.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L29)* +*Defined in [contract_wrappers/forwarder_wrapper.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L29)* Instantiate ForwarderWrapper @@ -3172,7 +3172,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = Forwarder.compilerOutput.abi -*Defined in [contract_wrappers/forwarder_wrapper.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L24)* +*Defined in [contract_wrappers/forwarder_wrapper.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L24)* ___ @@ -3180,7 +3180,7 @@ ___ • **address**: *string* -*Defined in [contract_wrappers/forwarder_wrapper.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L25)* +*Defined in [contract_wrappers/forwarder_wrapper.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L25)* ___ @@ -3188,7 +3188,7 @@ ___ • **etherTokenAddress**: *string* -*Defined in [contract_wrappers/forwarder_wrapper.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L27)* +*Defined in [contract_wrappers/forwarder_wrapper.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L27)* ___ @@ -3196,7 +3196,7 @@ ___ • **zrxTokenAddress**: *string* -*Defined in [contract_wrappers/forwarder_wrapper.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L26)* +*Defined in [contract_wrappers/forwarder_wrapper.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L26)* ## Methods @@ -3204,7 +3204,7 @@ ___ ▸ **marketBuyOrdersWithEthAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `ethAmount`: `BigNumber`, `signedFeeOrders`: `SignedOrder`[], `feePercentage`: number, `feeRecipientAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/forwarder_wrapper.ts:168](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L168)* +*Defined in [contract_wrappers/forwarder_wrapper.ts:168](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L168)* Attempt to purchase makerAssetFillAmount of makerAsset by selling ethAmount provided with transaction. Any ZRX required to pay fees for primary orders will automatically be purchased by the contract. @@ -3233,7 +3233,7 @@ ___ ▸ **marketSellOrdersWithEthAsync**(`signedOrders`: `SignedOrder`[], `takerAddress`: string, `ethAmount`: `BigNumber`, `signedFeeOrders`: `SignedOrder`[], `feePercentage`: number, `feeRecipientAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/forwarder_wrapper.ts:82](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L82)* +*Defined in [contract_wrappers/forwarder_wrapper.ts:82](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L82)* Purchases as much of orders' makerAssets as possible by selling up to 95% of transaction's ETH value. Any ZRX required to pay fees for primary orders will automatically be purchased by this contract. @@ -3293,7 +3293,7 @@ This class includes the functionality related to interacting with the OrderValid \+ **new OrderValidatorWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[OrderValidatorWrapper](#class-ordervalidatorwrapper)* -*Defined in [contract_wrappers/order_validator_wrapper.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L21)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L21)* Instantiate OrderValidatorWrapper @@ -3313,7 +3313,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = OrderValidator.compilerOutput.abi -*Defined in [contract_wrappers/order_validator_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L18)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L18)* ___ @@ -3321,7 +3321,7 @@ ___ • **address**: *string* -*Defined in [contract_wrappers/order_validator_wrapper.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L19)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L19)* ## Methods @@ -3329,7 +3329,7 @@ ___ ▸ **getBalanceAndAllowanceAsync**(`address`: string, `assetData`: string): *`Promise`* -*Defined in [contract_wrappers/order_validator_wrapper.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L120)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L120)* Get an object conforming to BalanceAndAllowance containing on-chain balance and allowance for some address and assetData @@ -3350,7 +3350,7 @@ ___ ▸ **getBalancesAndAllowancesAsync**(`address`: string, `assetDatas`: string[]): *`Promise`* -*Defined in [contract_wrappers/order_validator_wrapper.ts:139](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L139)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:139](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L139)* Get an array of objects conforming to BalanceAndAllowance containing on-chain balance and allowance for some address and array of assetDatas @@ -3371,7 +3371,7 @@ ___ ▸ **getERC721TokenOwnerAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`): *`Promise`* -*Defined in [contract_wrappers/order_validator_wrapper.ts:163](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L163)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:163](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L163)* Get owner address of tokenId by calling `token.ownerOf(tokenId)`, but returns a null owner instead of reverting on an unowned token. @@ -3392,7 +3392,7 @@ ___ ▸ **getOrderAndTraderInfoAsync**(`order`: `SignedOrder`, `takerAddress`: string): *`Promise`* -*Defined in [contract_wrappers/order_validator_wrapper.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L44)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L44)* Get an object conforming to OrderAndTraderInfo containing on-chain information of the provided order and address @@ -3413,7 +3413,7 @@ ___ ▸ **getOrdersAndTradersInfoAsync**(`orders`: `SignedOrder`[], `takerAddresses`: string[]): *`Promise`* -*Defined in [contract_wrappers/order_validator_wrapper.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L63)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L63)* Get an array of objects conforming to OrderAndTraderInfo containing on-chain information of the provided orders and addresses @@ -3434,7 +3434,7 @@ ___ ▸ **getTraderInfoAsync**(`order`: `SignedOrder`, `takerAddress`: string): *`Promise`* -*Defined in [contract_wrappers/order_validator_wrapper.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L93)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L93)* Get an object conforming to TraderInfo containing on-chain balance and allowances for maker and taker of order @@ -3455,7 +3455,7 @@ ___ ▸ **getTradersInfoAsync**(`orders`: `SignedOrder`[], `takerAddresses`: string[]): *`Promise`* -*Defined in [contract_wrappers/order_validator_wrapper.ts:105](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L105)* +*Defined in [contract_wrappers/order_validator_wrapper.ts:105](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L105)* Get an array of objects conforming to TraderInfo containing on-chain balance and allowances for maker and taker of order @@ -3499,7 +3499,7 @@ array of TraderInfo \+ **new AssetBalanceAndProxyAllowanceFetcher**(`erc20Token`: [ERC20TokenWrapper](#class-assetbalanceandproxyallowancefetcher)* -*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L12)* +*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L12)* **Parameters:** @@ -3517,7 +3517,7 @@ Name | Type | ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L18)* +*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L18)* **Parameters:** @@ -3534,7 +3534,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L49)* +*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L49)* **Parameters:** @@ -3575,7 +3575,7 @@ Name | Type | \+ **new OrderFilledCancelledFetcher**(`exchange`: [ExchangeWrapper](#class-orderfilledcancelledfetcher)* -*Defined in [fetchers/order_filled_cancelled_fetcher.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L11)* +*Defined in [fetchers/order_filled_cancelled_fetcher.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L11)* **Parameters:** @@ -3592,7 +3592,7 @@ Name | Type | ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [fetchers/order_filled_cancelled_fetcher.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L16)* +*Defined in [fetchers/order_filled_cancelled_fetcher.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L16)* **Parameters:** @@ -3608,7 +3608,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [fetchers/order_filled_cancelled_fetcher.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L35)* +*Defined in [fetchers/order_filled_cancelled_fetcher.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L35)* **Returns:** *string* @@ -3618,7 +3618,7 @@ ___ ▸ **isOrderCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [fetchers/order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L22)* +*Defined in [fetchers/order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L22)* **Parameters:** @@ -3660,7 +3660,7 @@ Name | Type | \+ **new CoordinatorServerError**(`message`: [CoordinatorServerErrorMsg](#class-coordinatorservererror)* -*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* **Parameters:** @@ -3679,7 +3679,7 @@ Name | Type | • **approvedOrders**? : *`SignedOrder`[]* = [] -*Defined in [utils/coordinator_server_types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L41)* +*Defined in [utils/coordinator_server_types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L41)* ___ @@ -3687,7 +3687,7 @@ ___ • **cancellations**? : *[CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[]* = [] -*Defined in [utils/coordinator_server_types.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L42)* +*Defined in [utils/coordinator_server_types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L42)* ___ @@ -3695,7 +3695,7 @@ ___ • **errors**: *[CoordinatorServerResponse](#interface-coordinatorserverresponse)[]* -*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* ___ @@ -3705,7 +3705,7 @@ ___ *Overrides void* -*Defined in [utils/coordinator_server_types.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L40)* +*Defined in [utils/coordinator_server_types.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L40)* ___ @@ -3781,7 +3781,7 @@ can submit this to the blockchain. The Exchange context executes as if UserA had \+ **new TransactionEncoder**(`exchangeInstance`: `ExchangeContract`): *[TransactionEncoder](#class-transactionencoder)* -*Defined in [utils/transaction_encoder.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L17)* +*Defined in [utils/transaction_encoder.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L17)* **Parameters:** @@ -3797,7 +3797,7 @@ Name | Type | ▸ **batchCancelOrdersTx**(`signedOrders`: `SignedOrder`[]): *string* -*Defined in [utils/transaction_encoder.ts:149](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L149)* +*Defined in [utils/transaction_encoder.ts:149](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L149)* Encodes a batchCancelOrders transaction. @@ -3817,7 +3817,7 @@ ___ ▸ **batchFillOrKillOrdersTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[]): *string* -*Defined in [utils/transaction_encoder.ts:112](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L112)* +*Defined in [utils/transaction_encoder.ts:112](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L112)* Encodes a batchFillOrKillOrders transaction. @@ -3838,7 +3838,7 @@ ___ ▸ **batchFillOrdersNoThrowTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[]): *string* -*Defined in [utils/transaction_encoder.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L131)* +*Defined in [utils/transaction_encoder.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L131)* Encodes a batchFillOrdersNoThrow transaction. @@ -3859,7 +3859,7 @@ ___ ▸ **batchFillOrdersTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[]): *string* -*Defined in [utils/transaction_encoder.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L93)* +*Defined in [utils/transaction_encoder.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L93)* Encodes a batchFillOrders transaction. @@ -3880,7 +3880,7 @@ ___ ▸ **cancelOrderTx**(`order`: `Order` | `SignedOrder`): *string* -*Defined in [utils/transaction_encoder.ts:171](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L171)* +*Defined in [utils/transaction_encoder.ts:171](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L171)* Encodes a cancelOrder transaction. @@ -3900,7 +3900,7 @@ ___ ▸ **cancelOrdersUpToTx**(`targetOrderEpoch`: `BigNumber`): *string* -*Defined in [utils/transaction_encoder.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L159)* +*Defined in [utils/transaction_encoder.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L159)* Encodes a cancelOrdersUpTo transaction. @@ -3920,7 +3920,7 @@ ___ ▸ **fillOrKillOrderTx**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`): *string* -*Defined in [utils/transaction_encoder.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L77)* +*Defined in [utils/transaction_encoder.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L77)* Encodes a fillOrKillOrder transaction. @@ -3941,7 +3941,7 @@ ___ ▸ **fillOrderNoThrowTx**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`): *string* -*Defined in [utils/transaction_encoder.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L61)* +*Defined in [utils/transaction_encoder.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L61)* Encodes a fillOrderNoThrow transaction. @@ -3962,7 +3962,7 @@ ___ ▸ **fillOrderTx**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`): *string* -*Defined in [utils/transaction_encoder.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L45)* +*Defined in [utils/transaction_encoder.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L45)* Encodes a fillOrder transaction. @@ -3983,7 +3983,7 @@ ___ ▸ **getTransactionHashHex**(`data`: string, `salt`: `BigNumber`, `signerAddress`: string): *string* -*Defined in [utils/transaction_encoder.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L28)* +*Defined in [utils/transaction_encoder.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L28)* Hashes the transaction data for use with the Exchange contract. @@ -4005,7 +4005,7 @@ ___ ▸ **marketBuyOrdersNoThrowTx**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`): *string* -*Defined in [utils/transaction_encoder.ts:233](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L233)* +*Defined in [utils/transaction_encoder.ts:233](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L233)* Encodes a maketBuyOrdersNoThrow transaction. @@ -4026,7 +4026,7 @@ ___ ▸ **marketBuyOrdersTx**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`): *string* -*Defined in [utils/transaction_encoder.ts:216](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L216)* +*Defined in [utils/transaction_encoder.ts:216](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L216)* Encodes a maketBuyOrders transaction. @@ -4047,7 +4047,7 @@ ___ ▸ **marketSellOrdersNoThrowTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`): *string* -*Defined in [utils/transaction_encoder.ts:199](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L199)* +*Defined in [utils/transaction_encoder.ts:199](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L199)* Encodes a marketSellOrdersNoThrow transaction. @@ -4068,7 +4068,7 @@ ___ ▸ **marketSellOrdersTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`): *string* -*Defined in [utils/transaction_encoder.ts:182](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L182)* +*Defined in [utils/transaction_encoder.ts:182](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L182)* Encodes a marketSellOrders transaction. @@ -4089,7 +4089,7 @@ ___ ▸ **matchOrdersTx**(`leftOrder`: `SignedOrder`, `rightOrder`: `SignedOrder`): *string* -*Defined in [utils/transaction_encoder.ts:250](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L250)* +*Defined in [utils/transaction_encoder.ts:250](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L250)* Encodes a matchOrders transaction. @@ -4110,7 +4110,7 @@ ___ ▸ **preSignTx**(`hash`: string, `signerAddress`: string, `signature`: string): *string* -*Defined in [utils/transaction_encoder.ts:268](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L268)* +*Defined in [utils/transaction_encoder.ts:268](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L268)* Encodes a preSign transaction. @@ -4132,7 +4132,7 @@ ___ ▸ **setSignatureValidatorApprovalTx**(`validatorAddress`: string, `isApproved`: boolean): *string* -*Defined in [utils/transaction_encoder.ts:285](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/transaction_encoder.ts#L285)* +*Defined in [utils/transaction_encoder.ts:285](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L285)* Encodes a setSignatureValidatorApproval transaction. @@ -4174,7 +4174,7 @@ Hex encoded abi of the function call. • **ContractNotDeployedOnNetwork**: = "CONTRACT_NOT_DEPLOYED_ON_NETWORK" -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L26)* ___ @@ -4182,7 +4182,7 @@ ___ • **ERC721NoApproval**: = "ERC_721_NO_APPROVAL" -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L36)* ___ @@ -4190,7 +4190,7 @@ ___ • **ERC721OwnerNotFound**: = "ERC_721_OWNER_NOT_FOUND" -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L35)* ___ @@ -4198,7 +4198,7 @@ ___ • **InsufficientAllowanceForTransfer**: = "INSUFFICIENT_ALLOWANCE_FOR_TRANSFER" -*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L27)* +*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L27)* ___ @@ -4206,7 +4206,7 @@ ___ • **InsufficientBalanceForTransfer**: = "INSUFFICIENT_BALANCE_FOR_TRANSFER" -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L28)* ___ @@ -4214,7 +4214,7 @@ ___ • **InsufficientEthBalanceForDeposit**: = "INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT" -*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L29)* +*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L29)* ___ @@ -4222,7 +4222,7 @@ ___ • **InsufficientWEthBalanceForWithdrawal**: = "INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL" -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L30)* ___ @@ -4230,7 +4230,7 @@ ___ • **InvalidJump**: = "INVALID_JUMP" -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L31)* ___ @@ -4238,7 +4238,7 @@ ___ • **OutOfGas**: = "OUT_OF_GAS" -*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L32)* ___ @@ -4246,7 +4246,7 @@ ___ • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L37)* ___ @@ -4254,7 +4254,7 @@ ___ • **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L34)* ___ @@ -4262,7 +4262,7 @@ ___ • **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L33)*
@@ -4280,7 +4280,7 @@ ___ • **AssetDataMismatch**: = "ASSET_DATA_MISMATCH" -*Defined in [types.ts:220](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L220)* +*Defined in [types.ts:220](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L220)*
@@ -4298,7 +4298,7 @@ ___ • **AssetDataMismatch**: = "ASSET_DATA_MISMATCH" -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L18)*
@@ -4316,7 +4316,7 @@ ___ • **CompleteFillFailed**: = "COMPLETE_FILL_FAILED" -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L22)*
@@ -4334,7 +4334,7 @@ ___ • **NoAbiDecoder**: = "NO_ABI_DECODER" -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L41)*
@@ -4358,7 +4358,7 @@ ___ • **Cancelled**: -*Defined in [types.ts:195](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L195)* +*Defined in [types.ts:195](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L195)* ___ @@ -4366,7 +4366,7 @@ ___ • **Expired**: -*Defined in [types.ts:193](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L193)* +*Defined in [types.ts:193](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L193)* ___ @@ -4374,7 +4374,7 @@ ___ • **Fillable**: -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L192)* ___ @@ -4382,7 +4382,7 @@ ___ • **FullyFilled**: -*Defined in [types.ts:194](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L194)* +*Defined in [types.ts:194](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L194)* ___ @@ -4390,7 +4390,7 @@ ___ • **Invalid**: = 0 -*Defined in [types.ts:189](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L189)* +*Defined in [types.ts:189](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L189)* ___ @@ -4398,7 +4398,7 @@ ___ • **InvalidMakerAssetAmount**: -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L190)* ___ @@ -4406,7 +4406,7 @@ ___ • **InvalidTakerAssetAmount**: -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L191)*
@@ -4425,7 +4425,7 @@ ___ • **Maker**: = "maker" -*Defined in [types.ts:171](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L171)* +*Defined in [types.ts:171](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L171)* ___ @@ -4433,7 +4433,7 @@ ___ • **Taker**: = "taker" -*Defined in [types.ts:172](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L172)* +*Defined in [types.ts:172](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L172)*
@@ -4452,7 +4452,7 @@ ___ • **Fee**: = "fee" -*Defined in [types.ts:177](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L177)* +*Defined in [types.ts:177](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L177)* ___ @@ -4460,7 +4460,7 @@ ___ • **Trade**: = "trade" -*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L176)* +*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L176)*
@@ -4479,7 +4479,7 @@ ___ • **CancellationFailed**: = "Failed to cancel with some coordinator server(s). See errors for more info. See cancellations for successful cancellations." -*Defined in [utils/coordinator_server_types.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L59)* +*Defined in [utils/coordinator_server_types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L59)* ___ @@ -4487,7 +4487,7 @@ ___ • **FillFailed**: = "Failed to obtain approval signatures from some coordinator server(s). See errors for more info. Current transaction has been abandoned but you may resubmit with only approvedOrders (a new ZeroEx transaction will have to be signed)." -*Defined in [utils/coordinator_server_types.ts:60](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L60)* +*Defined in [utils/coordinator_server_types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L60)*
@@ -4510,7 +4510,7 @@ ___ • **allowance**: *`BigNumber`* -*Defined in [types.ts:216](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L216)* +*Defined in [types.ts:216](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L216)* ___ @@ -4518,7 +4518,7 @@ ___ • **balance**: *`BigNumber`* -*Defined in [types.ts:215](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L215)* +*Defined in [types.ts:215](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L215)*
@@ -4541,7 +4541,7 @@ ___ • **fromBlock**: *`BlockParam`* -*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L97)* +*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L97)* ___ @@ -4549,7 +4549,7 @@ ___ • **toBlock**: *`BlockParam`* -*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L98)* +*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L98)*
@@ -4579,7 +4579,7 @@ ___ • **address**: *string* -*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L61)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L61)* ___ @@ -4587,7 +4587,7 @@ ___ • **args**: *[ContractEventArgs](#contracteventargs)* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L64)* ___ @@ -4595,7 +4595,7 @@ ___ • **blockHash**: *string* -*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L59)* +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L59)* ___ @@ -4603,7 +4603,7 @@ ___ • **blockNumber**: *number* -*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L60)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L60)* ___ @@ -4611,7 +4611,7 @@ ___ • **event**: *string* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L63)* ___ @@ -4619,7 +4619,7 @@ ___ • **logIndex**: *number* -*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L56)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L56)* ___ @@ -4627,7 +4627,7 @@ ___ • **transactionHash**: *string* -*Defined in [types.ts:58](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L58)* +*Defined in [types.ts:58](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L58)* ___ @@ -4635,7 +4635,7 @@ ___ • **transactionIndex**: *number* -*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L57)* +*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L57)* ___ @@ -4643,7 +4643,7 @@ ___ • **type**: *string* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L62)*
@@ -4673,7 +4673,7 @@ blockPollingIntervalMs: The interval to use for block polling in event watching • **blockPollingIntervalMs**? : *undefined | number* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L119)* ___ @@ -4681,7 +4681,7 @@ ___ • **contractAddresses**? : *`ContractAddresses`* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L118)* ___ @@ -4689,7 +4689,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L117)* ___ @@ -4697,7 +4697,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L116)*
@@ -4721,7 +4721,7 @@ ___ • **data**: *string* -*Defined in [types.ts:228](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L228)* +*Defined in [types.ts:228](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L228)* ___ @@ -4729,7 +4729,7 @@ ___ • **salt**: *`BigNumber`* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L226)* ___ @@ -4737,7 +4737,7 @@ ___ • **signerAddress**: *string* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L227)*
@@ -4764,7 +4764,7 @@ ___ • **isRemoved**: *boolean* -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L46)* ___ @@ -4772,7 +4772,7 @@ ___ • **log**: *`LogWithDecodedArgs`* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L47)*
@@ -4811,7 +4811,7 @@ flag when running Parity). • **defaultBlock**? : *`BlockParam`* -*Defined in [types.ts:148](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L148)* +*Defined in [types.ts:148](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L148)*
@@ -4834,7 +4834,7 @@ flag when running Parity). • **orderInfo**: *[OrderInfo](#interface-orderinfo)* -*Defined in [types.ts:210](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L210)* +*Defined in [types.ts:210](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L210)* ___ @@ -4842,7 +4842,7 @@ ___ • **traderInfo**: *[TraderInfo](#interface-traderinfo)* -*Defined in [types.ts:211](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L211)* +*Defined in [types.ts:211](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L211)*
@@ -4865,7 +4865,7 @@ ___ • **signedOrder**: *`SignedOrder`* -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L102)* ___ @@ -4873,7 +4873,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L103)* +*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L103)*
@@ -4897,7 +4897,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:184](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L184)* +*Defined in [types.ts:184](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L184)* ___ @@ -4905,7 +4905,7 @@ ___ • **orderStatus**: *[OrderStatus](#enumeration-orderstatus)* -*Defined in [types.ts:183](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L183)* +*Defined in [types.ts:183](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L183)* ___ @@ -4913,7 +4913,7 @@ ___ • **orderTakerAssetFilledAmount**: *`BigNumber`* -*Defined in [types.ts:185](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L185)* +*Defined in [types.ts:185](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L185)*
@@ -4945,7 +4945,7 @@ broadcasting it. For example, order has a valid signature, maker has sufficient *Inherited from [TransactionOpts](#optional-gaslimit)* -*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L158)* +*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L158)* ___ @@ -4955,7 +4955,7 @@ ___ *Inherited from [TransactionOpts](#optional-gasprice)* -*Defined in [types.ts:157](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L157)* +*Defined in [types.ts:157](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L157)* ___ @@ -4965,7 +4965,7 @@ ___ *Inherited from [TransactionOpts](#optional-nonce)* -*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L159)* +*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L159)* ___ @@ -4973,7 +4973,7 @@ ___ • **shouldValidate**? : *undefined | false | true* -*Defined in [types.ts:167](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L167)* +*Defined in [types.ts:167](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L167)*
@@ -4998,7 +4998,7 @@ ___ • **address**: *string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L74)* ___ @@ -5006,7 +5006,7 @@ ___ • **decimals**: *number* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L76)* ___ @@ -5014,7 +5014,7 @@ ___ • **name**: *string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L73)* ___ @@ -5022,7 +5022,7 @@ ___ • **symbol**: *string* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L75)*
@@ -5063,7 +5063,7 @@ ___ • **makerAllowance**: *`BigNumber`* -*Defined in [types.ts:200](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L200)* +*Defined in [types.ts:200](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L200)* ___ @@ -5071,7 +5071,7 @@ ___ • **makerBalance**: *`BigNumber`* -*Defined in [types.ts:199](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L199)* +*Defined in [types.ts:199](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L199)* ___ @@ -5079,7 +5079,7 @@ ___ • **makerZrxAllowance**: *`BigNumber`* -*Defined in [types.ts:204](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L204)* +*Defined in [types.ts:204](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L204)* ___ @@ -5087,7 +5087,7 @@ ___ • **makerZrxBalance**: *`BigNumber`* -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L203)* +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L203)* ___ @@ -5095,7 +5095,7 @@ ___ • **takerAllowance**: *`BigNumber`* -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L202)* +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L202)* ___ @@ -5103,7 +5103,7 @@ ___ • **takerBalance**: *`BigNumber`* -*Defined in [types.ts:201](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L201)* +*Defined in [types.ts:201](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L201)* ___ @@ -5111,7 +5111,7 @@ ___ • **takerZrxAllowance**: *`BigNumber`* -*Defined in [types.ts:206](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L206)* +*Defined in [types.ts:206](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L206)* ___ @@ -5119,7 +5119,7 @@ ___ • **takerZrxBalance**: *`BigNumber`* -*Defined in [types.ts:205](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L205)* +*Defined in [types.ts:205](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L205)*
@@ -5149,7 +5149,7 @@ nonce: The nonce to use for a transaction. If not specified, it defaults to the • **gasLimit**? : *undefined | number* -*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L158)* +*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L158)* ___ @@ -5157,7 +5157,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:157](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L157)* +*Defined in [types.ts:157](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L157)* ___ @@ -5165,7 +5165,7 @@ ___ • **nonce**? : *undefined | number* -*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L159)* +*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L159)*
@@ -5190,7 +5190,7 @@ ___ • **from**: *string* -*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L80)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L80)* ___ @@ -5198,7 +5198,7 @@ ___ • **gas**? : *undefined | number* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L81)* ___ @@ -5206,7 +5206,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L83)* +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L83)* ___ @@ -5214,7 +5214,7 @@ ___ • **value**? : *`BigNumber`* -*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L82)* +*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L82)*
@@ -5250,7 +5250,7 @@ ___ • **expectedFillTakerTokenAmount**? : *`BigNumber`* -*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L136)* +*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L136)* ___ @@ -5258,7 +5258,7 @@ ___ • **simulationTakerAddress**? : *undefined | string* -*Defined in [types.ts:138](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L138)* +*Defined in [types.ts:138](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L138)* ___ @@ -5266,7 +5266,7 @@ ___ • **validateRemainingOrderAmountIsFillable**? : *undefined | false | true* -*Defined in [types.ts:137](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/types.ts#L137)* +*Defined in [types.ts:137](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L137)*
@@ -5291,7 +5291,7 @@ ___ • **approvalSignatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L19)* +*Defined in [utils/coordinator_server_types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L19)* ___ @@ -5299,7 +5299,7 @@ ___ • **expirationTimeSeconds**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L20)* +*Defined in [utils/coordinator_server_types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L20)* ___ @@ -5307,7 +5307,7 @@ ___ • **orderHash**: *string* -*Defined in [utils/coordinator_server_types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L18)* +*Defined in [utils/coordinator_server_types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L18)* ___ @@ -5315,7 +5315,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L21)* +*Defined in [utils/coordinator_server_types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L21)*
@@ -5338,7 +5338,7 @@ ___ • **expirationTimeSeconds**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L10)* +*Defined in [utils/coordinator_server_types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L10)* ___ @@ -5346,7 +5346,7 @@ ___ • **signatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L9)* +*Defined in [utils/coordinator_server_types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L9)*
@@ -5369,7 +5369,7 @@ ___ • **expirationTimeSeconds**: *`BigNumber`[]* -*Defined in [utils/coordinator_server_types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L6)* +*Defined in [utils/coordinator_server_types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L6)* ___ @@ -5377,7 +5377,7 @@ ___ • **signatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L5)* +*Defined in [utils/coordinator_server_types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L5)*
@@ -5400,7 +5400,7 @@ ___ • **cancellationSignatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L15)* +*Defined in [utils/coordinator_server_types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L15)* ___ @@ -5408,7 +5408,7 @@ ___ • **outstandingFillSignatures**: *[CoordinatorOutstandingFillSignatures](#class-coordinatoroutstandingfillsignatures)[]* -*Defined in [utils/coordinator_server_types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L14)* +*Defined in [utils/coordinator_server_types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L14)*
@@ -5431,7 +5431,7 @@ ___ • **signedTransaction**: *`SignedZeroExTransaction`* -*Defined in [utils/coordinator_server_types.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L35)* +*Defined in [utils/coordinator_server_types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L35)* ___ @@ -5439,7 +5439,7 @@ ___ • **txOrigin**: *string* -*Defined in [utils/coordinator_server_types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L36)* +*Defined in [utils/coordinator_server_types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L36)*
@@ -5467,7 +5467,7 @@ ___ • **body**? : *[CoordinatorServerCancellationResponse](#class-coordinatorserverapprovalrawresponse)* -*Defined in [utils/coordinator_server_types.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L27)* +*Defined in [utils/coordinator_server_types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L27)* ___ @@ -5475,7 +5475,7 @@ ___ • **coordinatorOperator**: *string* -*Defined in [utils/coordinator_server_types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L30)* +*Defined in [utils/coordinator_server_types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L30)* ___ @@ -5483,7 +5483,7 @@ ___ • **error**? : *any* -*Defined in [utils/coordinator_server_types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L28)* +*Defined in [utils/coordinator_server_types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L28)* ___ @@ -5491,7 +5491,7 @@ ___ • **isError**: *boolean* -*Defined in [utils/coordinator_server_types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L25)* +*Defined in [utils/coordinator_server_types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L25)* ___ @@ -5499,7 +5499,7 @@ ___ • **orders**? : *`Array`* -*Defined in [utils/coordinator_server_types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L31)* +*Defined in [utils/coordinator_server_types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L31)* ___ @@ -5507,7 +5507,7 @@ ___ • **request**: *[CoordinatorServerRequest](#class-coordinatorserverrequest)* -*Defined in [utils/coordinator_server_types.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L29)* +*Defined in [utils/coordinator_server_types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L29)* ___ @@ -5515,7 +5515,7 @@ ___ • **status**: *number* -*Defined in [utils/coordinator_server_types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L26)* +*Defined in [utils/coordinator_server_types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L26)*
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 9befaa6bf1..2c7947a90d 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -50,7 +50,7 @@ "devDependencies": { "@0x/abi-gen": "^4.1.1", "@0x/assert": "^2.1.4", - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/contracts-test-utils": "^3.1.14", "@0x/coordinator-server": "^0.1.3", "@0x/json-schemas": "^4.0.0", diff --git a/packages/ethereum-types/docs/reference.md b/packages/ethereum-types/docs/reference.md index d40a06b83f..d3f030ccb5 100644 --- a/packages/ethereum-types/docs/reference.md +++ b/packages/ethereum-types/docs/reference.md @@ -15,7 +15,7 @@ • **Constructor**: = "constructor" -*Defined in [index.ts:455](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L455)* +*Defined in [index.ts:455](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L455)* ___ @@ -23,7 +23,7 @@ ___ • **Event**: = "event" -*Defined in [index.ts:456](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L456)* +*Defined in [index.ts:456](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L456)* ___ @@ -31,7 +31,7 @@ ___ • **Fallback**: = "fallback" -*Defined in [index.ts:457](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L457)* +*Defined in [index.ts:457](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L457)* ___ @@ -39,7 +39,7 @@ ___ • **Function**: = "function" -*Defined in [index.ts:454](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L454)* +*Defined in [index.ts:454](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L454)*
@@ -59,7 +59,7 @@ ___ • **Earliest**: = "earliest" -*Defined in [index.ts:470](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L470)* +*Defined in [index.ts:470](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L470)* ___ @@ -67,7 +67,7 @@ ___ • **Latest**: = "latest" -*Defined in [index.ts:471](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L471)* +*Defined in [index.ts:471](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L471)* ___ @@ -75,7 +75,7 @@ ___ • **Pending**: = "pending" -*Defined in [index.ts:472](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L472)* +*Defined in [index.ts:472](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L472)*
@@ -226,7 +226,7 @@ ___ • **Add**: = "ADD" -*Defined in [index.ts:141](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L141)* +*Defined in [index.ts:141](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L141)* ___ @@ -234,7 +234,7 @@ ___ • **AddMod**: = "ADDMOD" -*Defined in [index.ts:148](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L148)* +*Defined in [index.ts:148](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L148)* ___ @@ -242,7 +242,7 @@ ___ • **Address**: = "ADDRESS" -*Defined in [index.ts:167](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L167)* +*Defined in [index.ts:167](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L167)* ___ @@ -250,7 +250,7 @@ ___ • **And**: = "AND" -*Defined in [index.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L159)* +*Defined in [index.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L159)* ___ @@ -258,7 +258,7 @@ ___ • **Balance**: = "BALANCE" -*Defined in [index.ts:168](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L168)* +*Defined in [index.ts:168](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L168)* ___ @@ -266,7 +266,7 @@ ___ • **BlockHash**: = "BLOCKHASH" -*Defined in [index.ts:183](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L183)* +*Defined in [index.ts:183](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L183)* ___ @@ -274,7 +274,7 @@ ___ • **Byte**: = "BYTE" -*Defined in [index.ts:163](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L163)* +*Defined in [index.ts:163](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L163)* ___ @@ -282,7 +282,7 @@ ___ • **Call**: = "CALL" -*Defined in [index.ts:276](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L276)* +*Defined in [index.ts:276](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L276)* ___ @@ -290,7 +290,7 @@ ___ • **CallCode**: = "CALLCODE" -*Defined in [index.ts:277](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L277)* +*Defined in [index.ts:277](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L277)* ___ @@ -298,7 +298,7 @@ ___ • **CallDataCopy**: = "CALLDATACOPY" -*Defined in [index.ts:174](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L174)* +*Defined in [index.ts:174](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L174)* ___ @@ -306,7 +306,7 @@ ___ • **CallDataLoad**: = "CALLDATALOAD" -*Defined in [index.ts:172](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L172)* +*Defined in [index.ts:172](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L172)* ___ @@ -314,7 +314,7 @@ ___ • **CallDataSize**: = "CALLDATASIZE" -*Defined in [index.ts:173](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L173)* +*Defined in [index.ts:173](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L173)* ___ @@ -322,7 +322,7 @@ ___ • **CallValue**: = "CALLVALUE" -*Defined in [index.ts:171](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L171)* +*Defined in [index.ts:171](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L171)* ___ @@ -330,7 +330,7 @@ ___ • **Caller**: = "CALLER" -*Defined in [index.ts:170](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L170)* +*Defined in [index.ts:170](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L170)* ___ @@ -338,7 +338,7 @@ ___ • **CodeCopy**: = "CODECOPY" -*Defined in [index.ts:176](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L176)* +*Defined in [index.ts:176](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L176)* ___ @@ -346,7 +346,7 @@ ___ • **CodeSize**: = "CODESIZE" -*Defined in [index.ts:175](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L175)* +*Defined in [index.ts:175](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L175)* ___ @@ -354,7 +354,7 @@ ___ • **Coinbase**: = "COINBASE" -*Defined in [index.ts:184](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L184)* +*Defined in [index.ts:184](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L184)* ___ @@ -362,7 +362,7 @@ ___ • **Create**: = "CREATE" -*Defined in [index.ts:275](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L275)* +*Defined in [index.ts:275](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L275)* ___ @@ -370,7 +370,7 @@ ___ • **DelegateCall**: = "DELEGATECALL" -*Defined in [index.ts:279](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L279)* +*Defined in [index.ts:279](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L279)* ___ @@ -378,7 +378,7 @@ ___ • **Difficulty**: = "DIFFICULTY" -*Defined in [index.ts:187](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L187)* +*Defined in [index.ts:187](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L187)* ___ @@ -386,7 +386,7 @@ ___ • **Div**: = "DIV" -*Defined in [index.ts:144](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L144)* +*Defined in [index.ts:144](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L144)* ___ @@ -394,7 +394,7 @@ ___ • **Dup1**: = "DUP1" -*Defined in [index.ts:236](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L236)* +*Defined in [index.ts:236](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L236)* ___ @@ -402,7 +402,7 @@ ___ • **Dup10**: = "DUP10" -*Defined in [index.ts:245](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L245)* +*Defined in [index.ts:245](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L245)* ___ @@ -410,7 +410,7 @@ ___ • **Dup11**: = "DUP11" -*Defined in [index.ts:246](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L246)* +*Defined in [index.ts:246](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L246)* ___ @@ -418,7 +418,7 @@ ___ • **Dup12**: = "DUP12" -*Defined in [index.ts:247](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L247)* +*Defined in [index.ts:247](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L247)* ___ @@ -426,7 +426,7 @@ ___ • **Dup13**: = "DUP13" -*Defined in [index.ts:248](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L248)* +*Defined in [index.ts:248](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L248)* ___ @@ -434,7 +434,7 @@ ___ • **Dup14**: = "DUP14" -*Defined in [index.ts:249](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L249)* +*Defined in [index.ts:249](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L249)* ___ @@ -442,7 +442,7 @@ ___ • **Dup15**: = "DUP15" -*Defined in [index.ts:250](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L250)* +*Defined in [index.ts:250](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L250)* ___ @@ -450,7 +450,7 @@ ___ • **Dup16**: = "DUP16" -*Defined in [index.ts:251](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L251)* +*Defined in [index.ts:251](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L251)* ___ @@ -458,7 +458,7 @@ ___ • **Dup2**: = "DUP2" -*Defined in [index.ts:237](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L237)* +*Defined in [index.ts:237](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L237)* ___ @@ -466,7 +466,7 @@ ___ • **Dup3**: = "DUP3" -*Defined in [index.ts:238](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L238)* +*Defined in [index.ts:238](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L238)* ___ @@ -474,7 +474,7 @@ ___ • **Dup4**: = "DUP4" -*Defined in [index.ts:239](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L239)* +*Defined in [index.ts:239](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L239)* ___ @@ -482,7 +482,7 @@ ___ • **Dup5**: = "DUP5" -*Defined in [index.ts:240](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L240)* +*Defined in [index.ts:240](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L240)* ___ @@ -490,7 +490,7 @@ ___ • **Dup6**: = "DUP6" -*Defined in [index.ts:241](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L241)* +*Defined in [index.ts:241](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L241)* ___ @@ -498,7 +498,7 @@ ___ • **Dup7**: = "DUP7" -*Defined in [index.ts:242](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L242)* +*Defined in [index.ts:242](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L242)* ___ @@ -506,7 +506,7 @@ ___ • **Dup8**: = "DUP8" -*Defined in [index.ts:243](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L243)* +*Defined in [index.ts:243](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L243)* ___ @@ -514,7 +514,7 @@ ___ • **Dup9**: = "DUP9" -*Defined in [index.ts:244](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L244)* +*Defined in [index.ts:244](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L244)* ___ @@ -522,7 +522,7 @@ ___ • **Eq**: = "EQ" -*Defined in [index.ts:157](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L157)* +*Defined in [index.ts:157](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L157)* ___ @@ -530,7 +530,7 @@ ___ • **Exp**: = "EXP" -*Defined in [index.ts:150](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L150)* +*Defined in [index.ts:150](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L150)* ___ @@ -538,7 +538,7 @@ ___ • **ExtCodeCopy**: = "EXTCODECOPY" -*Defined in [index.ts:179](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L179)* +*Defined in [index.ts:179](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L179)* ___ @@ -546,7 +546,7 @@ ___ • **ExtCodeSize**: = "EXTCODESIZE" -*Defined in [index.ts:178](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L178)* +*Defined in [index.ts:178](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L178)* ___ @@ -554,7 +554,7 @@ ___ • **Gas**: = "GAS" -*Defined in [index.ts:200](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L200)* +*Defined in [index.ts:200](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L200)* ___ @@ -562,7 +562,7 @@ ___ • **GasPrice**: = "GASPRICE" -*Defined in [index.ts:177](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L177)* +*Defined in [index.ts:177](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L177)* ___ @@ -570,7 +570,7 @@ ___ • **Gaslimit**: = "GASLIMIT" -*Defined in [index.ts:188](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L188)* +*Defined in [index.ts:188](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L188)* ___ @@ -578,7 +578,7 @@ ___ • **Gt**: = "GT" -*Defined in [index.ts:154](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L154)* +*Defined in [index.ts:154](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L154)* ___ @@ -586,7 +586,7 @@ ___ • **Invalid**: = "INVALID" -*Defined in [index.ts:282](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L282)* +*Defined in [index.ts:282](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L282)* ___ @@ -594,7 +594,7 @@ ___ • **IsZero**: = "ISZERO" -*Defined in [index.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L158)* +*Defined in [index.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L158)* ___ @@ -602,7 +602,7 @@ ___ • **Jump**: = "JUMP" -*Defined in [index.ts:196](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L196)* +*Defined in [index.ts:196](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L196)* ___ @@ -610,7 +610,7 @@ ___ • **JumpDest**: = "JUMPDEST" -*Defined in [index.ts:201](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L201)* +*Defined in [index.ts:201](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L201)* ___ @@ -618,7 +618,7 @@ ___ • **Jumpi**: = "JUMPI" -*Defined in [index.ts:197](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L197)* +*Defined in [index.ts:197](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L197)* ___ @@ -626,7 +626,7 @@ ___ • **Log1**: = "LOG1" -*Defined in [index.ts:270](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L270)* +*Defined in [index.ts:270](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L270)* ___ @@ -634,7 +634,7 @@ ___ • **Log2**: = "LOG2" -*Defined in [index.ts:271](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L271)* +*Defined in [index.ts:271](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L271)* ___ @@ -642,7 +642,7 @@ ___ • **Log3**: = "LOG3" -*Defined in [index.ts:272](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L272)* +*Defined in [index.ts:272](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L272)* ___ @@ -650,7 +650,7 @@ ___ • **Log4**: = "LOG4" -*Defined in [index.ts:273](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L273)* +*Defined in [index.ts:273](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L273)* ___ @@ -658,7 +658,7 @@ ___ • **Lt**: = "LT" -*Defined in [index.ts:153](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L153)* +*Defined in [index.ts:153](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L153)* ___ @@ -666,7 +666,7 @@ ___ • **MLoad**: = "MLOAD" -*Defined in [index.ts:191](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L191)* +*Defined in [index.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L191)* ___ @@ -674,7 +674,7 @@ ___ • **MSize**: = "MSIZE" -*Defined in [index.ts:199](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L199)* +*Defined in [index.ts:199](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L199)* ___ @@ -682,7 +682,7 @@ ___ • **MStore**: = "MSTORE" -*Defined in [index.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L192)* +*Defined in [index.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L192)* ___ @@ -690,7 +690,7 @@ ___ • **MStore8**: = "MSTORE8" -*Defined in [index.ts:193](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L193)* +*Defined in [index.ts:193](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L193)* ___ @@ -698,7 +698,7 @@ ___ • **Mod**: = "MOD" -*Defined in [index.ts:146](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L146)* +*Defined in [index.ts:146](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L146)* ___ @@ -706,7 +706,7 @@ ___ • **Mul**: = "MUL" -*Defined in [index.ts:142](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L142)* +*Defined in [index.ts:142](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L142)* ___ @@ -714,7 +714,7 @@ ___ • **MulMod**: = "MULMOD" -*Defined in [index.ts:149](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L149)* +*Defined in [index.ts:149](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L149)* ___ @@ -722,7 +722,7 @@ ___ • **Not**: = "NOT" -*Defined in [index.ts:162](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L162)* +*Defined in [index.ts:162](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L162)* ___ @@ -730,7 +730,7 @@ ___ • **Number**: = "NUMBER" -*Defined in [index.ts:186](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L186)* +*Defined in [index.ts:186](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L186)* ___ @@ -738,7 +738,7 @@ ___ • **Or**: = "OR" -*Defined in [index.ts:160](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L160)* +*Defined in [index.ts:160](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L160)* ___ @@ -746,7 +746,7 @@ ___ • **Origin**: = "ORIGIN" -*Defined in [index.ts:169](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L169)* +*Defined in [index.ts:169](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L169)* ___ @@ -754,7 +754,7 @@ ___ • **Pc**: = "PC" -*Defined in [index.ts:198](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L198)* +*Defined in [index.ts:198](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L198)* ___ @@ -762,7 +762,7 @@ ___ • **Pop**: = "POP" -*Defined in [index.ts:190](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L190)* +*Defined in [index.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L190)* ___ @@ -770,7 +770,7 @@ ___ • **Push1**: = "PUSH1" -*Defined in [index.ts:203](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L203)* +*Defined in [index.ts:203](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L203)* ___ @@ -778,7 +778,7 @@ ___ • **Push10**: = "PUSH10" -*Defined in [index.ts:212](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L212)* +*Defined in [index.ts:212](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L212)* ___ @@ -786,7 +786,7 @@ ___ • **Push11**: = "PUSH11" -*Defined in [index.ts:213](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L213)* +*Defined in [index.ts:213](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L213)* ___ @@ -794,7 +794,7 @@ ___ • **Push12**: = "PUSH12" -*Defined in [index.ts:214](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L214)* +*Defined in [index.ts:214](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L214)* ___ @@ -802,7 +802,7 @@ ___ • **Push13**: = "PUSH13" -*Defined in [index.ts:215](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L215)* +*Defined in [index.ts:215](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L215)* ___ @@ -810,7 +810,7 @@ ___ • **Push14**: = "PUSH14" -*Defined in [index.ts:216](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L216)* +*Defined in [index.ts:216](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L216)* ___ @@ -818,7 +818,7 @@ ___ • **Push15**: = "PUSH15" -*Defined in [index.ts:217](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L217)* +*Defined in [index.ts:217](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L217)* ___ @@ -826,7 +826,7 @@ ___ • **Push16**: = "PUSH16" -*Defined in [index.ts:218](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L218)* +*Defined in [index.ts:218](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L218)* ___ @@ -834,7 +834,7 @@ ___ • **Push17**: = "PUSH17" -*Defined in [index.ts:219](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L219)* +*Defined in [index.ts:219](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L219)* ___ @@ -842,7 +842,7 @@ ___ • **Push18**: = "PUSH18" -*Defined in [index.ts:220](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L220)* +*Defined in [index.ts:220](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L220)* ___ @@ -850,7 +850,7 @@ ___ • **Push19**: = "PUSH19" -*Defined in [index.ts:221](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L221)* +*Defined in [index.ts:221](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L221)* ___ @@ -858,7 +858,7 @@ ___ • **Push2**: = "PUSH2" -*Defined in [index.ts:204](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L204)* +*Defined in [index.ts:204](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L204)* ___ @@ -866,7 +866,7 @@ ___ • **Push20**: = "PUSH20" -*Defined in [index.ts:222](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L222)* +*Defined in [index.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L222)* ___ @@ -874,7 +874,7 @@ ___ • **Push21**: = "PUSH21" -*Defined in [index.ts:223](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L223)* +*Defined in [index.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L223)* ___ @@ -882,7 +882,7 @@ ___ • **Push22**: = "PUSH22" -*Defined in [index.ts:224](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L224)* +*Defined in [index.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L224)* ___ @@ -890,7 +890,7 @@ ___ • **Push23**: = "PUSH23" -*Defined in [index.ts:225](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L225)* +*Defined in [index.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L225)* ___ @@ -898,7 +898,7 @@ ___ • **Push24**: = "PUSH24" -*Defined in [index.ts:226](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L226)* +*Defined in [index.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L226)* ___ @@ -906,7 +906,7 @@ ___ • **Push25**: = "PUSH25" -*Defined in [index.ts:227](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L227)* +*Defined in [index.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L227)* ___ @@ -914,7 +914,7 @@ ___ • **Push26**: = "PUSH26" -*Defined in [index.ts:228](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L228)* +*Defined in [index.ts:228](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L228)* ___ @@ -922,7 +922,7 @@ ___ • **Push27**: = "PUSH27" -*Defined in [index.ts:229](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L229)* +*Defined in [index.ts:229](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L229)* ___ @@ -930,7 +930,7 @@ ___ • **Push28**: = "PUSH28" -*Defined in [index.ts:230](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L230)* +*Defined in [index.ts:230](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L230)* ___ @@ -938,7 +938,7 @@ ___ • **Push29**: = "PUSH29" -*Defined in [index.ts:231](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L231)* +*Defined in [index.ts:231](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L231)* ___ @@ -946,7 +946,7 @@ ___ • **Push3**: = "PUSH3" -*Defined in [index.ts:205](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L205)* +*Defined in [index.ts:205](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L205)* ___ @@ -954,7 +954,7 @@ ___ • **Push30**: = "PUSH30" -*Defined in [index.ts:232](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L232)* +*Defined in [index.ts:232](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L232)* ___ @@ -962,7 +962,7 @@ ___ • **Push31**: = "PUSH31" -*Defined in [index.ts:233](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L233)* +*Defined in [index.ts:233](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L233)* ___ @@ -970,7 +970,7 @@ ___ • **Push32**: = "PUSH32" -*Defined in [index.ts:234](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L234)* +*Defined in [index.ts:234](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L234)* ___ @@ -978,7 +978,7 @@ ___ • **Push4**: = "PUSH4" -*Defined in [index.ts:206](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L206)* +*Defined in [index.ts:206](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L206)* ___ @@ -986,7 +986,7 @@ ___ • **Push5**: = "PUSH5" -*Defined in [index.ts:207](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L207)* +*Defined in [index.ts:207](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L207)* ___ @@ -994,7 +994,7 @@ ___ • **Push6**: = "PUSH6" -*Defined in [index.ts:208](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L208)* +*Defined in [index.ts:208](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L208)* ___ @@ -1002,7 +1002,7 @@ ___ • **Push7**: = "PUSH7" -*Defined in [index.ts:209](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L209)* +*Defined in [index.ts:209](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L209)* ___ @@ -1010,7 +1010,7 @@ ___ • **Push8**: = "PUSH8" -*Defined in [index.ts:210](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L210)* +*Defined in [index.ts:210](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L210)* ___ @@ -1018,7 +1018,7 @@ ___ • **Push9**: = "PUSH9" -*Defined in [index.ts:211](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L211)* +*Defined in [index.ts:211](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L211)* ___ @@ -1026,7 +1026,7 @@ ___ • **Return**: = "RETURN" -*Defined in [index.ts:278](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L278)* +*Defined in [index.ts:278](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L278)* ___ @@ -1034,7 +1034,7 @@ ___ • **ReturnDataCopy**: = "RETURNDATACOPY" -*Defined in [index.ts:181](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L181)* +*Defined in [index.ts:181](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L181)* ___ @@ -1042,7 +1042,7 @@ ___ • **ReturnDataSize**: = "RETURNDATASIZE" -*Defined in [index.ts:180](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L180)* +*Defined in [index.ts:180](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L180)* ___ @@ -1050,7 +1050,7 @@ ___ • **Revert**: = "REVERT" -*Defined in [index.ts:281](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L281)* +*Defined in [index.ts:281](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L281)* ___ @@ -1058,7 +1058,7 @@ ___ • **SDiv**: = "SDIV" -*Defined in [index.ts:145](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L145)* +*Defined in [index.ts:145](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L145)* ___ @@ -1066,7 +1066,7 @@ ___ • **SGt**: = "SGT" -*Defined in [index.ts:156](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L156)* +*Defined in [index.ts:156](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L156)* ___ @@ -1074,7 +1074,7 @@ ___ • **SLoad**: = "SLOAD" -*Defined in [index.ts:194](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L194)* +*Defined in [index.ts:194](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L194)* ___ @@ -1082,7 +1082,7 @@ ___ • **SLt**: = "SLT" -*Defined in [index.ts:155](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L155)* +*Defined in [index.ts:155](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L155)* ___ @@ -1090,7 +1090,7 @@ ___ • **SMod**: = "SMOD" -*Defined in [index.ts:147](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L147)* +*Defined in [index.ts:147](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L147)* ___ @@ -1098,7 +1098,7 @@ ___ • **SStore**: = "SSTORE" -*Defined in [index.ts:195](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L195)* +*Defined in [index.ts:195](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L195)* ___ @@ -1106,7 +1106,7 @@ ___ • **SelfDestruct**: = "SELFDESTRUCT" -*Defined in [index.ts:283](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L283)* +*Defined in [index.ts:283](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L283)* ___ @@ -1114,7 +1114,7 @@ ___ • **Sha3**: = "SHA3" -*Defined in [index.ts:165](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L165)* +*Defined in [index.ts:165](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L165)* ___ @@ -1122,7 +1122,7 @@ ___ • **SignExtend**: = "SIGNEXTEND" -*Defined in [index.ts:151](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L151)* +*Defined in [index.ts:151](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L151)* ___ @@ -1130,7 +1130,7 @@ ___ • **StaticCall**: = "STATICCALL" -*Defined in [index.ts:280](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L280)* +*Defined in [index.ts:280](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L280)* ___ @@ -1138,7 +1138,7 @@ ___ • **Stop**: = "STOP" -*Defined in [index.ts:140](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L140)* +*Defined in [index.ts:140](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L140)* ___ @@ -1146,7 +1146,7 @@ ___ • **Sub**: = "SUB" -*Defined in [index.ts:143](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L143)* +*Defined in [index.ts:143](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L143)* ___ @@ -1154,7 +1154,7 @@ ___ • **Swap1**: = "SWAP1" -*Defined in [index.ts:253](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L253)* +*Defined in [index.ts:253](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L253)* ___ @@ -1162,7 +1162,7 @@ ___ • **Swap10**: = "SWAP10" -*Defined in [index.ts:262](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L262)* +*Defined in [index.ts:262](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L262)* ___ @@ -1170,7 +1170,7 @@ ___ • **Swap11**: = "SWAP11" -*Defined in [index.ts:263](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L263)* +*Defined in [index.ts:263](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L263)* ___ @@ -1178,7 +1178,7 @@ ___ • **Swap12**: = "SWAP12" -*Defined in [index.ts:264](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L264)* +*Defined in [index.ts:264](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L264)* ___ @@ -1186,7 +1186,7 @@ ___ • **Swap13**: = "SWAP13" -*Defined in [index.ts:265](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L265)* +*Defined in [index.ts:265](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L265)* ___ @@ -1194,7 +1194,7 @@ ___ • **Swap14**: = "SWAP14" -*Defined in [index.ts:266](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L266)* +*Defined in [index.ts:266](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L266)* ___ @@ -1202,7 +1202,7 @@ ___ • **Swap15**: = "SWAP15" -*Defined in [index.ts:267](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L267)* +*Defined in [index.ts:267](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L267)* ___ @@ -1210,7 +1210,7 @@ ___ • **Swap16**: = "SWAP16" -*Defined in [index.ts:268](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L268)* +*Defined in [index.ts:268](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L268)* ___ @@ -1218,7 +1218,7 @@ ___ • **Swap2**: = "SWAP2" -*Defined in [index.ts:254](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L254)* +*Defined in [index.ts:254](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L254)* ___ @@ -1226,7 +1226,7 @@ ___ • **Swap3**: = "SWAP3" -*Defined in [index.ts:255](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L255)* +*Defined in [index.ts:255](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L255)* ___ @@ -1234,7 +1234,7 @@ ___ • **Swap4**: = "SWAP4" -*Defined in [index.ts:256](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L256)* +*Defined in [index.ts:256](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L256)* ___ @@ -1242,7 +1242,7 @@ ___ • **Swap5**: = "SWAP5" -*Defined in [index.ts:257](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L257)* +*Defined in [index.ts:257](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L257)* ___ @@ -1250,7 +1250,7 @@ ___ • **Swap6**: = "SWAP6" -*Defined in [index.ts:258](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L258)* +*Defined in [index.ts:258](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L258)* ___ @@ -1258,7 +1258,7 @@ ___ • **Swap7**: = "SWAP7" -*Defined in [index.ts:259](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L259)* +*Defined in [index.ts:259](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L259)* ___ @@ -1266,7 +1266,7 @@ ___ • **Swap8**: = "SWAP8" -*Defined in [index.ts:260](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L260)* +*Defined in [index.ts:260](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L260)* ___ @@ -1274,7 +1274,7 @@ ___ • **Swap9**: = "SWAP9" -*Defined in [index.ts:261](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L261)* +*Defined in [index.ts:261](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L261)* ___ @@ -1282,7 +1282,7 @@ ___ • **TimeStamp**: = "TimeStamp" -*Defined in [index.ts:185](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L185)* +*Defined in [index.ts:185](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L185)* ___ @@ -1290,7 +1290,7 @@ ___ • **Xor**: = "XOR" -*Defined in [index.ts:161](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L161)* +*Defined in [index.ts:161](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L161)*
@@ -1316,7 +1316,7 @@ ___ • **Address**: = "address" -*Defined in [index.ts:489](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L489)* +*Defined in [index.ts:489](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L489)* ___ @@ -1324,7 +1324,7 @@ ___ • **Bool**: = "bool" -*Defined in [index.ts:490](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L490)* +*Defined in [index.ts:490](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L490)* ___ @@ -1332,7 +1332,7 @@ ___ • **Bytes**: = "bytes" -*Defined in [index.ts:491](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L491)* +*Defined in [index.ts:491](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L491)* ___ @@ -1340,7 +1340,7 @@ ___ • **Int**: = "int" -*Defined in [index.ts:492](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L492)* +*Defined in [index.ts:492](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L492)* ___ @@ -1348,7 +1348,7 @@ ___ • **String**: = "string" -*Defined in [index.ts:493](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L493)* +*Defined in [index.ts:493](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L493)* ___ @@ -1356,7 +1356,7 @@ ___ • **Tuple**: = "tuple" -*Defined in [index.ts:494](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L494)* +*Defined in [index.ts:494](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L494)* ___ @@ -1364,7 +1364,7 @@ ___ • **Uint**: = "uint" -*Defined in [index.ts:497](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L497)* +*Defined in [index.ts:497](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L497)* ___ @@ -1372,7 +1372,7 @@ ___ • **Uint256**: = "uint256" -*Defined in [index.ts:495](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L495)* +*Defined in [index.ts:495](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L495)* ___ @@ -1380,7 +1380,7 @@ ___ • **Uint8**: = "uint8" -*Defined in [index.ts:496](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L496)* +*Defined in [index.ts:496](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L496)*
@@ -1422,7 +1422,7 @@ ___ • **difficulty**: *`BigNumber`* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L350)* ___ @@ -1430,7 +1430,7 @@ ___ • **extraData**: *string* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L352)* ___ @@ -1438,7 +1438,7 @@ ___ • **gasLimit**: *number* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L354)* ___ @@ -1446,7 +1446,7 @@ ___ • **gasUsed**: *number* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L355)* ___ @@ -1454,7 +1454,7 @@ ___ • **hash**: *string | null* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L342)* ___ @@ -1462,7 +1462,7 @@ ___ • **logsBloom**: *string | null* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L346)* ___ @@ -1470,7 +1470,7 @@ ___ • **miner**: *string* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L349)* ___ @@ -1478,7 +1478,7 @@ ___ • **nonce**: *string | null* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L344)* ___ @@ -1486,7 +1486,7 @@ ___ • **number**: *number | null* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L341)* ___ @@ -1494,7 +1494,7 @@ ___ • **parentHash**: *string* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L343)* ___ @@ -1502,7 +1502,7 @@ ___ • **sha3Uncles**: *string* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L345)* ___ @@ -1510,7 +1510,7 @@ ___ • **size**: *number* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L353)* ___ @@ -1518,7 +1518,7 @@ ___ • **stateRoot**: *string* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L348)* ___ @@ -1526,7 +1526,7 @@ ___ • **timestamp**: *number* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L356)* ___ @@ -1534,7 +1534,7 @@ ___ • **totalDifficulty**: *`BigNumber`* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L351)* ___ @@ -1542,7 +1542,7 @@ ___ • **transactionsRoot**: *string* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L347)* ___ @@ -1550,7 +1550,7 @@ ___ • **uncles**: *string[]* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L357)*
@@ -1593,7 +1593,7 @@ ___ *Inherited from [AbstractBlock](#difficulty)* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L350)* ___ @@ -1603,7 +1603,7 @@ ___ *Inherited from [AbstractBlock](#extradata)* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L352)* ___ @@ -1613,7 +1613,7 @@ ___ *Inherited from [AbstractBlock](#gaslimit)* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L354)* ___ @@ -1623,7 +1623,7 @@ ___ *Inherited from [AbstractBlock](#gasused)* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L355)* ___ @@ -1633,7 +1633,7 @@ ___ *Inherited from [AbstractBlock](#hash)* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L342)* ___ @@ -1643,7 +1643,7 @@ ___ *Inherited from [AbstractBlock](#logsbloom)* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L346)* ___ @@ -1653,7 +1653,7 @@ ___ *Inherited from [AbstractBlock](#miner)* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L349)* ___ @@ -1663,7 +1663,7 @@ ___ *Inherited from [AbstractBlock](#nonce)* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L344)* ___ @@ -1673,7 +1673,7 @@ ___ *Inherited from [AbstractBlock](#number)* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L341)* ___ @@ -1683,7 +1683,7 @@ ___ *Inherited from [AbstractBlock](#parenthash)* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L343)* ___ @@ -1693,7 +1693,7 @@ ___ *Inherited from [AbstractBlock](#sha3uncles)* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L345)* ___ @@ -1703,7 +1703,7 @@ ___ *Inherited from [AbstractBlock](#size)* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L353)* ___ @@ -1713,7 +1713,7 @@ ___ *Inherited from [AbstractBlock](#stateroot)* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L348)* ___ @@ -1723,7 +1723,7 @@ ___ *Inherited from [AbstractBlock](#timestamp)* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L356)* ___ @@ -1733,7 +1733,7 @@ ___ *Inherited from [AbstractBlock](#totaldifficulty)* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L351)* ___ @@ -1741,7 +1741,7 @@ ___ • **transactions**: *string[]* -*Defined in [index.ts:361](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L361)* +*Defined in [index.ts:361](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L361)* ___ @@ -1751,7 +1751,7 @@ ___ *Inherited from [AbstractBlock](#transactionsroot)* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L347)* ___ @@ -1761,7 +1761,7 @@ ___ *Inherited from [AbstractBlock](#uncles)* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L357)*
@@ -1804,7 +1804,7 @@ ___ *Inherited from [AbstractBlock](#difficulty)* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L350)* ___ @@ -1814,7 +1814,7 @@ ___ *Inherited from [AbstractBlock](#extradata)* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L352)* ___ @@ -1824,7 +1824,7 @@ ___ *Inherited from [AbstractBlock](#gaslimit)* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L354)* ___ @@ -1834,7 +1834,7 @@ ___ *Inherited from [AbstractBlock](#gasused)* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L355)* ___ @@ -1844,7 +1844,7 @@ ___ *Inherited from [AbstractBlock](#hash)* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L342)* ___ @@ -1854,7 +1854,7 @@ ___ *Inherited from [AbstractBlock](#logsbloom)* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L346)* ___ @@ -1864,7 +1864,7 @@ ___ *Inherited from [AbstractBlock](#miner)* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L349)* ___ @@ -1874,7 +1874,7 @@ ___ *Inherited from [AbstractBlock](#nonce)* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L344)* ___ @@ -1884,7 +1884,7 @@ ___ *Inherited from [AbstractBlock](#number)* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L341)* ___ @@ -1894,7 +1894,7 @@ ___ *Inherited from [AbstractBlock](#parenthash)* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L343)* ___ @@ -1904,7 +1904,7 @@ ___ *Inherited from [AbstractBlock](#sha3uncles)* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L345)* ___ @@ -1914,7 +1914,7 @@ ___ *Inherited from [AbstractBlock](#size)* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L353)* ___ @@ -1924,7 +1924,7 @@ ___ *Inherited from [AbstractBlock](#stateroot)* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L348)* ___ @@ -1934,7 +1934,7 @@ ___ *Inherited from [AbstractBlock](#timestamp)* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L356)* ___ @@ -1944,7 +1944,7 @@ ___ *Inherited from [AbstractBlock](#totaldifficulty)* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L351)* ___ @@ -1952,7 +1952,7 @@ ___ • **transactions**: *[Transaction](#class-transaction)[]* -*Defined in [index.ts:365](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L365)* +*Defined in [index.ts:365](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L365)* ___ @@ -1962,7 +1962,7 @@ ___ *Inherited from [AbstractBlock](#transactionsroot)* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L347)* ___ @@ -1972,7 +1972,7 @@ ___ *Inherited from [AbstractBlock](#uncles)* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L357)*
@@ -2004,7 +2004,7 @@ ___ *Inherited from [CallTxDataBase](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L387)* ___ @@ -2012,7 +2012,7 @@ ___ • **from**? : *undefined | string* -*Defined in [index.ts:396](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L396)* +*Defined in [index.ts:396](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L396)* ___ @@ -2022,7 +2022,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L385)* ___ @@ -2032,7 +2032,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L386)* ___ @@ -2042,7 +2042,7 @@ ___ *Inherited from [CallTxDataBase](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L388)* ___ @@ -2052,7 +2052,7 @@ ___ *Inherited from [CallTxDataBase](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L383)* ___ @@ -2062,7 +2062,7 @@ ___ *Inherited from [CallTxDataBase](#optional-value)* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L384)*
@@ -2093,7 +2093,7 @@ ___ • **data**? : *undefined | string* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L387)* ___ @@ -2101,7 +2101,7 @@ ___ • **gas**? : *number | string | `BigNumber`* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L385)* ___ @@ -2109,7 +2109,7 @@ ___ • **gasPrice**? : *number | string | `BigNumber`* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L386)* ___ @@ -2117,7 +2117,7 @@ ___ • **nonce**? : *undefined | number* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L388)* ___ @@ -2125,7 +2125,7 @@ ___ • **to**? : *undefined | string* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L383)* ___ @@ -2133,7 +2133,7 @@ ___ • **value**? : *number | string | `BigNumber`* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L384)*
@@ -2173,7 +2173,7 @@ contracts to compile with the the version specified here. • **artifactsDir**? : *undefined | string* -*Defined in [index.ts:723](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L723)* +*Defined in [index.ts:723](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L723)* ___ @@ -2181,7 +2181,7 @@ ___ • **compilerSettings**? : *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:724](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L724)* +*Defined in [index.ts:724](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L724)* ___ @@ -2189,7 +2189,7 @@ ___ • **contracts**? : *string[] | "*"* -*Defined in [index.ts:725](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L725)* +*Defined in [index.ts:725](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L725)* ___ @@ -2197,7 +2197,7 @@ ___ • **contractsDir**? : *undefined | string* -*Defined in [index.ts:722](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L722)* +*Defined in [index.ts:722](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L722)* ___ @@ -2205,7 +2205,7 @@ ___ • **isOfflineMode**? : *undefined | false | true* -*Defined in [index.ts:727](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L727)* +*Defined in [index.ts:727](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L727)* ___ @@ -2213,7 +2213,7 @@ ___ • **solcVersion**? : *undefined | string* -*Defined in [index.ts:728](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L728)* +*Defined in [index.ts:728](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L728)* ___ @@ -2221,7 +2221,7 @@ ___ • **useDockerisedSolc**? : *undefined | false | true* -*Defined in [index.ts:726](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L726)* +*Defined in [index.ts:726](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L726)*
@@ -2245,7 +2245,7 @@ ___ • **name**: *"solc"* -*Defined in [index.ts:647](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L647)* +*Defined in [index.ts:647](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L647)* ___ @@ -2253,7 +2253,7 @@ ___ • **settings**: *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:649](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L649)* +*Defined in [index.ts:649](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L649)* ___ @@ -2261,7 +2261,7 @@ ___ • **version**: *string* -*Defined in [index.ts:648](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L648)* +*Defined in [index.ts:648](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L648)*
@@ -2288,7 +2288,7 @@ ___ • **evmVersion**? : *"homestead" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople"* -*Defined in [index.ts:681](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L681)* +*Defined in [index.ts:681](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L681)* ___ @@ -2296,7 +2296,7 @@ ___ • **libraries**? : *undefined | object* -*Defined in [index.ts:683](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L683)* +*Defined in [index.ts:683](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L683)* ___ @@ -2304,7 +2304,7 @@ ___ • **metadata**? : *[CompilerSettingsMetadata](#class-compilersettingsmetadata)* -*Defined in [index.ts:682](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L682)* +*Defined in [index.ts:682](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L682)* ___ @@ -2312,7 +2312,7 @@ ___ • **optimizer**? : *[OptimizerSettings](#class-optimizersettings)* -*Defined in [index.ts:680](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L680)* +*Defined in [index.ts:680](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L680)* ___ @@ -2320,7 +2320,7 @@ ___ • **outputSelection**: *object* -*Defined in [index.ts:688](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L688)* +*Defined in [index.ts:688](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L688)* #### Type declaration: @@ -2334,7 +2334,7 @@ ___ • **remappings**? : *string[]* -*Defined in [index.ts:679](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L679)* +*Defined in [index.ts:679](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L679)*
@@ -2356,7 +2356,7 @@ ___ • **useLiteralContent**: *true* -*Defined in [index.ts:696](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L696)* +*Defined in [index.ts:696](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L696)*
@@ -2381,7 +2381,7 @@ ___ • **inputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L103)* +*Defined in [index.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L103)* ___ @@ -2389,7 +2389,7 @@ ___ • **payable**: *boolean* -*Defined in [index.ts:104](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L104)* +*Defined in [index.ts:104](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L104)* ___ @@ -2397,7 +2397,7 @@ ___ • **stateMutability**: *[ConstructorStateMutability](#constructorstatemutability)* -*Defined in [index.ts:105](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L105)* +*Defined in [index.ts:105](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L105)* ___ @@ -2405,7 +2405,7 @@ ___ • **type**: *string* -*Defined in [index.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L102)* +*Defined in [index.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L102)*
@@ -2450,7 +2450,7 @@ If any of the sources change, the hash would change notifying us that a re-compi *Inherited from [ContractVersionData](#compiler)* -*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L633)* +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L633)* ___ @@ -2460,7 +2460,7 @@ ___ *Inherited from [ContractVersionData](#compileroutput)* -*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L643)* +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L643)* ___ @@ -2468,7 +2468,7 @@ ___ • **contractName**: *string* -*Defined in [index.ts:667](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L667)* +*Defined in [index.ts:667](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L667)* ___ @@ -2476,7 +2476,7 @@ ___ • **networks**: *[ContractNetworks](#class-contractnetworks)* -*Defined in [index.ts:668](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L668)* +*Defined in [index.ts:668](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L668)* ___ @@ -2484,7 +2484,7 @@ ___ • **schemaVersion**: *string* -*Defined in [index.ts:666](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L666)* +*Defined in [index.ts:666](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L666)* ___ @@ -2494,7 +2494,7 @@ ___ *Inherited from [ContractVersionData](#sourcecodes)* -*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L639)* +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L639)* #### Type declaration: @@ -2508,7 +2508,7 @@ ___ *Inherited from [ContractVersionData](#sourcetreehashhex)* -*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L642)* +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L642)* ___ @@ -2518,7 +2518,7 @@ ___ *Inherited from [ContractVersionData](#sources)* -*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L634)* +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L634)* #### Type declaration: @@ -2546,7 +2546,7 @@ ___ • **address**: *string* -*Defined in [index.ts:546](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L546)* +*Defined in [index.ts:546](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L546)* ___ @@ -2554,7 +2554,7 @@ ___ • **constructorArgs**: *string* -*Defined in [index.ts:550](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L550)* +*Defined in [index.ts:550](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L550)* ___ @@ -2562,7 +2562,7 @@ ___ • **links**: *object* -*Defined in [index.ts:547](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L547)* +*Defined in [index.ts:547](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L547)* #### Type declaration: @@ -2606,7 +2606,7 @@ ___ • **compiler**: *[CompilerOpts](#class-compileropts)* -*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L633)* +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L633)* ___ @@ -2614,7 +2614,7 @@ ___ • **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)* -*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L643)* +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L643)* ___ @@ -2622,7 +2622,7 @@ ___ • **sourceCodes**: *object* -*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L639)* +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L639)* #### Type declaration: @@ -2634,7 +2634,7 @@ ___ • **sourceTreeHashHex**: *string* -*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L642)* +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L642)* ___ @@ -2642,7 +2642,7 @@ ___ • **sources**: *object* -*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L634)* +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L634)* #### Type declaration: @@ -2674,7 +2674,7 @@ ___ • **components**? : *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L131)* +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L131)* ___ @@ -2682,7 +2682,7 @@ ___ • **name**: *string* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L129)* ___ @@ -2690,7 +2690,7 @@ ___ • **type**: *string* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L130)*
@@ -2745,7 +2745,7 @@ ___ *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* ___ @@ -2753,7 +2753,7 @@ ___ • **args**: *`A`* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L411)* ___ @@ -2763,7 +2763,7 @@ ___ *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* ___ @@ -2773,7 +2773,7 @@ ___ *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* ___ @@ -2783,7 +2783,7 @@ ___ *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* ___ @@ -2791,7 +2791,7 @@ ___ • **event**: *string* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L410)* ___ @@ -2801,7 +2801,7 @@ ___ *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* ___ @@ -2811,7 +2811,7 @@ ___ *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* ___ @@ -2821,7 +2821,7 @@ ___ *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* ___ @@ -2831,7 +2831,7 @@ ___ *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)*
@@ -2871,7 +2871,7 @@ ___ *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* ___ @@ -2881,7 +2881,7 @@ ___ *Inherited from [DecodedLogEntry](#args)* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L411)* ___ @@ -2891,7 +2891,7 @@ ___ *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* ___ @@ -2901,7 +2901,7 @@ ___ *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* ___ @@ -2911,7 +2911,7 @@ ___ *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* ___ @@ -2921,7 +2921,7 @@ ___ *Inherited from [DecodedLogEntry](#event)* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L410)* ___ @@ -2931,7 +2931,7 @@ ___ *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* ___ @@ -2939,7 +2939,7 @@ ___ • **removed**: *boolean* -*Defined in [index.ts:415](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L415)* +*Defined in [index.ts:415](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L415)* ___ @@ -2949,7 +2949,7 @@ ___ *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* ___ @@ -2959,7 +2959,7 @@ ___ *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* ___ @@ -2969,7 +2969,7 @@ ___ *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)*
@@ -2993,7 +2993,7 @@ ___ • **author**? : *undefined | string* -*Defined in [index.ts:620](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L620)* +*Defined in [index.ts:620](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L620)* ___ @@ -3001,7 +3001,7 @@ ___ • **methods**: *object* -*Defined in [index.ts:621](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L621)* +*Defined in [index.ts:621](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L621)* #### Type declaration: @@ -3013,7 +3013,7 @@ ___ • **title**? : *undefined | string* -*Defined in [index.ts:619](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L619)* +*Defined in [index.ts:619](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L619)*
@@ -3040,7 +3040,7 @@ ___ • **isEIP1193**: *boolean* -*Defined in [index.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L73)* +*Defined in [index.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L73)* ## Methods @@ -3048,7 +3048,7 @@ ___ ▸ **on**(`event`: [EIP1193Event](#eip1193event), `listener`: function): *this* -*Defined in [index.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L75)* +*Defined in [index.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L75)* **Parameters:** @@ -3072,7 +3072,7 @@ ___ ▸ **send**(`method`: string, `params?`: any[]): *`Promise`* -*Defined in [index.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L74)* +*Defined in [index.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L74)* **Parameters:** @@ -3106,7 +3106,7 @@ Name | Type | • **anonymous**: *boolean* -*Defined in [index.ts:125](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L125)* +*Defined in [index.ts:125](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L125)* ___ @@ -3114,7 +3114,7 @@ ___ • **inputs**: *[EventParameter](#class-eventparameter)[]* -*Defined in [index.ts:124](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L124)* +*Defined in [index.ts:124](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L124)* ___ @@ -3122,7 +3122,7 @@ ___ • **name**: *string* -*Defined in [index.ts:123](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L123)* +*Defined in [index.ts:123](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L123)* ___ @@ -3130,7 +3130,7 @@ ___ • **type**: *string* -*Defined in [index.ts:122](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L122)* +*Defined in [index.ts:122](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L122)*
@@ -3159,7 +3159,7 @@ ___ *Inherited from [DataItem](#optional-components)* -*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L131)* +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L131)* ___ @@ -3167,7 +3167,7 @@ ___ • **indexed**: *boolean* -*Defined in [index.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L116)* +*Defined in [index.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L116)* ___ @@ -3177,7 +3177,7 @@ ___ *Inherited from [DataItem](#name)* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L129)* ___ @@ -3187,7 +3187,7 @@ ___ *Inherited from [DataItem](#type)* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L130)*
@@ -3210,7 +3210,7 @@ ___ • **object**: *string* -*Defined in [index.ts:614](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L614)* +*Defined in [index.ts:614](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L614)* ___ @@ -3218,7 +3218,7 @@ ___ • **sourceMap**: *string* -*Defined in [index.ts:615](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L615)* +*Defined in [index.ts:615](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L615)*
@@ -3241,7 +3241,7 @@ ___ • **bytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* -*Defined in [index.ts:609](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L609)* +*Defined in [index.ts:609](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L609)* ___ @@ -3249,7 +3249,7 @@ ___ • **deployedBytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* -*Defined in [index.ts:610](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L610)* +*Defined in [index.ts:610](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L610)*
@@ -3272,7 +3272,7 @@ ___ • **payable**: *boolean* -*Defined in [index.ts:112](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L112)* +*Defined in [index.ts:112](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L112)* ___ @@ -3280,7 +3280,7 @@ ___ • **type**: *string* -*Defined in [index.ts:111](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L111)* +*Defined in [index.ts:111](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L111)*
@@ -3306,7 +3306,7 @@ ___ • **address**? : *undefined | string* -*Defined in [index.ts:403](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L403)* +*Defined in [index.ts:403](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L403)* ___ @@ -3314,7 +3314,7 @@ ___ • **blockHash**? : *undefined | string* -*Defined in [index.ts:402](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L402)* +*Defined in [index.ts:402](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L402)* ___ @@ -3322,7 +3322,7 @@ ___ • **fromBlock**? : *number | string* -*Defined in [index.ts:400](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L400)* +*Defined in [index.ts:400](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L400)* ___ @@ -3330,7 +3330,7 @@ ___ • **toBlock**? : *number | string* -*Defined in [index.ts:401](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L401)* +*Defined in [index.ts:401](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L401)* ___ @@ -3338,7 +3338,7 @@ ___ • **topics**? : *[LogTopic](#logtopic)[]* -*Defined in [index.ts:404](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L404)* +*Defined in [index.ts:404](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L404)*
@@ -3360,7 +3360,7 @@ ___ ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L14)* +*Defined in [index.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L14)* **Parameters:** @@ -3393,7 +3393,7 @@ Name | Type | • **name**: *"solc"* -*Defined in [index.ts:672](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L672)* +*Defined in [index.ts:672](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L672)* ___ @@ -3401,7 +3401,7 @@ ___ • **settings**: *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:674](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L674)* +*Defined in [index.ts:674](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L674)* ___ @@ -3409,7 +3409,7 @@ ___ • **version**: *string* -*Defined in [index.ts:673](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L673)* +*Defined in [index.ts:673](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L673)*
@@ -3434,7 +3434,7 @@ ___ • **id**: *number* -*Defined in [index.ts:324](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L324)* +*Defined in [index.ts:324](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L324)* ___ @@ -3442,7 +3442,7 @@ ___ • **jsonrpc**: *string* -*Defined in [index.ts:325](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L325)* +*Defined in [index.ts:325](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L325)* ___ @@ -3450,7 +3450,7 @@ ___ • **method**: *string* -*Defined in [index.ts:323](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L323)* +*Defined in [index.ts:323](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L323)* ___ @@ -3458,7 +3458,7 @@ ___ • **params**: *any[]* -*Defined in [index.ts:322](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L322)* +*Defined in [index.ts:322](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L322)*
@@ -3481,7 +3481,7 @@ ___ • **code**: *number* -*Defined in [index.ts:330](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L330)* +*Defined in [index.ts:330](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L330)* ___ @@ -3489,7 +3489,7 @@ ___ • **message**: *string* -*Defined in [index.ts:329](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L329)* +*Defined in [index.ts:329](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L329)*
@@ -3514,7 +3514,7 @@ ___ • **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)* -*Defined in [index.ts:337](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L337)* +*Defined in [index.ts:337](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L337)* ___ @@ -3522,7 +3522,7 @@ ___ • **id**: *number* -*Defined in [index.ts:335](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L335)* +*Defined in [index.ts:335](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L335)* ___ @@ -3530,7 +3530,7 @@ ___ • **jsonrpc**: *string* -*Defined in [index.ts:336](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L336)* +*Defined in [index.ts:336](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L336)* ___ @@ -3538,7 +3538,7 @@ ___ • **result**: *any* -*Defined in [index.ts:334](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L334)* +*Defined in [index.ts:334](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L334)*
@@ -3571,7 +3571,7 @@ ___ • **address**: *string* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* ___ @@ -3579,7 +3579,7 @@ ___ • **blockHash**: *string | null* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* ___ @@ -3587,7 +3587,7 @@ ___ • **blockNumber**: *number | null* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* ___ @@ -3595,7 +3595,7 @@ ___ • **data**: *string* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* ___ @@ -3603,7 +3603,7 @@ ___ • **logIndex**: *number | null* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* ___ @@ -3611,7 +3611,7 @@ ___ • **topics**: *string[]* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* ___ @@ -3619,7 +3619,7 @@ ___ • **transactionHash**: *string* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* ___ @@ -3627,7 +3627,7 @@ ___ • **transactionIndex**: *number | null* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)*
@@ -3661,7 +3661,7 @@ ___ *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* ___ @@ -3671,7 +3671,7 @@ ___ *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* ___ @@ -3681,7 +3681,7 @@ ___ *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* ___ @@ -3691,7 +3691,7 @@ ___ *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* ___ @@ -3701,7 +3701,7 @@ ___ *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* ___ @@ -3709,7 +3709,7 @@ ___ • **removed**: *boolean* -*Defined in [index.ts:419](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L419)* +*Defined in [index.ts:419](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L419)* ___ @@ -3719,7 +3719,7 @@ ___ *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* ___ @@ -3729,7 +3729,7 @@ ___ *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* ___ @@ -3739,7 +3739,7 @@ ___ *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)*
@@ -3778,7 +3778,7 @@ ___ *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* ___ @@ -3788,7 +3788,7 @@ ___ *Inherited from [DecodedLogEntry](#args)* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L411)* ___ @@ -3798,7 +3798,7 @@ ___ *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* ___ @@ -3808,7 +3808,7 @@ ___ *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* ___ @@ -3818,7 +3818,7 @@ ___ *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* ___ @@ -3828,7 +3828,7 @@ ___ *Inherited from [DecodedLogEntry](#event)* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L410)* ___ @@ -3838,7 +3838,7 @@ ___ *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* ___ @@ -3848,7 +3848,7 @@ ___ *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* ___ @@ -3858,7 +3858,7 @@ ___ *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* ___ @@ -3868,7 +3868,7 @@ ___ *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)*
@@ -3896,7 +3896,7 @@ ___ • **constant**: *boolean* -*Defined in [index.ts:94](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L94)* +*Defined in [index.ts:94](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L94)* ___ @@ -3904,7 +3904,7 @@ ___ • **inputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L92)* +*Defined in [index.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L92)* ___ @@ -3912,7 +3912,7 @@ ___ • **name**: *string* -*Defined in [index.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L91)* +*Defined in [index.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L91)* ___ @@ -3920,7 +3920,7 @@ ___ • **outputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:93](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L93)* +*Defined in [index.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L93)* ___ @@ -3928,7 +3928,7 @@ ___ • **payable**: *boolean* -*Defined in [index.ts:96](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L96)* +*Defined in [index.ts:96](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L96)* ___ @@ -3936,7 +3936,7 @@ ___ • **stateMutability**: *[StateMutability](#statemutability)* -*Defined in [index.ts:95](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L95)* +*Defined in [index.ts:95](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L95)* ___ @@ -3944,7 +3944,7 @@ ___ • **type**: *string* -*Defined in [index.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L90)* +*Defined in [index.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L90)*
@@ -3967,7 +3967,7 @@ ___ • **enabled**: *boolean* -*Defined in [index.ts:700](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L700)* +*Defined in [index.ts:700](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L700)* ___ @@ -3975,7 +3975,7 @@ ___ • **runs**? : *undefined | number* -*Defined in [index.ts:701](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L701)* +*Defined in [index.ts:701](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L701)*
@@ -3997,7 +3997,7 @@ ___ ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L20)* +*Defined in [index.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L20)* **Parameters:** @@ -4035,7 +4035,7 @@ Name | Type | • **address**: *string* -*Defined in [index.ts:483](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L483)* +*Defined in [index.ts:483](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L483)* ___ @@ -4043,7 +4043,7 @@ ___ • **blockHash**: *string | null* -*Defined in [index.ts:481](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L481)* +*Defined in [index.ts:481](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L481)* ___ @@ -4051,7 +4051,7 @@ ___ • **blockNumber**: *string | null* -*Defined in [index.ts:482](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L482)* +*Defined in [index.ts:482](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L482)* ___ @@ -4059,7 +4059,7 @@ ___ • **data**: *string* -*Defined in [index.ts:484](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L484)* +*Defined in [index.ts:484](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L484)* ___ @@ -4067,7 +4067,7 @@ ___ • **logIndex**: *string | null* -*Defined in [index.ts:478](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L478)* +*Defined in [index.ts:478](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L478)* ___ @@ -4075,7 +4075,7 @@ ___ • **topics**: *string[]* -*Defined in [index.ts:485](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L485)* +*Defined in [index.ts:485](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L485)* ___ @@ -4083,7 +4083,7 @@ ___ • **transactionHash**: *string* -*Defined in [index.ts:480](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L480)* +*Defined in [index.ts:480](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L480)* ___ @@ -4091,7 +4091,7 @@ ___ • **transactionIndex**: *string | null* -*Defined in [index.ts:479](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L479)* +*Defined in [index.ts:479](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L479)*
@@ -4118,7 +4118,7 @@ ___ • **component**: *"general" | "ewasm"* -*Defined in [index.ts:596](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L596)* +*Defined in [index.ts:596](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L596)* ___ @@ -4126,7 +4126,7 @@ ___ • **formattedMessage**? : *undefined | string* -*Defined in [index.ts:599](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L599)* +*Defined in [index.ts:599](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L599)* ___ @@ -4134,7 +4134,7 @@ ___ • **message**: *string* -*Defined in [index.ts:598](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L598)* +*Defined in [index.ts:598](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L598)* ___ @@ -4142,7 +4142,7 @@ ___ • **severity**: *[ErrorSeverity](#errorseverity)* -*Defined in [index.ts:597](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L597)* +*Defined in [index.ts:597](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L597)* ___ @@ -4150,7 +4150,7 @@ ___ • **sourceLocation**? : *[SourceLocation](#class-sourcelocation)* -*Defined in [index.ts:594](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L594)* +*Defined in [index.ts:594](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L594)* ___ @@ -4158,7 +4158,7 @@ ___ • **type**: *[ErrorType](#errortype)* -*Defined in [index.ts:595](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L595)* +*Defined in [index.ts:595](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L595)*
@@ -4180,7 +4180,7 @@ ___ • **id**: *number* -*Defined in [index.ts:705](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L705)* +*Defined in [index.ts:705](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L705)*
@@ -4204,7 +4204,7 @@ ___ • **end**: *number* -*Defined in [index.ts:605](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L605)* +*Defined in [index.ts:605](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L605)* ___ @@ -4212,7 +4212,7 @@ ___ • **file**: *string* -*Defined in [index.ts:603](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L603)* +*Defined in [index.ts:603](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L603)* ___ @@ -4220,7 +4220,7 @@ ___ • **start**: *number* -*Defined in [index.ts:604](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L604)* +*Defined in [index.ts:604](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L604)*
@@ -4244,7 +4244,7 @@ ___ • **abi**: *[ContractAbi](#contractabi)* -*Defined in [index.ts:556](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L556)* +*Defined in [index.ts:556](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L556)* ___ @@ -4252,7 +4252,7 @@ ___ • **devdoc**? : *[DevdocOutput](#class-devdocoutput)* -*Defined in [index.ts:558](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L558)* +*Defined in [index.ts:558](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L558)* ___ @@ -4260,7 +4260,7 @@ ___ • **evm**: *[EvmOutput](#class-evmoutput)* -*Defined in [index.ts:557](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L557)* +*Defined in [index.ts:557](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L557)*
@@ -4284,7 +4284,7 @@ ___ • **contracts**: *object* -*Defined in [index.ts:570](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L570)* +*Defined in [index.ts:570](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L570)* #### Type declaration: @@ -4298,7 +4298,7 @@ ___ • **errors**: *[SolcError](#class-solcerror)[]* -*Defined in [index.ts:562](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L562)* +*Defined in [index.ts:562](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L562)* ___ @@ -4306,7 +4306,7 @@ ___ • **sources**: *object* -*Defined in [index.ts:563](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L563)* +*Defined in [index.ts:563](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L563)* #### Type declaration: @@ -4340,7 +4340,7 @@ ___ • **depth**: *number* -*Defined in [index.ts:287](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L287)* +*Defined in [index.ts:287](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L287)* ___ @@ -4348,7 +4348,7 @@ ___ • **error**: *string* -*Defined in [index.ts:288](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L288)* +*Defined in [index.ts:288](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L288)* ___ @@ -4356,7 +4356,7 @@ ___ • **gas**: *number* -*Defined in [index.ts:289](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L289)* +*Defined in [index.ts:289](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L289)* ___ @@ -4364,7 +4364,7 @@ ___ • **gasCost**: *number* -*Defined in [index.ts:290](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L290)* +*Defined in [index.ts:290](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L290)* ___ @@ -4372,7 +4372,7 @@ ___ • **memory**: *string[]* -*Defined in [index.ts:291](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L291)* +*Defined in [index.ts:291](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L291)* ___ @@ -4380,7 +4380,7 @@ ___ • **op**: *[OpCode](#enumeration-opcode)* -*Defined in [index.ts:292](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L292)* +*Defined in [index.ts:292](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L292)* ___ @@ -4388,7 +4388,7 @@ ___ • **pc**: *number* -*Defined in [index.ts:293](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L293)* +*Defined in [index.ts:293](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L293)* ___ @@ -4396,7 +4396,7 @@ ___ • **stack**: *string[]* -*Defined in [index.ts:294](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L294)* +*Defined in [index.ts:294](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L294)* ___ @@ -4404,7 +4404,7 @@ ___ • **storage**: *object* -*Defined in [index.ts:295](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L295)* +*Defined in [index.ts:295](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L295)* #### Type declaration: @@ -4434,7 +4434,7 @@ ___ • **disableMemory**? : *undefined | false | true* -*Defined in [index.ts:510](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L510)* +*Defined in [index.ts:510](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L510)* ___ @@ -4442,7 +4442,7 @@ ___ • **disableStack**? : *undefined | false | true* -*Defined in [index.ts:511](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L511)* +*Defined in [index.ts:511](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L511)* ___ @@ -4450,7 +4450,7 @@ ___ • **disableStorage**? : *undefined | false | true* -*Defined in [index.ts:512](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L512)* +*Defined in [index.ts:512](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L512)* ___ @@ -4458,7 +4458,7 @@ ___ • **timeout**? : *undefined | string* -*Defined in [index.ts:514](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L514)* +*Defined in [index.ts:514](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L514)* ___ @@ -4466,7 +4466,7 @@ ___ • **tracer**? : *undefined | string* -*Defined in [index.ts:513](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L513)* +*Defined in [index.ts:513](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L513)*
@@ -4498,7 +4498,7 @@ ___ • **blockHash**: *string | null* -*Defined in [index.ts:371](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L371)* +*Defined in [index.ts:371](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L371)* ___ @@ -4506,7 +4506,7 @@ ___ • **blockNumber**: *number | null* -*Defined in [index.ts:372](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L372)* +*Defined in [index.ts:372](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L372)* ___ @@ -4514,7 +4514,7 @@ ___ • **from**: *string* -*Defined in [index.ts:374](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L374)* +*Defined in [index.ts:374](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L374)* ___ @@ -4522,7 +4522,7 @@ ___ • **gas**: *number* -*Defined in [index.ts:378](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L378)* +*Defined in [index.ts:378](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L378)* ___ @@ -4530,7 +4530,7 @@ ___ • **gasPrice**: *`BigNumber`* -*Defined in [index.ts:377](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L377)* +*Defined in [index.ts:377](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L377)* ___ @@ -4538,7 +4538,7 @@ ___ • **hash**: *string* -*Defined in [index.ts:369](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L369)* +*Defined in [index.ts:369](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L369)* ___ @@ -4546,7 +4546,7 @@ ___ • **input**: *string* -*Defined in [index.ts:379](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L379)* +*Defined in [index.ts:379](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L379)* ___ @@ -4554,7 +4554,7 @@ ___ • **nonce**: *number* -*Defined in [index.ts:370](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L370)* +*Defined in [index.ts:370](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L370)* ___ @@ -4562,7 +4562,7 @@ ___ • **to**: *string | null* -*Defined in [index.ts:375](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L375)* +*Defined in [index.ts:375](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L375)* ___ @@ -4570,7 +4570,7 @@ ___ • **transactionIndex**: *number | null* -*Defined in [index.ts:373](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L373)* +*Defined in [index.ts:373](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L373)* ___ @@ -4578,7 +4578,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [index.ts:376](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L376)* +*Defined in [index.ts:376](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L376)*
@@ -4612,7 +4612,7 @@ ___ • **blockHash**: *string* -*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L440)* +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L440)* ___ @@ -4620,7 +4620,7 @@ ___ • **blockNumber**: *number* -*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L441)* +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L441)* ___ @@ -4628,7 +4628,7 @@ ___ • **contractAddress**: *string | null* -*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L449)* +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L449)* ___ @@ -4636,7 +4636,7 @@ ___ • **cumulativeGasUsed**: *number* -*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L447)* +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L447)* ___ @@ -4644,7 +4644,7 @@ ___ • **from**: *string* -*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L444)* +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L444)* ___ @@ -4652,7 +4652,7 @@ ___ • **gasUsed**: *number* -*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L448)* +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L448)* ___ @@ -4660,7 +4660,7 @@ ___ • **logs**: *[LogEntry](#class-logentry)[]* -*Defined in [index.ts:450](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L450)* +*Defined in [index.ts:450](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L450)* ___ @@ -4668,7 +4668,7 @@ ___ • **status**: *[TransactionReceiptStatus](#transactionreceiptstatus)* -*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L446)* +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L446)* ___ @@ -4676,7 +4676,7 @@ ___ • **to**: *string* -*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L445)* +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L445)* ___ @@ -4684,7 +4684,7 @@ ___ • **transactionHash**: *string* -*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L442)* +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L442)* ___ @@ -4692,7 +4692,7 @@ ___ • **transactionIndex**: *number* -*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L443)* +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L443)*
@@ -4732,7 +4732,7 @@ otherwise we don't. *Inherited from [TransactionReceipt](#blockhash)* -*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L440)* +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L440)* ___ @@ -4742,7 +4742,7 @@ ___ *Inherited from [TransactionReceipt](#blocknumber)* -*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L441)* +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L441)* ___ @@ -4752,7 +4752,7 @@ ___ *Inherited from [TransactionReceipt](#contractaddress)* -*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L449)* +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L449)* ___ @@ -4762,7 +4762,7 @@ ___ *Inherited from [TransactionReceipt](#cumulativegasused)* -*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L447)* +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L447)* ___ @@ -4772,7 +4772,7 @@ ___ *Inherited from [TransactionReceipt](#from)* -*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L444)* +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L444)* ___ @@ -4782,7 +4782,7 @@ ___ *Inherited from [TransactionReceipt](#gasused)* -*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L448)* +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L448)* ___ @@ -4792,7 +4792,7 @@ ___ *Overrides [TransactionReceipt](#logs)* -*Defined in [index.ts:506](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L506)* +*Defined in [index.ts:506](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L506)* ___ @@ -4802,7 +4802,7 @@ ___ *Inherited from [TransactionReceipt](#status)* -*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L446)* +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L446)* ___ @@ -4812,7 +4812,7 @@ ___ *Inherited from [TransactionReceipt](#to)* -*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L445)* +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L445)* ___ @@ -4822,7 +4822,7 @@ ___ *Inherited from [TransactionReceipt](#transactionhash)* -*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L442)* +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L442)* ___ @@ -4832,7 +4832,7 @@ ___ *Inherited from [TransactionReceipt](#transactionindex)* -*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L443)* +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L443)*
@@ -4856,7 +4856,7 @@ ___ • **gas**: *number* -*Defined in [index.ts:299](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L299)* +*Defined in [index.ts:299](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L299)* ___ @@ -4864,7 +4864,7 @@ ___ • **returnValue**: *any* -*Defined in [index.ts:300](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L300)* +*Defined in [index.ts:300](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L300)* ___ @@ -4872,7 +4872,7 @@ ___ • **structLogs**: *[StructLog](#class-structlog)[]* -*Defined in [index.ts:301](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L301)* +*Defined in [index.ts:301](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L301)*
@@ -4900,7 +4900,7 @@ ___ *Overrides [DataItem](#optional-components)* -*Defined in [index.ts:135](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L135)* +*Defined in [index.ts:135](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L135)* ___ @@ -4910,7 +4910,7 @@ ___ *Inherited from [DataItem](#name)* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L129)* ___ @@ -4920,7 +4920,7 @@ ___ *Inherited from [DataItem](#type)* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L130)*
@@ -4954,7 +4954,7 @@ ___ *Inherited from [CallTxDataBase](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L387)* ___ @@ -4962,7 +4962,7 @@ ___ • **from**: *string* -*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L392)* +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L392)* ___ @@ -4972,7 +4972,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L385)* ___ @@ -4982,7 +4982,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L386)* ___ @@ -4992,7 +4992,7 @@ ___ *Inherited from [CallTxDataBase](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L388)* ___ @@ -5002,7 +5002,7 @@ ___ *Inherited from [CallTxDataBase](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L383)* ___ @@ -5012,7 +5012,7 @@ ___ *Inherited from [CallTxDataBase](#optional-value)* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L384)*
@@ -5044,7 +5044,7 @@ ___ *Inherited from [CallTxDataBase](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L387)* ___ @@ -5054,7 +5054,7 @@ ___ *Inherited from [TxData](#from)* -*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L392)* +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L392)* ___ @@ -5064,7 +5064,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L385)* ___ @@ -5074,7 +5074,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L386)* ___ @@ -5084,7 +5084,7 @@ ___ *Inherited from [CallTxDataBase](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L388)* ___ @@ -5094,7 +5094,7 @@ ___ *Inherited from [CallTxDataBase](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L383)* ___ @@ -5104,7 +5104,7 @@ ___ *Overrides [CallTxDataBase](#optional-value)* -*Defined in [index.ts:434](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L434)* +*Defined in [index.ts:434](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L434)*
@@ -5131,7 +5131,7 @@ This interface allowed sending synchonous requests, support for which was later ▸ **send**(`payload`: [JSONRPCRequestPayload](#class-jsonrpcresponsepayload)* -*Defined in [index.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L45)* +*Defined in [index.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L45)* **Parameters:** @@ -5147,7 +5147,7 @@ ___ ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L44)* +*Defined in [index.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L44)* **Parameters:** @@ -5182,7 +5182,7 @@ before the first attempts to conform to EIP1193 ▸ **send**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L54)* +*Defined in [index.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L54)* **Parameters:** @@ -5217,7 +5217,7 @@ however it does not conform entirely. ▸ **send**(`method`: string, `params?`: any[]): *`Promise`* -*Defined in [index.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L63)* +*Defined in [index.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L63)* **Parameters:** @@ -5260,7 +5260,7 @@ add here • **isMetaMask**? : *undefined | false | true* -*Defined in [index.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L31)* +*Defined in [index.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L31)* ___ @@ -5268,7 +5268,7 @@ ___ • **isParity**? : *undefined | false | true* -*Defined in [index.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L32)* +*Defined in [index.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L32)* ___ @@ -5276,7 +5276,7 @@ ___ • **isZeroExProvider**? : *undefined | false | true* -*Defined in [index.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L30)* +*Defined in [index.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L30)* ## Methods @@ -5284,7 +5284,7 @@ ___ ▸ **enable**(): *`Promise`* -*Defined in [index.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L34)* +*Defined in [index.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L34)* **Returns:** *`Promise`* @@ -5294,7 +5294,7 @@ ___ ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L35)* +*Defined in [index.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L35)* **Parameters:** @@ -5311,7 +5311,7 @@ ___ ▸ **stop**(): *void* -*Defined in [index.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/ethereum-types/src/index.ts#L33)* +*Defined in [index.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L33)* **Returns:** *void* diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index 69f9b4e4a1..fe4f8e2bc2 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/ethereum-types/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "make-promises-safe": "^1.1.0", "shx": "^0.2.2", diff --git a/packages/json-schemas/docs/reference.md b/packages/json-schemas/docs/reference.md index e025856e11..43caa6134c 100644 --- a/packages/json-schemas/docs/reference.md +++ b/packages/json-schemas/docs/reference.md @@ -24,7 +24,7 @@ A validator for [JSON-schemas](http://json-schema.org/) \+ **new SchemaValidator**(): *[SchemaValidator](#class-schemavalidator)* -*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/json-schemas/src/schema_validator.ts#L15)* +*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/json-schemas/src/schema_validator.ts#L15)* Instantiates a SchemaValidator instance @@ -36,7 +36,7 @@ Instantiates a SchemaValidator instance ▸ **addSchema**(`schema`: `Schema`): *void* -*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/json-schemas/src/schema_validator.ts#L32)* +*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/json-schemas/src/schema_validator.ts#L32)* Add a schema to the validator. All schemas and sub-schemas must be added to the validator before the `validate` and `isValid` methods can be called with @@ -56,7 +56,7 @@ ___ ▸ **isValid**(`instance`: any, `schema`: `Schema`): *boolean* -*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/json-schemas/src/schema_validator.ts#L57)* +*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/json-schemas/src/schema_validator.ts#L57)* Check whether an instance properly adheres to a JSON schema @@ -77,7 +77,7 @@ ___ ▸ **validate**(`instance`: any, `schema`: `Schema`): *`ValidatorResult`* -*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/json-schemas/src/schema_validator.ts#L46)* +*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/json-schemas/src/schema_validator.ts#L46)* Validate the JS object conforms to a specific JSON schema diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 91825e43ce..7a55d0ce9e 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -48,7 +48,7 @@ "lodash.values": "^4.3.0" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@0x/utils": "^4.5.0", "@types/lodash.foreach": "^4.5.3", diff --git a/packages/migrations/docs/reference.md b/packages/migrations/docs/reference.md index 3cca7468a4..7cfe6fbd74 100644 --- a/packages/migrations/docs/reference.md +++ b/packages/migrations/docs/reference.md @@ -22,7 +22,7 @@ • **AccountLevels**: = "AccountLevels" -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L26)* ___ @@ -30,7 +30,7 @@ ___ • **Arbitrage**: = "Arbitrage" -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L28)* ___ @@ -38,7 +38,7 @@ ___ • **DummyToken**: = "DummyToken" -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L23)* ___ @@ -46,7 +46,7 @@ ___ • **EtherDelta**: = "EtherDelta" -*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L27)* +*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L27)* ___ @@ -54,7 +54,7 @@ ___ • **Exchange**: = "Exchange" -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L21)* ___ @@ -62,7 +62,7 @@ ___ • **MultiSigWalletWithTimeLock**: = "MultiSigWalletWithTimeLock" -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L20)* ___ @@ -70,7 +70,7 @@ ___ • **MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress**: = "MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress" -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L25)* ___ @@ -78,7 +78,7 @@ ___ • **TokenRegistry**: = "TokenRegistry" -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L19)* ___ @@ -86,7 +86,7 @@ ___ • **TokenTransferProxy**: = "TokenTransferProxy" -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L18)* ___ @@ -94,7 +94,7 @@ ___ • **WETH9**: = "WETH9" -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L24)* ___ @@ -102,7 +102,7 @@ ___ • **ZRXToken**: = "ZRXToken" -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L22)*
@@ -129,7 +129,7 @@ ___ • **address**? : *undefined | string* -*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L4)* +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L4)* ___ @@ -137,7 +137,7 @@ ___ • **decimals**: *`BigNumber`* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L7)* ___ @@ -145,7 +145,7 @@ ___ • **ipfsHash**: *string* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L8)* ___ @@ -153,7 +153,7 @@ ___ • **name**: *string* -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L5)* ___ @@ -161,7 +161,7 @@ ___ • **swarmHash**: *string* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L9)* ___ @@ -169,7 +169,7 @@ ___ • **symbol**: *string* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L6)*
@@ -192,7 +192,7 @@ ___ • **name**: *string* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L13)* ___ @@ -200,7 +200,7 @@ ___ • **symbol**: *string* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/migrations/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L14)*
diff --git a/packages/migrations/package.json b/packages/migrations/package.json index 4a2b2cc944..e36cedca8f 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -40,7 +40,7 @@ "license": "Apache-2.0", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@0x/types": "^2.4.1", "@types/yargs": "^11.0.0", diff --git a/packages/order-utils/docs/reference.md b/packages/order-utils/docs/reference.md index 1b1616b464..06540c0e8a 100644 --- a/packages/order-utils/docs/reference.md +++ b/packages/order-utils/docs/reference.md @@ -21,7 +21,7 @@ for an Ethereum address and assetData ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L15)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L15)* Get balance of assetData for userAddress @@ -42,7 +42,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L22)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L22)* Get the 0x asset proxy allowance of assetData for userAddress @@ -87,7 +87,7 @@ Allowance amount in base units ▸ **deleteAll**(): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* **Returns:** *void* @@ -97,7 +97,7 @@ ___ ▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* **Parameters:** @@ -114,7 +114,7 @@ ___ ▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* **Parameters:** @@ -131,7 +131,7 @@ ___ ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* **Parameters:** @@ -148,7 +148,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* **Parameters:** @@ -165,7 +165,7 @@ ___ ▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* **Parameters:** @@ -183,7 +183,7 @@ ___ ▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* **Parameters:** @@ -221,7 +221,7 @@ and whether it's been cancelled. ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L15)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L15)* Get the amount of the order's takerToken amount already filled @@ -241,7 +241,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L22)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L22)* **Returns:** *string* @@ -251,7 +251,7 @@ ___ ▸ **isOrderCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L21)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L21)* Whether an order is cancelled @@ -296,7 +296,7 @@ Whether or not the order is cancelled ▸ **deleteAll**(): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L11)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L11)* **Returns:** *void* @@ -306,7 +306,7 @@ ___ ▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L8)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L8)* **Parameters:** @@ -322,7 +322,7 @@ ___ ▸ **deleteIsCancelled**(`orderHash`: string): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L10)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L10)* **Parameters:** @@ -338,7 +338,7 @@ ___ ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L5)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L5)* **Parameters:** @@ -354,7 +354,7 @@ ___ ▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L6)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L6)* **Parameters:** @@ -370,7 +370,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L12)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L12)* **Returns:** *string* @@ -380,7 +380,7 @@ ___ ▸ **setFilledTakerAmount**(`orderHash`: string, `balance`: `BigNumber`): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L7)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L7)* **Parameters:** @@ -397,7 +397,7 @@ ___ ▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L9)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L9)* **Parameters:** @@ -435,7 +435,7 @@ An exchange transfer simulator which simulates asset transfers exactly how the \+ **new ExchangeTransferSimulator**(`store`: [AbstractBalanceAndProxyAllowanceLazyStore](#class-exchangetransfersimulator)* -*Defined in [exchange_transfer_simulator.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/exchange_transfer_simulator.ts#L50)* +*Defined in [exchange_transfer_simulator.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/exchange_transfer_simulator.ts#L50)* Instantiate a ExchangeTransferSimulator @@ -455,7 +455,7 @@ an instance of ExchangeTransferSimulator ▸ **transferFromAsync**(`assetData`: string, `from`: string, `to`: string, `amountInBaseUnits`: `BigNumber`, `tradeSide`: [TradeSide](#enumeration-tradeside), `transferType`: [TransferType](#enumeration-transfertype)): *`Promise`* -*Defined in [exchange_transfer_simulator.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/exchange_transfer_simulator.ts#L70)* +*Defined in [exchange_transfer_simulator.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/exchange_transfer_simulator.ts#L70)* Simulates transferFrom call performed by a proxy @@ -498,7 +498,7 @@ Name | Type | Description | \+ **new OrderStateUtils**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](#class-orderstateutils)* -*Defined in [order_state_utils.ts:98](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_state_utils.ts#L98)* +*Defined in [order_state_utils.ts:98](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_state_utils.ts#L98)* Instantiate OrderStateUtils @@ -519,7 +519,7 @@ Instance of OrderStateUtils ▸ **getMaxFillableTakerAssetAmountAsync**(`signedOrder`: `SignedOrder`, `takerAddress`: string): *`Promise`* -*Defined in [order_state_utils.ts:192](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_state_utils.ts#L192)* +*Defined in [order_state_utils.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_state_utils.ts#L192)* Get the max amount of the supplied order's takerAmount that could still be filled @@ -540,7 +540,7 @@ ___ ▸ **getOpenOrderRelevantStateAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [order_state_utils.ts:162](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_state_utils.ts#L162)* +*Defined in [order_state_utils.ts:162](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_state_utils.ts#L162)* Get state relevant to an order (i.e makerBalance, makerAllowance, filledTakerAssetAmount, etc... @@ -560,7 +560,7 @@ ___ ▸ **getOpenOrderStateAsync**(`signedOrder`: `SignedOrder`, `transactionHash?`: undefined | string): *`Promise`* -*Defined in [order_state_utils.ts:122](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_state_utils.ts#L122)* +*Defined in [order_state_utils.ts:122](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_state_utils.ts#L122)* Get the orderState for an "open" order (i.e where takerAddress=NULL_ADDRESS) This method will only check the maker's balance/allowance to calculate the @@ -608,7 +608,7 @@ A utility class for validating orders \+ **new OrderValidationUtils**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](#class-ordervalidationutils)* -*Defined in [order_validation_utils.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L159)* +*Defined in [order_validation_utils.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L159)* Instantiate OrderValidationUtils @@ -629,7 +629,7 @@ An instance of OrderValidationUtils ▸ **validateFillOrderThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `takerAddress`: string, `zrxAssetData`: string): *`Promise`* -*Defined in [order_validation_utils.ts:236](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L236)* +*Defined in [order_validation_utils.ts:236](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L236)* Validate a call to FillOrder and throw if it wouldn't succeed @@ -652,7 +652,7 @@ ___ ▸ **validateOrderFillableOrThrowAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `zrxAssetData`: string, `expectedFillTakerTokenAmount?`: `BigNumber`): *`Promise`* -*Defined in [order_validation_utils.ts:185](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L185)* +*Defined in [order_validation_utils.ts:185](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L185)* Validate if the supplied order is fillable, and throw if it isn't @@ -673,7 +673,7 @@ ___ ▸ **isRoundingErrorFloor**(`numerator`: `BigNumber`, `denominator`: `BigNumber`, `target`: `BigNumber`): *boolean* -*Defined in [order_validation_utils.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L34)* +*Defined in [order_validation_utils.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L34)* A Typescript implementation mirroring the implementation of isRoundingError in the Exchange smart contract @@ -694,7 +694,7 @@ ___ ▸ **validateFillOrderBalancesAllowancesThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `senderAddress`: string, `zrxAssetData`: string): *`Promise`* -*Defined in [order_validation_utils.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L61)* +*Defined in [order_validation_utils.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L61)* Validate that the maker & taker have sufficient balances/allowances to fill the supplied order to the fillTakerAssetAmount amount @@ -717,7 +717,7 @@ ___ ▸ **validateMakerTransferThrowIfInvalidAsync**(`networkId`: `NetworkId`, `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `makerAssetAmount`: `BigNumber`, `takerAddress?`: undefined | string): *`Promise`* -*Defined in [order_validation_utils.ts:127](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/order_validation_utils.ts#L127)* +*Defined in [order_validation_utils.ts:127](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L127)* Validate the transfer from the maker to the taker. This is simulated on-chain via an eth_call. If this call fails, the asset is currently nontransferable. @@ -758,7 +758,7 @@ Name | Type | Description | \+ **new RemainingFillableCalculator**(`orderFee`: `BigNumber`, `orderAssetAmount`: `BigNumber`, `isTraderAssetZRX`: boolean, `transferrableAssetAmount`: `BigNumber`, `transferrableFeeAmount`: `BigNumber`, `remainingOrderAssetAmount`: `BigNumber`): *[RemainingFillableCalculator](#class-remainingfillablecalculator)* -*Defined in [remaining_fillable_calculator.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/remaining_fillable_calculator.ts#L11)* +*Defined in [remaining_fillable_calculator.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/remaining_fillable_calculator.ts#L11)* **Parameters:** @@ -779,7 +779,7 @@ Name | Type | ▸ **computeRemainingFillable**(): *`BigNumber`* -*Defined in [remaining_fillable_calculator.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/remaining_fillable_calculator.ts#L30)* +*Defined in [remaining_fillable_calculator.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/remaining_fillable_calculator.ts#L30)* **Returns:** *`BigNumber`* @@ -820,7 +820,7 @@ Copy on read store for balances/proxyAllowances of tokens/accounts \+ **new BalanceAndProxyAllowanceLazyStore**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](#class-balanceandproxyallowancelazystore)* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L23)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L23)* Instantiates a BalanceAndProxyAllowanceLazyStore @@ -840,7 +840,7 @@ Instance of BalanceAndProxyAllowanceLazyStore ▸ **deleteAll**(): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:136](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L136)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:136](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L136)* Delete all balances & allowances @@ -852,7 +852,7 @@ ___ ▸ **deleteAllERC721ProxyAllowance**(`tokenAddress`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:119](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L119)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L119)* Clear all ERC721 0x proxy allowances a user has on all items of a specific ERC721 contract @@ -871,7 +871,7 @@ ___ ▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L63)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L63)* Clear the balance of an asset for a user @@ -890,7 +890,7 @@ ___ ▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:106](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L106)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:106](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L106)* Clear the 0x asset proxy allowance @@ -909,7 +909,7 @@ ___ ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L39)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L39)* Get a users balance of an asset @@ -928,7 +928,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L76)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L76)* Get the 0x asset proxy allowance @@ -947,7 +947,7 @@ ___ ▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L52)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L52)* Set the balance of an asset for a user @@ -967,7 +967,7 @@ ___ ▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:95](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L95)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:95](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L95)* Set the 0x asset proxy allowance @@ -1020,7 +1020,7 @@ Copy on read store for balances/proxyAllowances of tokens/accounts \+ **new OrderFilledCancelledLazyStore**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](#class-orderfilledcancelledlazystore)* -*Defined in [store/order_filled_cancelled_lazy_store.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L19)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L19)* Instantiate a OrderFilledCancelledLazyStore @@ -1040,7 +1040,7 @@ An instance of OrderFilledCancelledLazyStore ▸ **deleteAll**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L90)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L90)* Clear all filled/cancelled state @@ -1052,7 +1052,7 @@ ___ ▸ **deleteAllFilled**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L103)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L103)* Clear all filled state @@ -1064,7 +1064,7 @@ ___ ▸ **deleteAllIsCancelled**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:97](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L97)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:97](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L97)* Clear all cancelled state @@ -1076,7 +1076,7 @@ ___ ▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L55)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L55)* Clear the filledTakerAssetAmount of an order @@ -1094,7 +1094,7 @@ ___ ▸ **deleteIsCancelled**(`orderHash`: string): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L84)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L84)* Clear whether the order has been cancelled if already set @@ -1112,7 +1112,7 @@ ___ ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [store/order_filled_cancelled_lazy_store.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L35)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L35)* Get the filledTakerAssetAmount of an order @@ -1132,7 +1132,7 @@ ___ ▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [store/order_filled_cancelled_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L63)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L63)* Check if an order has been cancelled @@ -1152,7 +1152,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [store/order_filled_cancelled_lazy_store.ts:109](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L109)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:109](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L109)* Get the ZRX assetData @@ -1164,7 +1164,7 @@ ___ ▸ **setFilledTakerAmount**(`orderHash`: string, `filledTakerAmount`: `BigNumber`): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L48)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L48)* Set the filledTakerAssetAmount of an order @@ -1183,7 +1183,7 @@ ___ ▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L77)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L77)* Set whether an order has been cancelled or not @@ -1213,7 +1213,7 @@ Name | Type | Description | • **Maker**: = "maker" -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L9)* ___ @@ -1221,7 +1221,7 @@ ___ • **Taker**: = "taker" -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L10)*
@@ -1240,7 +1240,7 @@ ___ • **Fee**: = "fee" -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L15)* ___ @@ -1248,7 +1248,7 @@ ___ • **Trade**: = "trade" -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L14)*
@@ -1267,7 +1267,7 @@ ___ • **InvalidMetamaskSigner**: = "MetaMask provider must be wrapped in a MetamaskSubprovider (from the '@0x/subproviders' package) in order to work with this method." -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L5)* ___ @@ -1275,7 +1275,7 @@ ___ • **InvalidSignature**: = "INVALID_SIGNATURE" -*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L4)* +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L4)*
@@ -1303,7 +1303,7 @@ ___ • **expirationTimeSeconds**? : *`BigNumber`* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L25)* ___ @@ -1311,7 +1311,7 @@ ___ • **feeRecipientAddress**? : *undefined | string* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L23)* ___ @@ -1319,7 +1319,7 @@ ___ • **makerFee**? : *`BigNumber`* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L21)* ___ @@ -1327,7 +1327,7 @@ ___ • **salt**? : *`BigNumber`* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L24)* ___ @@ -1335,7 +1335,7 @@ ___ • **senderAddress**? : *undefined | string* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L20)* ___ @@ -1343,7 +1343,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L19)* ___ @@ -1351,7 +1351,7 @@ ___ • **takerFee**? : *`BigNumber`* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L22)*
@@ -1379,7 +1379,7 @@ ___ • **feeOrdersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L70)* +*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L70)* ___ @@ -1387,7 +1387,7 @@ ___ • **remainingFeeAmount**: *`BigNumber`* -*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L71)* +*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L71)* ___ @@ -1395,7 +1395,7 @@ ___ • **resultFeeOrders**: *`T`[]* -*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L69)* +*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L69)*
@@ -1428,7 +1428,7 @@ Defaults to 0 • **remainingFillableFeeAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L64)* ___ @@ -1436,7 +1436,7 @@ ___ • **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L63)* ___ @@ -1444,7 +1444,7 @@ ___ • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L65)*
@@ -1473,7 +1473,7 @@ Defaults to 0 • **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L36)* ___ @@ -1481,7 +1481,7 @@ ___ • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L37)*
@@ -1510,7 +1510,7 @@ Defaults to 0 • **remainingFillableTakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L48)* ___ @@ -1518,7 +1518,7 @@ ___ • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L49)*
@@ -1546,7 +1546,7 @@ ___ • **ordersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L76)* ___ @@ -1554,7 +1554,7 @@ ___ • **remainingFillAmount**: *`BigNumber`* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L77)* ___ @@ -1562,7 +1562,7 @@ ___ • **resultOrders**: *`T`[]* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L75)*
@@ -1590,7 +1590,7 @@ ___ • **ordersRemainingFillableTakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L82)* +*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L82)* ___ @@ -1598,7 +1598,7 @@ ___ • **remainingFillAmount**: *`BigNumber`* -*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L83)* +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L83)* ___ @@ -1606,7 +1606,7 @@ ___ • **resultOrders**: *`T`[]* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-utils/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L81)*
diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 5e05c05b94..24b6227fb2 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -39,7 +39,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", diff --git a/packages/order-watcher/docs/reference.md b/packages/order-watcher/docs/reference.md index f1d24e741b..bd5974aa3b 100644 --- a/packages/order-watcher/docs/reference.md +++ b/packages/order-watcher/docs/reference.md @@ -32,7 +32,7 @@ You can pass it by calling `this.addERC20Token(address)` or `this.addERC721Token \+ **new CollisionResistanceAbiDecoder**(`erc20Abi`: `ContractAbi`, `erc721Abi`: `ContractAbi`, `abis`: `ContractAbi`[]): *[CollisionResistanceAbiDecoder](#class-collisionresistanceabidecoder)* -*Defined in [order_watcher/collision_resistant_abi_decoder.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L22)* +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L22)* **Parameters:** @@ -50,7 +50,7 @@ Name | Type | ▸ **addERC20Token**(`address`: string): *void* -*Defined in [order_watcher/collision_resistant_abi_decoder.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L44)* +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L44)* **Parameters:** @@ -66,7 +66,7 @@ ___ ▸ **addERC721Token**(`address`: string): *void* -*Defined in [order_watcher/collision_resistant_abi_decoder.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L51)* +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L51)* **Parameters:** @@ -82,7 +82,7 @@ ___ ▸ **tryToDecodeLogOrNoop**<**ArgsType**>(`log`: `LogEntry`): *`LogWithDecodedArgs` | `RawLog`* -*Defined in [order_watcher/collision_resistant_abi_decoder.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L28)* +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L28)* **Type parameters:** @@ -124,7 +124,7 @@ Name | Type | \+ **new DependentOrderHashesTracker**(`zrxTokenAddress`: string): *[DependentOrderHashesTracker](#class-dependentorderhashestracker)* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L35)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L35)* **Parameters:** @@ -140,7 +140,7 @@ Name | Type | ▸ **addToDependentOrderHashes**(`signedOrder`: `SignedOrder`): *void* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:69](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L69)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:69](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L69)* **Parameters:** @@ -156,7 +156,7 @@ ___ ▸ **getDependentOrderHashesByAssetDataByMaker**(`makerAddress`: string, `assetData`: string): *string[]* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L61)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L61)* **Parameters:** @@ -173,7 +173,7 @@ ___ ▸ **getDependentOrderHashesByERC721ByMaker**(`makerAddress`: string, `tokenAddress`: string): *string[]* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L39)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L39)* **Parameters:** @@ -190,7 +190,7 @@ ___ ▸ **getDependentOrderHashesByMaker**(`makerAddress`: string): *string[]* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L57)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L57)* **Parameters:** @@ -206,7 +206,7 @@ ___ ▸ **removeFromDependentOrderHashes**(`signedOrder`: `SignedOrder`): *void* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L74)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L74)* **Parameters:** @@ -244,7 +244,7 @@ depth. \+ **new EventWatcher**(`supportedProvider`: `SupportedProvider`, `pollingIntervalIfExistsMs`: undefined | number, `isVerbose`: boolean): *[EventWatcher](#class-eventwatcher)* -*Defined in [order_watcher/event_watcher.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/event_watcher.ts#L28)* +*Defined in [order_watcher/event_watcher.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/event_watcher.ts#L28)* **Parameters:** @@ -262,7 +262,7 @@ Name | Type | ▸ **subscribe**(`callback`: [EventWatcherCallback](#eventwatchercallback)): *void* -*Defined in [order_watcher/event_watcher.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/event_watcher.ts#L43)* +*Defined in [order_watcher/event_watcher.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/event_watcher.ts#L43)* **Parameters:** @@ -278,7 +278,7 @@ ___ ▸ **unsubscribe**(): *void* -*Defined in [order_watcher/event_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/event_watcher.ts#L50)* +*Defined in [order_watcher/event_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/event_watcher.ts#L50)* **Returns:** *void* @@ -312,7 +312,7 @@ It stores them in a min heap by expiration time and checks for expired ones ever \+ **new ExpirationWatcher**(`expirationMarginIfExistsMs?`: undefined | number, `orderExpirationCheckingIntervalIfExistsMs?`: undefined | number): *[ExpirationWatcher](#class-expirationwatcher)* -*Defined in [order_watcher/expiration_watcher.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L20)* +*Defined in [order_watcher/expiration_watcher.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L20)* **Parameters:** @@ -329,7 +329,7 @@ Name | Type | ▸ **addOrder**(`orderHash`: string, `expirationUnixTimestampMs`: `BigNumber`): *void* -*Defined in [order_watcher/expiration_watcher.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L57)* +*Defined in [order_watcher/expiration_watcher.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L57)* **Parameters:** @@ -346,7 +346,7 @@ ___ ▸ **removeOrder**(`orderHash`: string): *void* -*Defined in [order_watcher/expiration_watcher.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L61)* +*Defined in [order_watcher/expiration_watcher.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L61)* **Parameters:** @@ -362,7 +362,7 @@ ___ ▸ **subscribe**(`callback`: function): *void* -*Defined in [order_watcher/expiration_watcher.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L40)* +*Defined in [order_watcher/expiration_watcher.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L40)* **Parameters:** @@ -384,7 +384,7 @@ ___ ▸ **unsubscribe**(): *void* -*Defined in [order_watcher/expiration_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L50)* +*Defined in [order_watcher/expiration_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L50)* **Returns:** *void* @@ -421,7 +421,7 @@ the order should be deemed invalid. \+ **new OrderWatcher**(`supportedProvider`: `SupportedProvider`, `networkId`: number, `contractAddresses?`: `ContractAddresses`, `partialConfig`: `Partial`): *[OrderWatcher](#class-orderwatcher)* -*Defined in [order_watcher/order_watcher.ts:98](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L98)* +*Defined in [order_watcher/order_watcher.ts:98](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L98)* Instantiate a new OrderWatcher @@ -442,7 +442,7 @@ Name | Type | Default | Description | ▸ **addOrderAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [order_watcher/order_watcher.ts:160](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L160)* +*Defined in [order_watcher/order_watcher.ts:160](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L160)* Add an order to the orderWatcher. Before the order is added, it's signature is verified. @@ -461,7 +461,7 @@ ___ ▸ **getStats**(): *`Stats`* -*Defined in [order_watcher/order_watcher.ts:231](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L231)* +*Defined in [order_watcher/order_watcher.ts:231](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L231)* Gets statistics of the OrderWatcher Instance. @@ -473,7 +473,7 @@ ___ ▸ **removeOrder**(`orderHash`: string): *void* -*Defined in [order_watcher/order_watcher.ts:178](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L178)* +*Defined in [order_watcher/order_watcher.ts:178](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L178)* Removes an order from the orderWatcher @@ -491,7 +491,7 @@ ___ ▸ **subscribe**(`callback`: [OnOrderStateChangeCallback](#onorderstatechangecallback)): *void* -*Defined in [order_watcher/order_watcher.ts:195](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L195)* +*Defined in [order_watcher/order_watcher.ts:195](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L195)* Starts an orderWatcher subscription. The callback will be called every time a watched order's backing blockchain state has changed. This is a call-to-action for the caller to re-validate the order. @@ -510,7 +510,7 @@ ___ ▸ **unsubscribe**(): *void* -*Defined in [order_watcher/order_watcher.ts:217](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher.ts#L217)* +*Defined in [order_watcher/order_watcher.ts:217](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L217)* Ends an orderWatcher subscription. @@ -541,7 +541,7 @@ Ends an orderWatcher subscription. \+ **new OrderWatcherWebSocketServer**(`supportedProvider`: `SupportedProvider`, `networkId`: number, `contractAddresses?`: `ContractAddresses`, `orderWatcherConfig?`: `Partial`): *[OrderWatcherWebSocketServer](#class-orderwatcherwebsocketserver)* -*Defined in [order_watcher/order_watcher_web_socket_server.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L42)* +*Defined in [order_watcher/order_watcher_web_socket_server.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L42)* Instantiate a new WebSocket server which provides OrderWatcher functionality @param supportedProvider Web3 provider to use for JSON RPC calls. @@ -568,7 +568,7 @@ Name | Type | ▸ **start**(): *void* -*Defined in [order_watcher/order_watcher_web_socket_server.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L92)* +*Defined in [order_watcher/order_watcher_web_socket_server.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L92)* Activates the WebSocket server by subscribing to the OrderWatcher and starting the WebSocket's HTTP server @@ -581,7 +581,7 @@ ___ ▸ **stop**(): *void* -*Defined in [order_watcher/order_watcher_web_socket_server.ts:107](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L107)* +*Defined in [order_watcher/order_watcher_web_socket_server.ts:107](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L107)* Deactivates the WebSocket server by stopping the HTTP server from accepting new connections and unsubscribing from the OrderWatcher @@ -606,7 +606,7 @@ new connections and unsubscribing from the OrderWatcher • **NoAbiDecoder**: = "NO_ABI_DECODER" -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L30)* ___ @@ -614,7 +614,7 @@ ___ • **WethNotInTokenRegistry**: = "WETH_NOT_IN_TOKEN_REGISTRY" -*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L32)* ___ @@ -622,7 +622,7 @@ ___ • **ZrxNotInTokenRegistry**: = "ZRX_NOT_IN_TOKEN_REGISTRY" -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L31)*
@@ -641,7 +641,7 @@ ___ • **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L5)* ___ @@ -649,7 +649,7 @@ ___ • **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L6)*
@@ -670,7 +670,7 @@ ___ • **AddOrder**: = "ADD_ORDER" -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L38)* ___ @@ -678,7 +678,7 @@ ___ • **GetStats**: = "GET_STATS" -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L37)* ___ @@ -686,7 +686,7 @@ ___ • **RemoveOrder**: = "REMOVE_ORDER" -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L39)* ___ @@ -694,7 +694,7 @@ ___ • **Update**: = "UPDATE" -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L41)*
@@ -761,7 +761,7 @@ ___ • **id**: *number* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L52)* ___ @@ -769,7 +769,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L53)* ___ @@ -777,7 +777,7 @@ ___ • **method**: *[AddOrder](#addorder)* -*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L54)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L54)* ___ @@ -785,7 +785,7 @@ ___ • **params**: *object* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L55)* #### Type declaration: @@ -812,7 +812,7 @@ ___ • **error**: *[JSONRPCError](#interface-jsonrpcerror)* -*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L86)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L86)* ___ @@ -820,7 +820,7 @@ ___ • **id**: *number | null* -*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L83)* +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L83)* ___ @@ -828,7 +828,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L84)* ___ @@ -836,7 +836,7 @@ ___ • **method**: *null* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L85)*
@@ -860,7 +860,7 @@ ___ • **id**: *number* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L66)* ___ @@ -868,7 +868,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L67)* ___ @@ -876,7 +876,7 @@ ___ • **method**: *[GetStats](#getstats)* -*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L68)* +*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L68)*
@@ -898,7 +898,7 @@ ___ • **orderCount**: *number* -*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L96)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L96)*
@@ -922,7 +922,7 @@ ___ • **code**: *number* -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L90)* ___ @@ -930,7 +930,7 @@ ___ • **data**? : *string | object* -*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L92)* +*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L92)* ___ @@ -938,7 +938,7 @@ ___ • **message**: *string* -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L91)*
@@ -971,7 +971,7 @@ isVerbose: Weather the order watcher should be verbose. Default=true. • **cleanupJobIntervalMs**: *number* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L23)* ___ @@ -979,7 +979,7 @@ ___ • **eventPollingIntervalMs**: *number* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L21)* ___ @@ -987,7 +987,7 @@ ___ • **expirationMarginMs**: *number* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L22)* ___ @@ -995,7 +995,7 @@ ___ • **isVerbose**: *boolean* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L24)* ___ @@ -1003,7 +1003,7 @@ ___ • **orderExpirationCheckingIntervalMs**: *number* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L20)*
@@ -1028,7 +1028,7 @@ ___ • **id**: *number* -*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L59)* +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L59)* ___ @@ -1036,7 +1036,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L60)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L60)* ___ @@ -1044,7 +1044,7 @@ ___ • **method**: *[RemoveOrder](#removeorder)* -*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L61)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L61)* ___ @@ -1052,7 +1052,7 @@ ___ • **params**: *object* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L62)* #### Type declaration: @@ -1079,7 +1079,7 @@ ___ • **id**: *number* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L76)* ___ @@ -1087,7 +1087,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L77)* ___ @@ -1095,7 +1095,7 @@ ___ • **method**: *[OrderWatcherMethod](#enumeration-orderwatchermethod)* -*Defined in [types.ts:78](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L78)* +*Defined in [types.ts:78](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L78)* ___ @@ -1103,7 +1103,7 @@ ___ • **result**: *`OrderState` | [GetStatsResult](#interface-getstatsresult) | undefined* -*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/order-watcher/src/types.ts#L79)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L79)*
diff --git a/packages/sol-compiler/docs/reference.md b/packages/sol-compiler/docs/reference.md index 7fd3fdee1b..caca9c942d 100644 --- a/packages/sol-compiler/docs/reference.md +++ b/packages/sol-compiler/docs/reference.md @@ -25,7 +25,7 @@ to artifact files. \+ **new Compiler**(`opts?`: `CompilerOptions`): *[Compiler](#class-compiler)* -*Defined in [compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/compiler.ts#L94)* +*Defined in [compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/compiler.ts#L94)* Instantiates a new instance of the Compiler class. @@ -45,7 +45,7 @@ An instance of the Compiler class. ▸ **compileAsync**(): *`Promise`* -*Defined in [compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/compiler.ts#L132)* +*Defined in [compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/compiler.ts#L132)* Compiles selected Solidity files found in `contractsDir` and writes JSON artifacts to `artifactsDir`. @@ -57,7 +57,7 @@ ___ ▸ **getCompilerOutputsAsync**(): *`Promise`* -*Defined in [compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/compiler.ts#L145)* +*Defined in [compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/compiler.ts#L145)* Compiles Solidity files specified during instantiation, and returns the compiler output given by solc. Return value is an array of outputs: @@ -74,7 +74,7 @@ ___ ▸ **watchAsync**(): *`Promise`* -*Defined in [compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/compiler.ts#L149)* +*Defined in [compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/compiler.ts#L149)* **Returns:** *`Promise`* @@ -109,7 +109,7 @@ ___ \+ **new CompilationError**(`errorsCount`: number): *[CompilationError](#class-compilationerror)* -*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L39)* +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L39)* **Parameters:** @@ -125,7 +125,7 @@ Name | Type | • **errorsCount**: *number* -*Defined in [utils/types.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L38)* +*Defined in [utils/types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L38)* ___ @@ -165,7 +165,7 @@ ___ • **typeName**: *string* = "CompilationError" -*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L39)* +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L39)* ___ @@ -194,7 +194,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typed • **Constructor**: = "constructor" -*Defined in [utils/types.ts:3](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L3)* +*Defined in [utils/types.ts:3](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L3)* ___ @@ -202,7 +202,7 @@ ___ • **Event**: = "event" -*Defined in [utils/types.ts:4](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L4)* +*Defined in [utils/types.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L4)* ___ @@ -210,7 +210,7 @@ ___ • **Fallback**: = "fallback" -*Defined in [utils/types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L5)* +*Defined in [utils/types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L5)* ___ @@ -218,7 +218,7 @@ ___ • **Function**: = "function" -*Defined in [utils/types.ts:2](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L2)* +*Defined in [utils/types.ts:2](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L2)*
@@ -266,7 +266,7 @@ ___ • **solcVersionRange**: *string* -*Defined in [utils/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L21)* +*Defined in [utils/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L21)* ___ @@ -274,7 +274,7 @@ ___ • **sourceHash**: *`Buffer`* -*Defined in [utils/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L22)* +*Defined in [utils/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L22)* ___ @@ -282,7 +282,7 @@ ___ • **sourceTreeHash**: *`Buffer`* -*Defined in [utils/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L23)* +*Defined in [utils/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L23)*
@@ -321,7 +321,7 @@ ___ • **address**? : *undefined | string* -*Defined in [utils/types.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L27)* +*Defined in [utils/types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L27)* ___ @@ -329,7 +329,7 @@ ___ • **decimals**: *number* -*Defined in [utils/types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L30)* +*Defined in [utils/types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L30)* ___ @@ -337,7 +337,7 @@ ___ • **ipfsHash**: *string* -*Defined in [utils/types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L31)* +*Defined in [utils/types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L31)* ___ @@ -345,7 +345,7 @@ ___ • **name**: *string* -*Defined in [utils/types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L28)* +*Defined in [utils/types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L28)* ___ @@ -353,7 +353,7 @@ ___ • **swarmHash**: *string* -*Defined in [utils/types.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L32)* +*Defined in [utils/types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L32)* ___ @@ -361,7 +361,7 @@ ___ • **symbol**: *string* -*Defined in [utils/types.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-compiler/src/utils/types.ts#L29)* +*Defined in [utils/types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L29)*
diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index bf1483d0bf..323a4cae0a 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -46,7 +46,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-compiler/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/mkdirp": "^0.5.2", "@types/mocha": "^5.2.7", diff --git a/packages/sol-coverage/docs/reference.md b/packages/sol-coverage/docs/reference.md index 6f7a0c6d07..2bd7034d74 100644 --- a/packages/sol-coverage/docs/reference.md +++ b/packages/sol-coverage/docs/reference.md @@ -32,7 +32,7 @@ It's used to compute your code coverage while running solidity tests. *Overrides void* -*Defined in [coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-coverage/src/coverage_subprovider.ts#L44)* +*Defined in [coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-coverage/src/coverage_subprovider.ts#L44)* Instantiates a CoverageSubprovider instance @@ -154,7 +154,7 @@ ___ ▸ **writeCoverageAsync**(): *`Promise`* -*Defined in [coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-coverage/src/coverage_subprovider.ts#L78)* +*Defined in [coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-coverage/src/coverage_subprovider.ts#L78)* Write the test coverage results to a file in Istanbul format. @@ -185,7 +185,7 @@ ignoreFilesGlobs: The list of globs matching the file names of the files we want • **ignoreFilesGlobs**: *string[]* -*Defined in [coverage_subprovider.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-coverage/src/coverage_subprovider.ts#L28)* +*Defined in [coverage_subprovider.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-coverage/src/coverage_subprovider.ts#L28)* ___ @@ -193,7 +193,7 @@ ___ • **isVerbose**: *boolean* -*Defined in [coverage_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-coverage/src/coverage_subprovider.ts#L27)* +*Defined in [coverage_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-coverage/src/coverage_subprovider.ts#L27)*
diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index a5b4956a2a..91e71f254a 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-profiler/docs/reference.md b/packages/sol-profiler/docs/reference.md index b60f521773..8cefb99a8f 100644 --- a/packages/sol-profiler/docs/reference.md +++ b/packages/sol-profiler/docs/reference.md @@ -32,7 +32,7 @@ ProfilerSubprovider is used to profile Solidity code while running tests. *Overrides void* -*Defined in [profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-profiler/src/profiler_subprovider.ts#L30)* +*Defined in [profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-profiler/src/profiler_subprovider.ts#L30)* Instantiates a ProfilerSubprovider instance @@ -154,7 +154,7 @@ ___ ▸ **writeProfilerOutputAsync**(): *`Promise`* -*Defined in [profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-profiler/src/profiler_subprovider.ts#L104)* +*Defined in [profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-profiler/src/profiler_subprovider.ts#L104)* Write the test profiler results to a file in Istanbul format. diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index b5564d39c0..b28552a4d2 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-trace/docs/reference.md b/packages/sol-trace/docs/reference.md index 8c1b750c7e..2ec16a4af8 100644 --- a/packages/sol-trace/docs/reference.md +++ b/packages/sol-trace/docs/reference.md @@ -31,7 +31,7 @@ It is used to report call stack traces whenever a revert occurs. *Overrides void* -*Defined in [revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/sol-trace/src/revert_trace_subprovider.ts#L27)* +*Defined in [revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-trace/src/revert_trace_subprovider.ts#L27)* Instantiates a RevertTraceSubprovider instance diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index 99f89f702e..1ebae10062 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -43,7 +43,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/loglevel": "^1.5.3", "@types/node": "*", diff --git a/packages/subproviders/docs/reference.md b/packages/subproviders/docs/reference.md index 861ad17627..d3c40e92c6 100644 --- a/packages/subproviders/docs/reference.md +++ b/packages/subproviders/docs/reference.md @@ -34,7 +34,7 @@ *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -56,7 +56,7 @@ ___ ▸ **getAccountsAsync**(): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L23)* +*Defined in [subproviders/base_wallet_subprovider.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L23)* **Returns:** *`Promise`* @@ -68,7 +68,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -92,7 +92,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -112,7 +112,7 @@ ___ ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L25)* +*Defined in [subproviders/base_wallet_subprovider.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L25)* **Parameters:** @@ -129,7 +129,7 @@ ___ ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L24)* +*Defined in [subproviders/base_wallet_subprovider.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L24)* **Parameters:** @@ -145,7 +145,7 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:26](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L26)* +*Defined in [subproviders/base_wallet_subprovider.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L26)* **Parameters:** @@ -185,7 +185,7 @@ It intercepts the `eth_accounts` JSON RPC requests and never returns any address *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -209,7 +209,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/empty_wallet_subprovider.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/empty_wallet_subprovider.ts#L21)* +*Defined in [subproviders/empty_wallet_subprovider.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/empty_wallet_subprovider.ts#L21)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -233,7 +233,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -278,7 +278,7 @@ It intercepts the `eth_estimateGas` JSON RPC call and always returns a constant \+ **new FakeGasEstimateSubprovider**(`constantGasAmount`: number): *[FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider)* -*Defined in [subproviders/fake_gas_estimate_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L17)* +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L17)* Instantiates an instance of the FakeGasEstimateSubprovider @@ -298,7 +298,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -322,7 +322,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/fake_gas_estimate_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L35)* +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L35)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -346,7 +346,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -391,7 +391,7 @@ It intercepts all JSON RPC requests and relays them to an in-process ganache ins \+ **new GanacheSubprovider**(`opts`: `GanacheOpts`): *[GanacheSubprovider](#class-ganachesubprovider)* -*Defined in [subproviders/ganache.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ganache.ts#L13)* +*Defined in [subproviders/ganache.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ganache.ts#L13)* Instantiates a GanacheSubprovider @@ -411,7 +411,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -435,7 +435,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/ganache.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ganache.ts#L31)* +*Defined in [subproviders/ganache.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ganache.ts#L31)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -459,7 +459,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -511,7 +511,7 @@ re-routes them to a Ledger device plugged into the users computer. \+ **new LedgerSubprovider**(`config`: [LedgerSubproviderConfigs](#class-ledgersubprovider)* -*Defined in [subproviders/ledger.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L41)* +*Defined in [subproviders/ledger.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L41)* Instantiates a LedgerSubprovider. Defaults to derivationPath set to `44'/60'/0'`. TestRPC/Ganache defaults to `m/44'/60'/0'/0`, so set this in the configs if desired. @@ -534,7 +534,7 @@ LedgerSubprovider instance *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -558,7 +558,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/ledger.ts:87](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L87)* +*Defined in [subproviders/ledger.ts:87](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L87)* Retrieve a users Ledger accounts. The accounts are derived from the derivationPath, master public key and chain code. Because of this, you can request as many accounts @@ -582,7 +582,7 @@ ___ ▸ **getPath**(): *string* -*Defined in [subproviders/ledger.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L68)* +*Defined in [subproviders/ledger.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L68)* Retrieve the set derivation path @@ -600,7 +600,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -624,7 +624,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -644,7 +644,7 @@ ___ ▸ **setPath**(`basDerivationPath`: string): *void* -*Defined in [subproviders/ledger.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L75)* +*Defined in [subproviders/ledger.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L75)* Set a desired derivation path when computing the available user addresses @@ -664,7 +664,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/ledger.ts:158](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L158)* +*Defined in [subproviders/ledger.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L158)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. @@ -692,7 +692,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/ledger.ts:101](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L101)* +*Defined in [subproviders/ledger.ts:101](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L101)* Signs a transaction on the Ledger with the account specificed by the `from` field in txParams. If you've added the LedgerSubprovider to your app's provider, you can simply send an `eth_sendTransaction` @@ -717,7 +717,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/ledger.ts:196](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/ledger.ts#L196)* +*Defined in [subproviders/ledger.ts:196](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L196)* eth_signTypedData is currently not supported on Ledger devices. @@ -768,7 +768,7 @@ are passed onwards for subsequent subproviders to handle. \+ **new MetamaskSubprovider**(`supportedProvider`: `SupportedProvider`): *[MetamaskSubprovider](#class-metamasksubprovider)* -*Defined in [subproviders/metamask_subprovider.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/metamask_subprovider.ts#L20)* +*Defined in [subproviders/metamask_subprovider.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/metamask_subprovider.ts#L20)* Instantiates a new MetamaskSubprovider @@ -788,7 +788,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -812,7 +812,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/metamask_subprovider.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/metamask_subprovider.ts#L40)* +*Defined in [subproviders/metamask_subprovider.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/metamask_subprovider.ts#L40)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -834,7 +834,7 @@ ___ ▸ **sendAsync**(`payload`: `JSONRPCRequestPayload`, `callback`: [ErrorCallback](#errorcallback)): *void* -*Defined in [subproviders/metamask_subprovider.ts:114](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/metamask_subprovider.ts#L114)* +*Defined in [subproviders/metamask_subprovider.ts:114](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/metamask_subprovider.ts#L114)* This method conforms to the provider sendAsync interface. Allowing the MetamaskSubprovider to be used as a generic provider (outside of Web3ProviderEngine) with the @@ -859,7 +859,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -911,7 +911,7 @@ all requests with accounts derived from the supplied mnemonic. \+ **new MnemonicWalletSubprovider**(`config`: [MnemonicWalletSubproviderConfigs](#class-mnemonicwalletsubprovider)* -*Defined in [subproviders/mnemonic_wallet.ts:27](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L27)* +*Defined in [subproviders/mnemonic_wallet.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L27)* Instantiates a MnemonicWalletSubprovider. Defaults to baseDerivationPath set to `44'/60'/0'/0`. This is the default in TestRPC/Ganache, it can be overridden if desired. @@ -934,7 +934,7 @@ MnemonicWalletSubprovider instance *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -958,7 +958,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/mnemonic_wallet.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L70)* +*Defined in [subproviders/mnemonic_wallet.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L70)* Retrieve the accounts associated with the mnemonic. This method is implicitly called when issuing a `eth_accounts` JSON RPC request @@ -980,7 +980,7 @@ ___ ▸ **getPath**(): *string* -*Defined in [subproviders/mnemonic_wallet.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L52)* +*Defined in [subproviders/mnemonic_wallet.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L52)* Retrieve the set derivation path @@ -998,7 +998,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1022,7 +1022,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1042,7 +1042,7 @@ ___ ▸ **setPath**(`baseDerivationPath`: string): *void* -*Defined in [subproviders/mnemonic_wallet.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L59)* +*Defined in [subproviders/mnemonic_wallet.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L59)* Set a desired derivation path when computing the available user addresses @@ -1062,7 +1062,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/mnemonic_wallet.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L102)* +*Defined in [subproviders/mnemonic_wallet.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L102)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. If you've added the MnemonicWalletSubprovider to @@ -1089,7 +1089,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/mnemonic_wallet.ts:84](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L84)* +*Defined in [subproviders/mnemonic_wallet.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L84)* Signs a transaction with the account specificed by the `from` field in txParams. If you've added this Subprovider to your app's provider, you can simply send @@ -1114,7 +1114,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/mnemonic_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L122)* +*Defined in [subproviders/mnemonic_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L122)* Sign an EIP712 Typed Data message. The signing account will be the account associated with the provided address. If you've added this MnemonicWalletSubprovider to @@ -1163,7 +1163,7 @@ We added the additional feature of clearing the cached nonce value when a `nonce *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1187,7 +1187,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/nonce_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/nonce_tracker.ts#L57)* +*Defined in [subproviders/nonce_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/nonce_tracker.ts#L57)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1211,7 +1211,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1261,7 +1261,7 @@ all requests with the supplied Ethereum private key. \+ **new PrivateKeyWalletSubprovider**(`privateKey`: string): *[PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider)* -*Defined in [subproviders/private_key_wallet.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L19)* +*Defined in [subproviders/private_key_wallet.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L19)* Instantiates a PrivateKeyWalletSubprovider. @@ -1283,7 +1283,7 @@ PrivateKeyWalletSubprovider instance *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1307,7 +1307,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/private_key_wallet.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L37)* +*Defined in [subproviders/private_key_wallet.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L37)* Retrieve the account associated with the supplied private key. This method is implicitly called when issuing a `eth_accounts` JSON RPC request @@ -1327,7 +1327,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1351,7 +1351,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1373,7 +1373,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/private_key_wallet.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L72)* +*Defined in [subproviders/private_key_wallet.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L72)* Sign a personal Ethereum signed message. The signing address will be calculated from the private key. The address must be provided it must match the address calculated from the private key. @@ -1400,7 +1400,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/private_key_wallet.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L48)* +*Defined in [subproviders/private_key_wallet.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L48)* Sign a transaction with the private key. If you've added this Subprovider to your app's provider, you can simply send an `eth_sendTransaction` JSON RPC request, and @@ -1425,7 +1425,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/private_key_wallet.ts:99](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/private_key_wallet.ts#L99)* +*Defined in [subproviders/private_key_wallet.ts:99](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L99)* Sign an EIP712 Typed Data message. The signing address will be calculated from the private key. The address must be provided it must match the address calculated from the private key. @@ -1476,7 +1476,7 @@ set of JSON RPC endpoints. \+ **new RedundantSubprovider**(`subproviders`: [Subprovider](#class-redundantsubprovider)* -*Defined in [subproviders/redundant_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/redundant_subprovider.ts#L33)* +*Defined in [subproviders/redundant_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/redundant_subprovider.ts#L33)* Instantiates a new RedundantSubprovider @@ -1496,7 +1496,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1520,7 +1520,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/redundant_subprovider.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/redundant_subprovider.ts#L51)* +*Defined in [subproviders/redundant_subprovider.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/redundant_subprovider.ts#L51)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1559,7 +1559,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1604,7 +1604,7 @@ It forwards on JSON RPC requests to the supplied `rpcUrl` endpoint \+ **new RPCSubprovider**(`rpcUrl`: string, `requestTimeoutMs`: number): *[RPCSubprovider](#class-rpcsubprovider)* -*Defined in [subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)* +*Defined in [subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)* **Parameters:** @@ -1623,7 +1623,7 @@ Name | Type | Default | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1647,7 +1647,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)* +*Defined in [subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1671,7 +1671,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1718,7 +1718,7 @@ are passed onwards for subsequent subproviders to handle. \+ **new SignerSubprovider**(`supportedProvider`: `SupportedProvider`): *[SignerSubprovider](#class-signersubprovider)* -*Defined in [subproviders/signer.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/signer.ts#L15)* +*Defined in [subproviders/signer.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/signer.ts#L15)* Instantiates a new SignerSubprovider. @@ -1738,7 +1738,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1762,7 +1762,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/signer.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/signer.ts#L33)* +*Defined in [subproviders/signer.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/signer.ts#L33)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1786,7 +1786,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1843,7 +1843,7 @@ This one has an async/await `emitPayloadAsync` and also defined types. ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1865,7 +1865,7 @@ ___ ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* -*Defined in [subproviders/subprovider.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L42)* +*Defined in [subproviders/subprovider.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L42)* **Parameters:** @@ -1883,7 +1883,7 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1929,7 +1929,7 @@ Name | Type | Description | \+ **new TrezorSubprovider**(`config`: [TrezorSubproviderConfig](#class-trezorsubprovider)* -*Defined in [subproviders/trezor.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L32)* +*Defined in [subproviders/trezor.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L32)* Instantiates a TrezorSubprovider. Defaults to private key path set to `44'/60'/0'/0/`. Must be initialized with trezor-connect API module https://github.com/trezor/connect. @@ -1952,7 +1952,7 @@ TrezorSubprovider instance *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1976,7 +1976,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/trezor.ts:56](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L56)* +*Defined in [subproviders/trezor.ts:56](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L56)* Retrieve a users Trezor account. This method is automatically called when issuing a `eth_accounts` JSON RPC request via your providerEngine @@ -2002,7 +2002,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -2026,7 +2026,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -2048,7 +2048,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/trezor.ts:129](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L129)* +*Defined in [subproviders/trezor.ts:129](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L129)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. If you've added the TrezorSubprovider to @@ -2075,7 +2075,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/trezor.ts:70](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L70)* +*Defined in [subproviders/trezor.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L70)* Signs a transaction on the Trezor with the account specificed by the `from` field in txParams. If you've added the TrezorSubprovider to your app's provider, you can simply send an `eth_sendTransaction` @@ -2100,7 +2100,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/trezor.ts:161](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/subproviders/trezor.ts#L161)* +*Defined in [subproviders/trezor.ts:161](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L161)* TODO:: eth_signTypedData is currently not supported on Trezor devices. @@ -2132,7 +2132,7 @@ Signature hex string (order: rsv) • **MultipleOpenConnectionsDisallowed**: = "MULTIPLE_OPEN_CONNECTIONS_DISALLOWED" -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L116)* ___ @@ -2140,7 +2140,7 @@ ___ • **TooOldLedgerFirmware**: = "TOO_OLD_LEDGER_FIRMWARE" -*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L115)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L115)*
@@ -2159,7 +2159,7 @@ ___ • **CannotDetermineAddressFromPayload**: = "CANNOT_DETERMINE_ADDRESS_FROM_PAYLOAD" -*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L121)* +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L121)* ___ @@ -2167,7 +2167,7 @@ ___ • **EmptyParametersFound**: = "EMPTY_PARAMETERS_FOUND" -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L120)*
@@ -2190,7 +2190,7 @@ ___ • **AddressNotFound**: = "ADDRESS_NOT_FOUND" -*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L107)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L107)* ___ @@ -2198,7 +2198,7 @@ ___ • **DataMissingForSignPersonalMessage**: = "DATA_MISSING_FOR_SIGN_PERSONAL_MESSAGE" -*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L108)* ___ @@ -2206,7 +2206,7 @@ ___ • **DataMissingForSignTypedData**: = "DATA_MISSING_FOR_SIGN_TYPED_DATA" -*Defined in [types.ts:109](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L109)* +*Defined in [types.ts:109](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L109)* ___ @@ -2214,7 +2214,7 @@ ___ • **FromAddressMissingOrInvalid**: = "FROM_ADDRESS_MISSING_OR_INVALID" -*Defined in [types.ts:111](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L111)* +*Defined in [types.ts:111](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L111)* ___ @@ -2222,7 +2222,7 @@ ___ • **MethodNotSupported**: = "METHOD_NOT_SUPPORTED" -*Defined in [types.ts:112](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L112)* +*Defined in [types.ts:112](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L112)* ___ @@ -2230,7 +2230,7 @@ ___ • **SenderInvalidOrNotSupplied**: = "SENDER_INVALID_OR_NOT_SUPPLIED" -*Defined in [types.ts:110](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L110)* +*Defined in [types.ts:110](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L110)*
@@ -2259,7 +2259,7 @@ shouldAskForOnDeviceConfirmation: Whether you wish to prompt the user on their L • **addressSearchLimit**? : *undefined | number* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L55)* ___ @@ -2267,7 +2267,7 @@ ___ • **numAddressesToReturn**? : *undefined | number* -*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L56)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L56)* ___ @@ -2275,7 +2275,7 @@ ___ • **shouldAskForOnDeviceConfirmation**? : *undefined | false | true* -*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L57)* +*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L57)*
@@ -2300,7 +2300,7 @@ ___ • **address**: *string* -*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L124)* ___ @@ -2308,7 +2308,7 @@ ___ • **baseDerivationPath**: *string* -*Defined in [types.ts:125](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L125)* +*Defined in [types.ts:125](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L125)* ___ @@ -2316,7 +2316,7 @@ ___ • **derivationPath**: *string* -*Defined in [types.ts:126](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L126)* +*Defined in [types.ts:126](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L126)* ___ @@ -2324,7 +2324,7 @@ ___ • **hdKey**: *`HDNode`* -*Defined in [types.ts:127](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L127)* +*Defined in [types.ts:127](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L127)*
@@ -2348,7 +2348,7 @@ ___ • **r**: *string* -*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L29)* +*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L29)* ___ @@ -2356,7 +2356,7 @@ ___ • **s**: *string* -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L30)* ___ @@ -2364,7 +2364,7 @@ ___ • **v**: *string* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L28)*
@@ -2413,7 +2413,7 @@ ___ *Overrides void* -*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L136)* +*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L136)* ___ @@ -2445,7 +2445,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum- • **close_async**: *function* -*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L98)* +*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L98)* #### Type declaration: @@ -2471,7 +2471,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum- • **close**: *function* -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L5)* #### Type declaration: @@ -2505,7 +2505,7 @@ NodeJs and Browser communication are supported. • **getAddress**: *function* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L17)* #### Type declaration: @@ -2525,7 +2525,7 @@ ___ • **signPersonalMessage**: *function* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L23)* #### Type declaration: @@ -2544,7 +2544,7 @@ ___ • **signTransaction**: *function* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L22)* #### Type declaration: @@ -2563,7 +2563,7 @@ ___ • **transport**: *[LedgerCommunicationClient](#interface-ledgercommunicationclient)* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L24)*
@@ -2587,7 +2587,7 @@ ___ • **address**: *string* -*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L79)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L79)* ___ @@ -2595,7 +2595,7 @@ ___ • **chainCode**: *string* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L81)* ___ @@ -2603,7 +2603,7 @@ ___ • **publicKey**: *string* -*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L80)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L80)*
@@ -2633,7 +2633,7 @@ accountFetchingConfigs: configs related to fetching accounts from a Ledger • **accountFetchingConfigs**? : *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* -*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L45)* ___ @@ -2641,7 +2641,7 @@ ___ • **baseDerivationPath**? : *undefined | string* -*Defined in [types.ts:44](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L44)* +*Defined in [types.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L44)* ___ @@ -2649,7 +2649,7 @@ ___ • **ledgerEthereumClientFactoryAsync**: *[LedgerEthereumClientFactoryAsync](#ledgerethereumclientfactoryasync)* -*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L43)* +*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L43)* ___ @@ -2657,7 +2657,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L42)*
@@ -2685,7 +2685,7 @@ baseDerivationPath: The base derivation path (e.g 44'/60'/0'/0) • **addressSearchLimit**? : *undefined | number* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L67)* ___ @@ -2693,7 +2693,7 @@ ___ • **baseDerivationPath**? : *undefined | string* -*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L68)* +*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L68)* ___ @@ -2701,7 +2701,7 @@ ___ • **mnemonic**: *string* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L66)*
@@ -2730,7 +2730,7 @@ ___ • **chainId**: *number* -*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L92)* +*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L92)* ___ @@ -2738,7 +2738,7 @@ ___ • **data**? : *undefined | string* -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L91)* ___ @@ -2746,7 +2746,7 @@ ___ • **from**: *string* -*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L89)* +*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L89)* ___ @@ -2754,7 +2754,7 @@ ___ • **gas**: *string* -*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L87)* +*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L87)* ___ @@ -2762,7 +2762,7 @@ ___ • **gasPrice**? : *undefined | string* -*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L86)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L86)* ___ @@ -2770,7 +2770,7 @@ ___ • **nonce**: *string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L85)* ___ @@ -2778,7 +2778,7 @@ ___ • **to**: *string* -*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L88)* +*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L88)* ___ @@ -2786,7 +2786,7 @@ ___ • **value**? : *undefined | string* -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L90)*
@@ -2809,7 +2809,7 @@ ___ • **raw**: *string* -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L102)* ___ @@ -2817,7 +2817,7 @@ ___ • **tx**: *[PartialTxParams](#interface-partialtxparams)* -*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L103)* +*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L103)*
@@ -2842,7 +2842,7 @@ ___ • **hash**: *string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L72)* ___ @@ -2850,7 +2850,7 @@ ___ • **r**: *string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L73)* ___ @@ -2858,7 +2858,7 @@ ___ • **s**: *string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L74)* ___ @@ -2866,7 +2866,7 @@ ___ • **v**: *number* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L75)*
@@ -2890,7 +2890,7 @@ ___ • **id**: *number* -*Defined in [types.ts:175](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L175)* +*Defined in [types.ts:175](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L175)* ___ @@ -2898,7 +2898,7 @@ ___ • **payload**: *any* -*Defined in [types.ts:174](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L174)* +*Defined in [types.ts:174](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L174)* ___ @@ -2906,7 +2906,7 @@ ___ • **success**: *boolean* -*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L176)* +*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L176)*
@@ -2935,7 +2935,7 @@ ___ • **chainCode**: *string* -*Defined in [types.ts:152](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L152)* +*Defined in [types.ts:152](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L152)* ___ @@ -2943,7 +2943,7 @@ ___ • **childNumb**: *number* -*Defined in [types.ts:150](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L150)* +*Defined in [types.ts:150](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L150)* ___ @@ -2951,7 +2951,7 @@ ___ • **depth**: *number* -*Defined in [types.ts:155](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L155)* +*Defined in [types.ts:155](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L155)* ___ @@ -2959,7 +2959,7 @@ ___ • **fingerprint**: *number* -*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L154)* ___ @@ -2967,7 +2967,7 @@ ___ • **path**: *object* -*Defined in [types.ts:146](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L146)* +*Defined in [types.ts:146](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L146)* #### Type declaration: @@ -2979,7 +2979,7 @@ ___ • **publicKey**: *string* -*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L153)* ___ @@ -2987,7 +2987,7 @@ ___ • **serializedPath**: *string* -*Defined in [types.ts:149](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L149)* +*Defined in [types.ts:149](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L149)* ___ @@ -2995,7 +2995,7 @@ ___ • **xpub**: *string* -*Defined in [types.ts:151](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L151)* +*Defined in [types.ts:151](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L151)*
@@ -3017,7 +3017,7 @@ ___ • **error**: *string* -*Defined in [types.ts:170](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L170)* +*Defined in [types.ts:170](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L170)*
@@ -3040,7 +3040,7 @@ ___ • **address**: *string* -*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L165)* ___ @@ -3048,7 +3048,7 @@ ___ • **signature**: *string* -*Defined in [types.ts:166](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L166)* +*Defined in [types.ts:166](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L166)*
@@ -3072,7 +3072,7 @@ ___ • **r**: *string* -*Defined in [types.ts:160](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L160)* +*Defined in [types.ts:160](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L160)* ___ @@ -3080,7 +3080,7 @@ ___ • **s**: *string* -*Defined in [types.ts:161](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L161)* +*Defined in [types.ts:161](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L161)* ___ @@ -3088,7 +3088,7 @@ ___ • **v**: *string* -*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L159)* +*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L159)*
@@ -3112,7 +3112,7 @@ ___ • **accountFetchingConfigs**: *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* -*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L140)* ___ @@ -3120,7 +3120,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:142](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L142)* +*Defined in [types.ts:142](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L142)* ___ @@ -3128,7 +3128,7 @@ ___ • **trezorConnectClientApi**: *any* -*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/subproviders/src/types.ts#L141)* +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L141)*
diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index b3cf5671d8..34092b9405 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -54,7 +54,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/bip39": "^2.4.0", "@types/bn.js": "^4.11.0", diff --git a/packages/web3-wrapper/docs/reference.md b/packages/web3-wrapper/docs/reference.md index 26d828314e..fb1b2c3141 100644 --- a/packages/web3-wrapper/docs/reference.md +++ b/packages/web3-wrapper/docs/reference.md @@ -62,7 +62,7 @@ An alternative to the Web3.js library that provides a consistent, clean, promise \+ **new Web3Wrapper**(`supportedProvider`: `SupportedProvider`, `callAndTxnDefaults`: `Partial`): *[Web3Wrapper](#class-web3wrapper)* -*Defined in [web3_wrapper.ts:145](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L145)* +*Defined in [web3_wrapper.ts:145](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L145)* Instantiates a new Web3Wrapper. @@ -83,7 +83,7 @@ An instance of the Web3Wrapper class. • **abiDecoder**: *`AbiDecoder`* -*Defined in [web3_wrapper.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L54)* +*Defined in [web3_wrapper.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L54)* ___ @@ -91,7 +91,7 @@ ___ • **isZeroExWeb3Wrapper**: *boolean* = true -*Defined in [web3_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L53)* +*Defined in [web3_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L53)* Flag to check if this instance is of type Web3Wrapper @@ -101,7 +101,7 @@ Flag to check if this instance is of type Web3Wrapper ▸ **awaitTransactionMinedAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* -*Defined in [web3_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L568)* +*Defined in [web3_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L568)* Waits for a transaction to be mined and returns the transaction receipt. Note that just because a transaction was mined does not mean it was @@ -127,7 +127,7 @@ ___ ▸ **awaitTransactionSuccessAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* -*Defined in [web3_wrapper.ts:643](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L643)* +*Defined in [web3_wrapper.ts:643](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L643)* Waits for a transaction to be mined and returns the transaction receipt. Unlike awaitTransactionMinedAsync, it will throw if the receipt has a @@ -153,7 +153,7 @@ ___ ▸ **callAsync**(`callData`: `CallData`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:525](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L525)* +*Defined in [web3_wrapper.ts:525](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L525)* Call a smart contract method at a given block height @@ -174,7 +174,7 @@ ___ ▸ **doesContractExistAtAddressAsync**(`address`: string): *`Promise`* -*Defined in [web3_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L273)* +*Defined in [web3_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L273)* Check if a contract exists at a given address @@ -194,7 +194,7 @@ ___ ▸ **estimateGasAsync**(`txData`: `Partial`): *`Promise`* -*Defined in [web3_wrapper.ts:508](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L508)* +*Defined in [web3_wrapper.ts:508](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L508)* Calculate the estimated gas cost for a given transaction @@ -214,7 +214,7 @@ ___ ▸ **getAvailableAddressesAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:421](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L421)* +*Defined in [web3_wrapper.ts:421](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L421)* Retrieve the user addresses available through the backing provider @@ -228,7 +228,7 @@ ___ ▸ **getBalanceInWeiAsync**(`owner`: string, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:254](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L254)* +*Defined in [web3_wrapper.ts:254](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L254)* Retrieves an accounts Ether balance in wei @@ -249,7 +249,7 @@ ___ ▸ **getBlockIfExistsAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:361](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L361)* +*Defined in [web3_wrapper.ts:361](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L361)* Fetch a specific Ethereum block without transaction data @@ -270,7 +270,7 @@ ___ ▸ **getBlockNumberAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:347](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L347)* +*Defined in [web3_wrapper.ts:347](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L347)* Fetches the latest block number @@ -284,7 +284,7 @@ ___ ▸ **getBlockTimestampAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L409)* +*Defined in [web3_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L409)* Fetch a block's timestamp @@ -304,7 +304,7 @@ ___ ▸ **getBlockWithTransactionDataAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:387](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L387)* +*Defined in [web3_wrapper.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L387)* Fetch a specific Ethereum block with transaction data @@ -324,7 +324,7 @@ ___ ▸ **getContractCodeAsync**(`address`: string, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:286](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L286)* +*Defined in [web3_wrapper.ts:286](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L286)* Gets the contract code by address @@ -345,7 +345,7 @@ ___ ▸ **getContractDefaults**(): *`Partial` | undefined* -*Defined in [web3_wrapper.ts:164](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L164)* +*Defined in [web3_wrapper.ts:164](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L164)* Get the contract defaults set to the Web3Wrapper instance @@ -359,7 +359,7 @@ ___ ▸ **getLogsAsync**(`filter`: `FilterObject`): *`Promise`* -*Defined in [web3_wrapper.ts:475](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L475)* +*Defined in [web3_wrapper.ts:475](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L475)* Retrieve smart contract logs for a given filter @@ -379,7 +379,7 @@ ___ ▸ **getNetworkIdAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L207)* +*Defined in [web3_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L207)* Fetches the networkId of the backing Ethereum node @@ -393,7 +393,7 @@ ___ ▸ **getNodeTypeAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:690](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L690)* +*Defined in [web3_wrapper.ts:690](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L690)* Returns either NodeType.Geth or NodeType.Ganache depending on the type of the backing Ethereum node. Throws for any other type of node. @@ -406,7 +406,7 @@ ___ ▸ **getNodeVersionAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:199](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L199)* +*Defined in [web3_wrapper.ts:199](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L199)* Fetch the backing Ethereum node's version string (e.g `MetaMask/v4.2.0`) @@ -420,7 +420,7 @@ ___ ▸ **getProvider**(): *`SupportedProvider`* -*Defined in [web3_wrapper.ts:171](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L171)* +*Defined in [web3_wrapper.ts:171](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L171)* Retrieve the Web3 provider @@ -434,7 +434,7 @@ ___ ▸ **getTransactionByHashAsync**(`txHash`: string): *`Promise`* -*Defined in [web3_wrapper.ts:239](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L239)* +*Defined in [web3_wrapper.ts:239](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L239)* Retrieves the transaction data for a given transaction @@ -454,7 +454,7 @@ ___ ▸ **getTransactionReceiptIfExistsAsync**(`txHash`: string): *`Promise`* -*Defined in [web3_wrapper.ts:217](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L217)* +*Defined in [web3_wrapper.ts:217](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L217)* Retrieves the transaction receipt for a given transaction hash if found @@ -474,7 +474,7 @@ ___ ▸ **getTransactionTraceAsync**(`txHash`: string, `traceParams`: `TraceParams`): *`Promise`* -*Defined in [web3_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L305)* +*Defined in [web3_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L305)* Gets the debug trace of a transaction @@ -495,7 +495,7 @@ ___ ▸ **increaseTimeAsync**(`timeDelta`: number): *`Promise`* -*Defined in [web3_wrapper.ts:458](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L458)* +*Defined in [web3_wrapper.ts:458](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L458)* Increase the next blocks timestamp on TestRPC/Ganache or Geth local node. Will throw if provider is neither TestRPC/Ganache or Geth. @@ -514,7 +514,7 @@ ___ ▸ **isSenderAddressAvailableAsync**(`senderAddress`: string): *`Promise`* -*Defined in [web3_wrapper.ts:189](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L189)* +*Defined in [web3_wrapper.ts:189](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L189)* Check whether an address is available through the backing provider. This can be useful if you want to know whether a user can sign messages or transactions from @@ -536,7 +536,7 @@ ___ ▸ **mineBlockAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:450](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L450)* +*Defined in [web3_wrapper.ts:450](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L450)* Mine a block on a TestRPC/Ganache local node @@ -548,7 +548,7 @@ ___ ▸ **revertSnapshotAsync**(`snapshotId`: number): *`Promise`* -*Defined in [web3_wrapper.ts:442](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L442)* +*Defined in [web3_wrapper.ts:442](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L442)* Revert the blockchain state to a previous snapshot state on TestRPC/Ganache local node @@ -568,7 +568,7 @@ ___ ▸ **sendRawPayloadAsync**<**A**>(`payload`: `Partial`): *`Promise
`* -*Defined in [web3_wrapper.ts:671](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L671)* +*Defined in [web3_wrapper.ts:671](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L671)* Sends a raw Ethereum JSON RPC payload and returns the response's `result` key @@ -592,7 +592,7 @@ ___ ▸ **sendTransactionAsync**(`txData`: `TxData`): *`Promise`* -*Defined in [web3_wrapper.ts:547](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L547)* +*Defined in [web3_wrapper.ts:547](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L547)* Send a transaction @@ -612,7 +612,7 @@ ___ ▸ **setHeadAsync**(`blockNumber`: number): *`Promise`* -*Defined in [web3_wrapper.ts:662](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L662)* +*Defined in [web3_wrapper.ts:662](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L662)* Calls the 'debug_setHead' JSON RPC method, which sets the current head of the local chain by block number. Note, this is a destructive action and @@ -634,7 +634,7 @@ ___ ▸ **setProvider**(`supportedProvider`: `SupportedProvider`): *void* -*Defined in [web3_wrapper.ts:178](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L178)* +*Defined in [web3_wrapper.ts:178](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L178)* Update the used Web3 provider @@ -652,7 +652,7 @@ ___ ▸ **signMessageAsync**(`address`: string, `message`: string): *`Promise`* -*Defined in [web3_wrapper.ts:319](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L319)* +*Defined in [web3_wrapper.ts:319](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L319)* Sign a message with a specific address's private key (`eth_sign`) @@ -673,7 +673,7 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Defined in [web3_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L334)* +*Defined in [web3_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L334)* Sign an EIP712 typed data message with a specific address's private key (`eth_signTypedData`) @@ -694,7 +694,7 @@ ___ ▸ **takeSnapshotAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:433](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L433)* +*Defined in [web3_wrapper.ts:433](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L433)* Take a snapshot of the blockchain state on a TestRPC/Ganache local node @@ -708,7 +708,7 @@ ___ ▸ **isAddress**(`address`: string): *boolean* -*Defined in [web3_wrapper.ts:65](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L65)* +*Defined in [web3_wrapper.ts:65](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L65)* Check if an address is a valid Ethereum address @@ -728,7 +728,7 @@ ___ ▸ **toBaseUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* -*Defined in [web3_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L91)* +*Defined in [web3_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L91)* A baseUnit is defined as the smallest denomination of a token. An amount expressed in baseUnits is the amount expressed in the smallest denomination. @@ -751,7 +751,7 @@ ___ ▸ **toUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* -*Defined in [web3_wrapper.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L76)* +*Defined in [web3_wrapper.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L76)* A unit amount is defined as the amount of a token above the specified decimal places (integer part). E.g: If a currency has 18 decimal places, 1e18 or one quintillion of the currency is equivalent @@ -774,7 +774,7 @@ ___ ▸ **toWei**(`ethAmount`: `BigNumber`): *`BigNumber`* -*Defined in [web3_wrapper.ts:107](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/web3_wrapper.ts#L107)* +*Defined in [web3_wrapper.ts:107](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L107)* Convert an Ether amount from ETH to Wei @@ -805,7 +805,7 @@ Amount in wei • **Ganache**: = "GANACHE" -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L91)* ___ @@ -813,7 +813,7 @@ ___ • **Geth**: = "GETH" -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L90)*
@@ -831,7 +831,7 @@ ___ • **TransactionMiningTimeout**: = "TRANSACTION_MINING_TIMEOUT" -*Defined in [types.ts:2](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L2)* +*Defined in [types.ts:2](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L2)*
@@ -873,7 +873,7 @@ ___ • **difficulty**: *string* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L15)* ___ @@ -881,7 +881,7 @@ ___ • **extraData**: *string* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L17)* ___ @@ -889,7 +889,7 @@ ___ • **gasLimit**: *string* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L19)* ___ @@ -897,7 +897,7 @@ ___ • **gasUsed**: *string* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L20)* ___ @@ -905,7 +905,7 @@ ___ • **hash**: *string | null* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L7)* ___ @@ -913,7 +913,7 @@ ___ • **logsBloom**: *string | null* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L11)* ___ @@ -921,7 +921,7 @@ ___ • **miner**: *string* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L14)* ___ @@ -929,7 +929,7 @@ ___ • **nonce**: *string | null* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L9)* ___ @@ -937,7 +937,7 @@ ___ • **number**: *string | null* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L6)* ___ @@ -945,7 +945,7 @@ ___ • **parentHash**: *string* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L8)* ___ @@ -953,7 +953,7 @@ ___ • **sha3Uncles**: *string* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L10)* ___ @@ -961,7 +961,7 @@ ___ • **size**: *string* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L18)* ___ @@ -969,7 +969,7 @@ ___ • **stateRoot**: *string* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L13)* ___ @@ -977,7 +977,7 @@ ___ • **timestamp**: *string* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L21)* ___ @@ -985,7 +985,7 @@ ___ • **totalDifficulty**: *string* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L16)* ___ @@ -993,7 +993,7 @@ ___ • **transactionsRoot**: *string* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L12)* ___ @@ -1001,7 +1001,7 @@ ___ • **uncles**: *string[]* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L22)*
@@ -1044,7 +1044,7 @@ ___ *Inherited from [AbstractBlockRPC](#difficulty)* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L15)* ___ @@ -1054,7 +1054,7 @@ ___ *Inherited from [AbstractBlockRPC](#extradata)* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L17)* ___ @@ -1064,7 +1064,7 @@ ___ *Inherited from [AbstractBlockRPC](#gaslimit)* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L19)* ___ @@ -1074,7 +1074,7 @@ ___ *Inherited from [AbstractBlockRPC](#gasused)* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L20)* ___ @@ -1084,7 +1084,7 @@ ___ *Inherited from [AbstractBlockRPC](#hash)* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L7)* ___ @@ -1094,7 +1094,7 @@ ___ *Inherited from [AbstractBlockRPC](#logsbloom)* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L11)* ___ @@ -1104,7 +1104,7 @@ ___ *Inherited from [AbstractBlockRPC](#miner)* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L14)* ___ @@ -1114,7 +1114,7 @@ ___ *Inherited from [AbstractBlockRPC](#nonce)* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L9)* ___ @@ -1124,7 +1124,7 @@ ___ *Inherited from [AbstractBlockRPC](#number)* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L6)* ___ @@ -1134,7 +1134,7 @@ ___ *Inherited from [AbstractBlockRPC](#parenthash)* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L8)* ___ @@ -1144,7 +1144,7 @@ ___ *Inherited from [AbstractBlockRPC](#sha3uncles)* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L10)* ___ @@ -1154,7 +1154,7 @@ ___ *Inherited from [AbstractBlockRPC](#size)* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L18)* ___ @@ -1164,7 +1164,7 @@ ___ *Inherited from [AbstractBlockRPC](#stateroot)* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L13)* ___ @@ -1174,7 +1174,7 @@ ___ *Inherited from [AbstractBlockRPC](#timestamp)* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L21)* ___ @@ -1184,7 +1184,7 @@ ___ *Inherited from [AbstractBlockRPC](#totaldifficulty)* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L16)* ___ @@ -1192,7 +1192,7 @@ ___ • **transactions**: *string[]* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L25)* ___ @@ -1202,7 +1202,7 @@ ___ *Inherited from [AbstractBlockRPC](#transactionsroot)* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L12)* ___ @@ -1212,7 +1212,7 @@ ___ *Inherited from [AbstractBlockRPC](#uncles)* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L22)*
@@ -1255,7 +1255,7 @@ ___ *Inherited from [AbstractBlockRPC](#difficulty)* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L15)* ___ @@ -1265,7 +1265,7 @@ ___ *Inherited from [AbstractBlockRPC](#extradata)* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L17)* ___ @@ -1275,7 +1275,7 @@ ___ *Inherited from [AbstractBlockRPC](#gaslimit)* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L19)* ___ @@ -1285,7 +1285,7 @@ ___ *Inherited from [AbstractBlockRPC](#gasused)* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L20)* ___ @@ -1295,7 +1295,7 @@ ___ *Inherited from [AbstractBlockRPC](#hash)* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L7)* ___ @@ -1305,7 +1305,7 @@ ___ *Inherited from [AbstractBlockRPC](#logsbloom)* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L11)* ___ @@ -1315,7 +1315,7 @@ ___ *Inherited from [AbstractBlockRPC](#miner)* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L14)* ___ @@ -1325,7 +1325,7 @@ ___ *Inherited from [AbstractBlockRPC](#nonce)* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L9)* ___ @@ -1335,7 +1335,7 @@ ___ *Inherited from [AbstractBlockRPC](#number)* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L6)* ___ @@ -1345,7 +1345,7 @@ ___ *Inherited from [AbstractBlockRPC](#parenthash)* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L8)* ___ @@ -1355,7 +1355,7 @@ ___ *Inherited from [AbstractBlockRPC](#sha3uncles)* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L10)* ___ @@ -1365,7 +1365,7 @@ ___ *Inherited from [AbstractBlockRPC](#size)* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L18)* ___ @@ -1375,7 +1375,7 @@ ___ *Inherited from [AbstractBlockRPC](#stateroot)* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L13)* ___ @@ -1385,7 +1385,7 @@ ___ *Inherited from [AbstractBlockRPC](#timestamp)* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L21)* ___ @@ -1395,7 +1395,7 @@ ___ *Inherited from [AbstractBlockRPC](#totaldifficulty)* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L16)* ___ @@ -1403,7 +1403,7 @@ ___ • **transactions**: *[TransactionRPC](#interface-transactionrpc)[]* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L28)* ___ @@ -1413,7 +1413,7 @@ ___ *Inherited from [AbstractBlockRPC](#transactionsroot)* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L12)* ___ @@ -1423,7 +1423,7 @@ ___ *Inherited from [AbstractBlockRPC](#uncles)* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L22)*
@@ -1455,7 +1455,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-data)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L76)* ___ @@ -1463,7 +1463,7 @@ ___ • **from**? : *undefined | string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L85)* ___ @@ -1473,7 +1473,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-gas)* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L74)* ___ @@ -1483,7 +1483,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-gasprice)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L75)* ___ @@ -1493,7 +1493,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-nonce)* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L77)* ___ @@ -1503,7 +1503,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-to)* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L72)* ___ @@ -1513,7 +1513,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-value)* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L73)*
@@ -1544,7 +1544,7 @@ ___ • **data**? : *undefined | string* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L76)* ___ @@ -1552,7 +1552,7 @@ ___ • **gas**? : *undefined | string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L74)* ___ @@ -1560,7 +1560,7 @@ ___ • **gasPrice**? : *undefined | string* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L75)* ___ @@ -1568,7 +1568,7 @@ ___ • **nonce**? : *undefined | string* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L77)* ___ @@ -1576,7 +1576,7 @@ ___ • **to**? : *undefined | string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L72)* ___ @@ -1584,7 +1584,7 @@ ___ • **value**? : *undefined | string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L73)*
@@ -1613,7 +1613,7 @@ ___ • **address**: *string* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L64)* ___ @@ -1621,7 +1621,7 @@ ___ • **blockHash**: *string | null* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L62)* ___ @@ -1629,7 +1629,7 @@ ___ • **blockNumber**: *string | null* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L63)* ___ @@ -1637,7 +1637,7 @@ ___ • **data**: *string* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L65)* ___ @@ -1645,7 +1645,7 @@ ___ • **logIndex**: *string | null* -*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L59)* +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L59)* ___ @@ -1653,7 +1653,7 @@ ___ • **topics**: *string[]* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L66)* ___ @@ -1661,7 +1661,7 @@ ___ • **transactionHash**: *string* -*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L61)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L61)* ___ @@ -1669,7 +1669,7 @@ ___ • **transactionIndex**: *string | null* -*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L60)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L60)*
@@ -1701,7 +1701,7 @@ ___ • **blockHash**: *string* -*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L45)* ___ @@ -1709,7 +1709,7 @@ ___ • **blockNumber**: *string* -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L46)* ___ @@ -1717,7 +1717,7 @@ ___ • **contractAddress**: *string | null* -*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L54)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L54)* ___ @@ -1725,7 +1725,7 @@ ___ • **cumulativeGasUsed**: *string* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L52)* ___ @@ -1733,7 +1733,7 @@ ___ • **from**: *string* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L49)* ___ @@ -1741,7 +1741,7 @@ ___ • **gasUsed**: *string* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L53)* ___ @@ -1749,7 +1749,7 @@ ___ • **logs**: *[LogEntryRPC](#interface-logentryrpc)[]* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L55)* ___ @@ -1757,7 +1757,7 @@ ___ • **status**: *[TransactionReceiptStatusRPC](#transactionreceiptstatusrpc)* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L51)* ___ @@ -1765,7 +1765,7 @@ ___ • **to**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L50)* ___ @@ -1773,7 +1773,7 @@ ___ • **transactionHash**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L47)* ___ @@ -1781,7 +1781,7 @@ ___ • **transactionIndex**: *string* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L48)*
@@ -1813,7 +1813,7 @@ ___ • **blockHash**: *string | null* -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L33)* ___ @@ -1821,7 +1821,7 @@ ___ • **blockNumber**: *string | null* -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L34)* ___ @@ -1829,7 +1829,7 @@ ___ • **from**: *string* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L36)* ___ @@ -1837,7 +1837,7 @@ ___ • **gas**: *string* -*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L40)* +*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L40)* ___ @@ -1845,7 +1845,7 @@ ___ • **gasPrice**: *string* -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L39)* ___ @@ -1853,7 +1853,7 @@ ___ • **hash**: *string* -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L31)* ___ @@ -1861,7 +1861,7 @@ ___ • **input**: *string* -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L41)* ___ @@ -1869,7 +1869,7 @@ ___ • **nonce**: *string* -*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L32)* ___ @@ -1877,7 +1877,7 @@ ___ • **to**: *string | null* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L37)* ___ @@ -1885,7 +1885,7 @@ ___ • **transactionIndex**: *string | null* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L35)* ___ @@ -1893,7 +1893,7 @@ ___ • **value**: *string* -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L38)*
@@ -1925,7 +1925,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-data)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L76)* ___ @@ -1933,7 +1933,7 @@ ___ • **from**: *string* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L81)* ___ @@ -1943,7 +1943,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-gas)* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L74)* ___ @@ -1953,7 +1953,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-gasprice)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L75)* ___ @@ -1963,7 +1963,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-nonce)* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L77)* ___ @@ -1973,7 +1973,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-to)* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L72)* ___ @@ -1983,7 +1983,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-value)* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/61e50a1cd/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L73)*
diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index a1f374ad9e..f52144ff62 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -39,7 +39,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/web3-wrapper/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.6", + "@0x/ts-doc-gen": "^0.0.7", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", From 1ed66966a87321696692ca72e3a4ec924edb3708 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sun, 4 Aug 2019 17:53:41 +0200 Subject: [PATCH 08/37] Prettierignore generated docs --- .prettierignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.prettierignore b/.prettierignore index f4d158c3ae..e5c5466bd4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -38,3 +38,4 @@ packages/sol-coverage/test/fixtures/artifacts packages/abi-gen/test-cli/fixtures/artifacts/AbiGenDummy.json packages/abi-gen/test-cli/fixtures/artifacts/LibDummy.json packages/abi-gen/test-cli/fixtures/artifacts/TestLibDummy.json +packages/*/docs From 549e35e972b5d20e2094171dba35391b272fca8c Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sun, 4 Aug 2019 18:36:45 +0200 Subject: [PATCH 09/37] Update yarn.lock --- yarn.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0880ccaa5b..88fa14b148 100644 --- a/yarn.lock +++ b/yarn.lock @@ -806,10 +806,10 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.3.0" -"@0x/ts-doc-gen@^0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.6.tgz#f125ea59897e8e3218b366cb9ecf60899d3f619d" - integrity sha512-oPxuIqUZbviyaW4zFN7ilY8rHgwruEU2EU6RqAqEwZV6z/c/7qRk3nk/p3O6NocwSdS82myCudr2VclC0YfzPA== +"@0x/ts-doc-gen@^0.0.7": + version "0.0.7" + resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.7.tgz#1856870fcd182ebe5caa81b71bbd5d460228f3c9" + integrity sha512-sMclk5BiAt2DlnoevYxas7n+X38CTqIsyTvfpOED08g/Te7p2bwk0KEI4JeN5rOdpZAp4jJAkZGPsvzIVlEQdw== dependencies: "@0x/typescript-typings" "^4.2.2" "@0x/utils" "^4.3.3" From 706f04ee272ca1009bf2fc929acf6242aeb93703 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sun, 4 Aug 2019 18:48:02 +0200 Subject: [PATCH 10/37] Remove forced resolution of `graceful-fs` since new Lerna version depends on backward incompatible behavior to pinned version --- package.json | 3 --- yarn.lock | 24 +++++++++++++++++++++++- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 882a6f7d26..bb06fdadb9 100644 --- a/package.json +++ b/package.json @@ -75,9 +75,6 @@ "repoBranchBase": "development" } }, - "resolutions": { - "graceful-fs": "4.1.15" - }, "devDependencies": { "@0x-lerna-fork/lerna": "3.16.10", "@0xproject/npm-cli-login": "^0.0.11", diff --git a/yarn.lock b/yarn.lock index 88fa14b148..e7caa28705 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8851,10 +8851,27 @@ got@^6.7.1: unzip-response "^2.0.1" url-parse-lax "^1.0.0" -graceful-fs@4.1.15, graceful-fs@^3.0.0, graceful-fs@^4.0.0, graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@~1.2.0: +graceful-fs@^3.0.0: + version "3.0.11" + resolved "http://localhost:4873/graceful-fs/-/graceful-fs-3.0.11.tgz#7613c778a1afea62f25c630a086d7f3acbbdd818" + integrity sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg= + dependencies: + natives "^1.1.0" + +graceful-fs@^4.0.0, graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: version "4.1.15" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" +graceful-fs@^4.2.0: + version "4.2.1" + resolved "http://localhost:4873/graceful-fs/-/graceful-fs-4.2.1.tgz#1c1f0c364882c868f5bff6512146328336a11b1d" + integrity sha512-b9usnbDGnD928gJB3LrCmxoibr3VE4U2SMo5PBuBnokWyDADTqDPXg4YpwKF1trpH+UbGp7QLicO3+aWEy0+mw== + +graceful-fs@~1.2.0: + version "1.2.3" + resolved "http://localhost:4873/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364" + integrity sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q= + "graceful-readlink@>= 1.0.0": version "1.0.1" resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" @@ -12502,6 +12519,11 @@ nanomatch@^1.2.9: snapdragon "^0.8.1" to-regex "^3.0.1" +natives@^1.1.0: + version "1.1.6" + resolved "http://localhost:4873/natives/-/natives-1.1.6.tgz#a603b4a498ab77173612b9ea1acdec4d980f00bb" + integrity sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" From c1ccb5af0f93f5b310e19b718e5cbce726ea2be3 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Mon, 5 Aug 2019 14:32:56 +0200 Subject: [PATCH 11/37] Update Typedoc version --- yarn.lock | 71 ++----------------------------------------------------- 1 file changed, 2 insertions(+), 69 deletions(-) diff --git a/yarn.lock b/yarn.lock index e7caa28705..c77fd2c2a8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1776,12 +1776,6 @@ version "2.0.0" resolved "https://registry.yarnpkg.com/@types/find-versions/-/find-versions-2.0.0.tgz#a976ca032ab8dd1161116604eded0620d2b85df2" -"@types/fs-extra@^5.0.3": - version "5.0.4" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-5.0.4.tgz#b971134d162cc0497d221adde3dbb67502225599" - dependencies: - "@types/node" "*" - "@types/glob@*", "@types/glob@5.0.35": version "5.0.35" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.35.tgz#1ae151c802cece940443b5ac246925c85189f32a" @@ -1798,10 +1792,6 @@ "@types/minimatch" "*" "@types/node" "*" -"@types/handlebars@^4.0.38": - version "4.0.39" - resolved "https://registry.yarnpkg.com/@types/handlebars/-/handlebars-4.0.39.tgz#961fb54db68030890942e6aeffe9f93a957807bd" - "@types/hdkey@^0.7.0": version "0.7.0" resolved "https://registry.yarnpkg.com/@types/hdkey/-/hdkey-0.7.0.tgz#6734d138e3c597f241be8fae2e60c2949bc3af87" @@ -1858,18 +1848,10 @@ version "4.14.104" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.104.tgz#53ee2357fa2e6e68379341d92eb2ecea4b11bb80" -"@types/lodash@^4.14.110": - version "4.14.116" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.116.tgz#5ccf215653e3e8c786a58390751033a9adca0eb9" - "@types/loglevel@^1.5.3": version "1.5.3" resolved "https://registry.yarnpkg.com/@types/loglevel/-/loglevel-1.5.3.tgz#adfce55383edc5998a2170ad581b3e23d6adb5b8" -"@types/marked@^0.4.0": - version "0.4.0" - resolved "https://registry.yarnpkg.com/@types/marked/-/marked-0.4.0.tgz#057a6165703e7419217f8ffc6887747f980b6315" - "@types/material-ui@^0.20.0": version "0.20.8" resolved "https://registry.npmjs.org/@types/material-ui/-/material-ui-0.20.8.tgz#76e46f9accc48944f532c3b1038a2b46214454fa" @@ -2109,13 +2091,6 @@ "@types/express-serve-static-core" "*" "@types/mime" "*" -"@types/shelljs@^0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.8.0.tgz#0caa56b68baae4f68f44e0dd666ab30b098e3632" - dependencies: - "@types/glob" "*" - "@types/node" "*" - "@types/sinon@^2.2.2": version "2.3.7" resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-2.3.7.tgz#e92c2fed3297eae078d78d1da032b26788b4af86" @@ -8985,7 +8960,7 @@ handle-thing@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-1.2.5.tgz#fd7aad726bf1a5fd16dfc29b2f7a6601d27139c4" -handlebars@^4.0.1, handlebars@^4.0.11, handlebars@^4.0.2, handlebars@^4.0.3, handlebars@^4.0.6, handlebars@^4.1.0, handlebars@^4.1.2: +handlebars@^4.0.1, handlebars@^4.0.11, handlebars@^4.0.2, handlebars@^4.0.3, handlebars@^4.1.0, handlebars@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.1.2.tgz#b6b37c1ced0306b221e094fc7aca3ec23b131b67" dependencies: @@ -9186,7 +9161,7 @@ heap@0.2.6: version "0.2.6" resolved "https://registry.yarnpkg.com/heap/-/heap-0.2.6.tgz#087e1f10b046932fc8594dd9e6d378afc9d1e5ac" -highlight.js@^9.0.0, highlight.js@^9.11.0, highlight.js@~9.12.0: +highlight.js@^9.11.0, highlight.js@~9.12.0: version "9.12.0" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e" @@ -11903,10 +11878,6 @@ marked@0.3.18: version "0.3.18" resolved "https://registry.npmjs.org/marked/-/marked-0.3.18.tgz#3ef058cd926101849b92a7a7c15db18c7fc76b2f" -marked@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/marked/-/marked-0.4.0.tgz#9ad2c2a7a1791f10a852e0112f77b571dce10c66" - marked@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/marked/-/marked-0.7.0.tgz#b64201f051d271b1edc10a04d1ae9b74bb8e5c0e" @@ -16427,14 +16398,6 @@ shelljs@^0.7.3: interpret "^1.0.0" rechoir "^0.6.2" -shelljs@^0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.2.tgz#345b7df7763f4c2340d584abb532c5f752ca9e35" - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - shelljs@^0.8.3: version "0.8.3" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097" @@ -17987,10 +17950,6 @@ typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" -typedoc-default-themes@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.5.0.tgz#6dc2433e78ed8bea8e887a3acde2f31785bd6227" - typedoc-default-themes@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.6.0.tgz#7e73bf54dd9e11550dd0fb576d5176b758f8f8b5" @@ -18006,28 +17965,6 @@ typedoc-plugin-markdown@^2.1.0: resolved "https://registry.yarnpkg.com/typedoc-plugin-markdown/-/typedoc-plugin-markdown-2.1.0.tgz#17b7b97415b97214985d1a61ef7b9a4dce3e8305" integrity sha512-f7CgreapeUIpm85BnC4ec9PZp10INOpLpItSCV4YFlZS4VaBA/a1D2nYv9+7TVJugc084XlSFUY+OX9fwGAUpA== -typedoc@0.13.0: - version "0.13.0" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.13.0.tgz#9efdf352bd54873955cd161bd4b75f24a8c59dde" - dependencies: - "@types/fs-extra" "^5.0.3" - "@types/handlebars" "^4.0.38" - "@types/highlight.js" "^9.12.3" - "@types/lodash" "^4.14.110" - "@types/marked" "^0.4.0" - "@types/minimatch" "3.0.3" - "@types/shelljs" "^0.8.0" - fs-extra "^7.0.0" - handlebars "^4.0.6" - highlight.js "^9.0.0" - lodash "^4.17.10" - marked "^0.4.0" - minimatch "^3.0.0" - progress "^2.0.0" - shelljs "^0.8.2" - typedoc-default-themes "^0.5.0" - typescript "3.1.x" - typedoc@^0.15.0: version "0.15.0" resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.15.0.tgz#21eaf4db41cf2797bad027a74f2a75cd08ae0c2d" @@ -18081,10 +18018,6 @@ typescript@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.1.tgz#43738f29585d3a87575520a4b93ab6026ef11fdb" -typescript@3.1.x: - version "3.1.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.1.3.tgz#01b70247a6d3c2467f70c45795ef5ea18ce191d5" - typescript@3.5.x: version "3.5.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977" From 01853064b0b87ed9b65b8916b2f0306823901eb2 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Mon, 5 Aug 2019 18:58:35 +0200 Subject: [PATCH 12/37] Fix ts-doc-gen version to 0.0.7 --- packages/asset-buyer/package.json | 2 +- packages/asset-swapper/package.json | 2 +- packages/connect/package.json | 2 +- packages/ethereum-types/package.json | 2 +- packages/json-schemas/package.json | 2 +- packages/sol-coverage/package.json | 2 +- packages/sol-profiler/package.json | 2 +- packages/sol-trace/package.json | 2 +- packages/subproviders/package.json | 2 +- packages/web3-wrapper/package.json | 2 +- yarn.lock | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index ddf21c6284..02a873cb1b 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -53,7 +53,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index aabdd22439..4e50793568 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -57,7 +57,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/connect/package.json b/packages/connect/package.json index d440922de5..1709e9f76c 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -60,7 +60,7 @@ "websocket": "^1.0.26" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "@types/fetch-mock": "^6.0.3", "@types/lodash": "4.14.104", diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index fe4f8e2bc2..0909470d59 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/ethereum-types/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "make-promises-safe": "^1.1.0", "shx": "^0.2.2", diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 7a55d0ce9e..7ab2991fc6 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -48,7 +48,7 @@ "lodash.values": "^4.3.0" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "@0x/utils": "^4.5.0", "@types/lodash.foreach": "^4.5.3", diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index 91e71f254a..dadf00d6f8 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index b28552a4d2..250c6e064a 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index 1ebae10062..d63004253f 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -43,7 +43,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "@types/loglevel": "^1.5.3", "@types/node": "*", diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index 34092b9405..3ee5169e1d 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -54,7 +54,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "@types/bip39": "^2.4.0", "@types/bn.js": "^4.11.0", diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index f52144ff62..6490be1d55 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -39,7 +39,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/web3-wrapper/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.7", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/yarn.lock b/yarn.lock index c77fd2c2a8..e28f6316f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -806,7 +806,7 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.3.0" -"@0x/ts-doc-gen@^0.0.7": +"@0x/ts-doc-gen@0.0.7": version "0.0.7" resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.7.tgz#1856870fcd182ebe5caa81b71bbd5d460228f3c9" integrity sha512-sMclk5BiAt2DlnoevYxas7n+X38CTqIsyTvfpOED08g/Te7p2bwk0KEI4JeN5rOdpZAp4jJAkZGPsvzIVlEQdw== From 436bdde461061e66aba2fc147a9d92aec66e8778 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Mon, 5 Aug 2019 19:04:04 +0200 Subject: [PATCH 13/37] Temporarily ignore compiler errors since Typedoc is using Typescript 3.5.x and we are still on 3.0.1 but upgrading should happen in a separate PR --- packages/0x.js/package.json | 2 +- packages/asset-buyer/package.json | 2 +- packages/asset-swapper/package.json | 2 +- packages/connect/package.json | 2 +- packages/ethereum-types/package.json | 2 +- packages/json-schemas/package.json | 2 +- packages/migrations/package.json | 2 +- packages/order-utils/package.json | 2 +- packages/sol-compiler/package.json | 2 +- packages/sol-coverage/package.json | 2 +- packages/sol-profiler/package.json | 2 +- packages/sol-trace/package.json | 2 +- packages/subproviders/package.json | 2 +- packages/web3-wrapper/package.json | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 0ab78ad8cc..3b540ed369 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -29,7 +29,7 @@ "build:commonjs": "tsc -b", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index 02a873cb1b..be67f6b2dd 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -21,7 +21,7 @@ "clean": "shx rm -rf lib test_temp", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index 4e50793568..6ee4552159 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -21,7 +21,7 @@ "clean": "shx rm -rf lib test_temp", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/connect/package.json b/packages/connect/package.json index 1709e9f76c..5cafa3a0ff 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -29,7 +29,7 @@ "test:circleci": "yarn test:coverage", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index 0909470d59..d7737ea07a 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -15,7 +15,7 @@ "fix": "tslint --fix --format stylish --project .", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 7ab2991fc6..536d350d2e 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -21,7 +21,7 @@ "clean": "shx rm -rf lib test_temp generated_docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/migrations/package.json b/packages/migrations/package.json index e36cedca8f..f56230a2e1 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -19,7 +19,7 @@ "script:migrate:v2:snapshot": "node ./lib/migrate_snapshot.js", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES", + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES", "build:snapshot": "rm -rf ${npm_package_config_snapshot_name} && yarn migrate:v2:snapshot && zip -r \"${npm_package_config_snapshot_name}-${npm_package_version}.zip\" ${npm_package_config_snapshot_name}", "build:snapshot:docker": "docker build --tag ${npm_package_config_docker_snapshot_name}:${npm_package_version} --tag ${npm_package_config_docker_snapshot_name}:latest .", "publish:snapshot": "aws s3 cp ${npm_package_config_snapshot_name}-${npm_package_version}.zip ${npm_package_config_s3_snapshot_bucket} && aws s3 cp ${npm_package_config_s3_snapshot_bucket}/${npm_package_config_snapshot_name}-${npm_package_version}.zip ${npm_package_config_s3_snapshot_bucket}/${npm_package_config_snapshot_name}-latest.zip", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 24b6227fb2..7b66d9363f 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -21,7 +21,7 @@ "fix": "tslint --fix --format stylish --project .", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 323a4cae0a..0023ce2d63 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -24,7 +24,7 @@ "test:circleci": "yarn test:coverage", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index dadf00d6f8..bf79552347 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -15,7 +15,7 @@ "clean": "shx rm -rf lib src/artifacts generated_docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 250c6e064a..9be0913536 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -15,7 +15,7 @@ "clean": "shx rm -rf lib src/artifacts generated_docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index d63004253f..3522d3c88f 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -15,7 +15,7 @@ "clean": "shx rm -rf lib src/artifacts generated_docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index 3ee5169e1d..ff2c3025d9 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -24,7 +24,7 @@ "test:integration": "run-s clean build run_mocha_integration", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 6490be1d55..1927302545 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -22,7 +22,7 @@ "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", - "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" + "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { "postpublish": { From b0c9a3bbe1acd7dfa77ed46ef0259d23ca7090e9 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Thu, 8 Aug 2019 23:38:08 +0200 Subject: [PATCH 14/37] Remove excess comma --- packages/contract-wrappers/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 2c7947a90d..a94459abd9 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -33,7 +33,7 @@ "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --output src/generated-wrappers --backend ethers", "docs_test": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --out generated_docs ./src/generated-wrappers/*", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json" }, "config": { "abis": "../contract-artifacts/artifacts/@(AssetProxyOwner|DevUtils|DutchAuction|DummyERC20Token|DummyERC721Token|ERC20Proxy|ERC20Token|ERC721Proxy|ERC721Token|Exchange|Forwarder|IAssetProxy|IValidator|IWallet|MultiAssetProxy|OrderValidator|WETH9|ZRXToken|Coordinator|CoordinatorRegistry|EthBalanceChecker).json" From 4161055cc7ab78cfbc17be23418c31fc236ed762 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 9 Aug 2019 00:04:41 +0200 Subject: [PATCH 15/37] Remove all localhost resolutions from yarn --- yarn.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index e28f6316f1..95634b4f13 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8828,7 +8828,7 @@ got@^6.7.1: graceful-fs@^3.0.0: version "3.0.11" - resolved "http://localhost:4873/graceful-fs/-/graceful-fs-3.0.11.tgz#7613c778a1afea62f25c630a086d7f3acbbdd818" + resolved "http://registry.yarnpkg.com/graceful-fs/-/graceful-fs-3.0.11.tgz#7613c778a1afea62f25c630a086d7f3acbbdd818" integrity sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg= dependencies: natives "^1.1.0" @@ -8839,12 +8839,12 @@ graceful-fs@^4.0.0, graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.1 graceful-fs@^4.2.0: version "4.2.1" - resolved "http://localhost:4873/graceful-fs/-/graceful-fs-4.2.1.tgz#1c1f0c364882c868f5bff6512146328336a11b1d" + resolved "http://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.1.tgz#1c1f0c364882c868f5bff6512146328336a11b1d" integrity sha512-b9usnbDGnD928gJB3LrCmxoibr3VE4U2SMo5PBuBnokWyDADTqDPXg4YpwKF1trpH+UbGp7QLicO3+aWEy0+mw== graceful-fs@~1.2.0: version "1.2.3" - resolved "http://localhost:4873/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364" + resolved "http://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364" integrity sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q= "graceful-readlink@>= 1.0.0": @@ -12492,7 +12492,7 @@ nanomatch@^1.2.9: natives@^1.1.0: version "1.1.6" - resolved "http://localhost:4873/natives/-/natives-1.1.6.tgz#a603b4a498ab77173612b9ea1acdec4d980f00bb" + resolved "http://registry.yarnpkg.com/natives/-/natives-1.1.6.tgz#a603b4a498ab77173612b9ea1acdec4d980f00bb" integrity sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA== natural-compare@^1.4.0: From b503fecccb8fcee3d0f2cf35e84266e6623a8776 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 9 Aug 2019 11:18:15 +0200 Subject: [PATCH 16/37] Add ignore compiler errors in Typedoc json command for now --- packages/abi-gen-wrappers/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/abi-gen-wrappers/package.json b/packages/abi-gen-wrappers/package.json index 1fd596ba4c..06d6ea5473 100644 --- a/packages/abi-gen-wrappers/package.json +++ b/packages/abi-gen-wrappers/package.json @@ -19,7 +19,7 @@ "prettier_contract_wrappers": "prettier --write src/generated-wrappers/* --config ../../.prettierrc", "clean": "shx rm -rf lib src/generated-wrappers", "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --output src/generated-wrappers --backend ethers", - "docs": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --out generated_docs ./src/generated-wrappers/*" + "docs": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --out generated_docs ./src/generated-wrappers/*" }, "config": { "abis": "../contract-artifacts/artifacts/@(AssetProxyOwner|DevUtils|DutchAuction|DummyERC20Token|DummyERC721Token|ERC20Proxy|ERC20Token|ERC721Proxy|ERC721Token|Exchange|Forwarder|IAssetProxy|IValidator|IWallet|MultiAssetProxy|OrderValidator|WETH9|ZRXToken|Coordinator|CoordinatorRegistry|EthBalanceChecker|ERC1155Proxy|StaticCallProxy).json" From ceaa6a592cad2404ff48262ecb0d391efb8a7969 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 9 Aug 2019 13:43:17 +0200 Subject: [PATCH 17/37] Update ts-doc-gen --- packages/0x.js/package.json | 2 +- packages/asset-buyer/package.json | 2 +- packages/asset-swapper/package.json | 2 +- packages/connect/package.json | 2 +- packages/contract-wrappers/package.json | 2 +- packages/ethereum-types/package.json | 2 +- packages/json-schemas/package.json | 2 +- packages/migrations/package.json | 2 +- packages/order-utils/package.json | 2 +- packages/sol-compiler/package.json | 2 +- packages/sol-coverage/package.json | 2 +- packages/sol-profiler/package.json | 2 +- packages/sol-trace/package.json | 2 +- packages/subproviders/package.json | 2 +- packages/web3-wrapper/package.json | 2 +- yarn.lock | 8 ++++---- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 3b540ed369..3a9e9943fb 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -48,7 +48,7 @@ "@0x/contract-addresses": "^3.1.0", "@0x/dev-utils": "^2.3.1", "@0x/migrations": "^4.3.0", - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index be67f6b2dd..ec2f7d41ac 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -53,7 +53,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index 6ee4552159..7a37a7e6ff 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -57,7 +57,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/connect/package.json b/packages/connect/package.json index 5cafa3a0ff..6faaf9ef41 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -60,7 +60,7 @@ "websocket": "^1.0.26" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/fetch-mock": "^6.0.3", "@types/lodash": "4.14.104", diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index a94459abd9..783893170c 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -50,7 +50,7 @@ "devDependencies": { "@0x/abi-gen": "^4.1.1", "@0x/assert": "^2.1.4", - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/contracts-test-utils": "^3.1.14", "@0x/coordinator-server": "^0.1.3", "@0x/json-schemas": "^4.0.0", diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index d7737ea07a..93f3065835 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/ethereum-types/README.md", "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "make-promises-safe": "^1.1.0", "shx": "^0.2.2", diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 536d350d2e..572eadae83 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -48,7 +48,7 @@ "lodash.values": "^4.3.0" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@0x/utils": "^4.5.0", "@types/lodash.foreach": "^4.5.3", diff --git a/packages/migrations/package.json b/packages/migrations/package.json index f56230a2e1..5581dcd5b0 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -40,7 +40,7 @@ "license": "Apache-2.0", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@0x/types": "^2.4.1", "@types/yargs": "^11.0.0", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 7b66d9363f..531db7a071 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -39,7 +39,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 0023ce2d63..b20a3e56d9 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -46,7 +46,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-compiler/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/mkdirp": "^0.5.2", "@types/mocha": "^5.2.7", diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index bf79552347..0a26074a71 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 9be0913536..07d5730af2 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index 3522d3c88f..4975e7ecb8 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -43,7 +43,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/loglevel": "^1.5.3", "@types/node": "*", diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index ff2c3025d9..636febcf91 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -54,7 +54,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/bip39": "^2.4.0", "@types/bn.js": "^4.11.0", diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 1927302545..4b57bbb9d6 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -39,7 +39,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/web3-wrapper/README.md", "devDependencies": { - "@0x/ts-doc-gen": "0.0.7", + "@0x/ts-doc-gen": "0.0.10", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/yarn.lock b/yarn.lock index 95634b4f13..23b050b417 100644 --- a/yarn.lock +++ b/yarn.lock @@ -806,10 +806,10 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.3.0" -"@0x/ts-doc-gen@0.0.7": - version "0.0.7" - resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.7.tgz#1856870fcd182ebe5caa81b71bbd5d460228f3c9" - integrity sha512-sMclk5BiAt2DlnoevYxas7n+X38CTqIsyTvfpOED08g/Te7p2bwk0KEI4JeN5rOdpZAp4jJAkZGPsvzIVlEQdw== +"@0x/ts-doc-gen@0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.10.tgz#3ae85d6187197df4b11721706e2dd43efe167db2" + integrity sha512-xjf9NHbuF0sFiLIQPm2sO5oLuOI7UpOls7T4cti09F0/6zDgIik5xBMGwofHBA6YxHeDUMjGnN3jNBHM9/k4tQ== dependencies: "@0x/typescript-typings" "^4.2.2" "@0x/utils" "^4.3.3" From bd2e4a8076c3a6bac73cc8d90b078cede39cf7b8 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 9 Aug 2019 14:43:01 +0200 Subject: [PATCH 18/37] Store contract-wrappers node_modules as artifacts --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b5250cff60..66f0a5da0d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -80,6 +80,8 @@ jobs: - restore_cache: keys: - repo-{{ .Environment.CIRCLE_SHA1 }} + - store_artifacts: + path: ~/repo/packages/contract-wrappers/node_modules - run: yarn test:publish:circleci test-doc-generation: docker: From 9af996a907dad8ab6bda3bd21fbcc808e5f64080 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 9 Aug 2019 15:33:52 +0200 Subject: [PATCH 19/37] Upgrade circleCI yarn --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 66f0a5da0d..80728411c6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: # command: npm set prefix=/home/circleci/npm && echo 'export PATH=$HOME/circleci/npm/bin:$PATH' >> /home/circleci/.bashrc - run: name: install-yarn - command: npm install --global yarn@1.9.4 + command: npm install --global yarn@1.17.0 - run: name: yarn command: yarn --frozen-lockfile --ignore-engines install || yarn --frozen-lockfile --ignore-engines install From 73c53b3da636ef278a1c773e729acc9e82e76c0d Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 9 Aug 2019 18:15:00 +0200 Subject: [PATCH 20/37] Use .mdx extension for packages --- packages/asset-buyer/docs/{reference.md => reference.mdx} | 0 packages/asset-swapper/docs/{reference.md => reference.mdx} | 0 packages/connect/docs/{reference.md => reference.mdx} | 0 packages/contract-wrappers/docs/{reference.md => reference.mdx} | 0 packages/ethereum-types/docs/{reference.md => reference.mdx} | 0 packages/json-schemas/docs/{reference.md => reference.mdx} | 0 packages/migrations/docs/{reference.md => reference.mdx} | 0 packages/order-utils/docs/{reference.md => reference.mdx} | 0 packages/order-watcher/docs/{reference.md => reference.mdx} | 0 packages/sol-compiler/docs/{reference.md => reference.mdx} | 0 packages/sol-coverage/docs/{reference.md => reference.mdx} | 0 packages/sol-profiler/docs/{reference.md => reference.mdx} | 0 packages/sol-trace/docs/{reference.md => reference.mdx} | 0 packages/subproviders/docs/{reference.md => reference.mdx} | 0 packages/web3-wrapper/docs/{reference.md => reference.mdx} | 0 15 files changed, 0 insertions(+), 0 deletions(-) rename packages/asset-buyer/docs/{reference.md => reference.mdx} (100%) rename packages/asset-swapper/docs/{reference.md => reference.mdx} (100%) rename packages/connect/docs/{reference.md => reference.mdx} (100%) rename packages/contract-wrappers/docs/{reference.md => reference.mdx} (100%) rename packages/ethereum-types/docs/{reference.md => reference.mdx} (100%) rename packages/json-schemas/docs/{reference.md => reference.mdx} (100%) rename packages/migrations/docs/{reference.md => reference.mdx} (100%) rename packages/order-utils/docs/{reference.md => reference.mdx} (100%) rename packages/order-watcher/docs/{reference.md => reference.mdx} (100%) rename packages/sol-compiler/docs/{reference.md => reference.mdx} (100%) rename packages/sol-coverage/docs/{reference.md => reference.mdx} (100%) rename packages/sol-profiler/docs/{reference.md => reference.mdx} (100%) rename packages/sol-trace/docs/{reference.md => reference.mdx} (100%) rename packages/subproviders/docs/{reference.md => reference.mdx} (100%) rename packages/web3-wrapper/docs/{reference.md => reference.mdx} (100%) diff --git a/packages/asset-buyer/docs/reference.md b/packages/asset-buyer/docs/reference.mdx similarity index 100% rename from packages/asset-buyer/docs/reference.md rename to packages/asset-buyer/docs/reference.mdx diff --git a/packages/asset-swapper/docs/reference.md b/packages/asset-swapper/docs/reference.mdx similarity index 100% rename from packages/asset-swapper/docs/reference.md rename to packages/asset-swapper/docs/reference.mdx diff --git a/packages/connect/docs/reference.md b/packages/connect/docs/reference.mdx similarity index 100% rename from packages/connect/docs/reference.md rename to packages/connect/docs/reference.mdx diff --git a/packages/contract-wrappers/docs/reference.md b/packages/contract-wrappers/docs/reference.mdx similarity index 100% rename from packages/contract-wrappers/docs/reference.md rename to packages/contract-wrappers/docs/reference.mdx diff --git a/packages/ethereum-types/docs/reference.md b/packages/ethereum-types/docs/reference.mdx similarity index 100% rename from packages/ethereum-types/docs/reference.md rename to packages/ethereum-types/docs/reference.mdx diff --git a/packages/json-schemas/docs/reference.md b/packages/json-schemas/docs/reference.mdx similarity index 100% rename from packages/json-schemas/docs/reference.md rename to packages/json-schemas/docs/reference.mdx diff --git a/packages/migrations/docs/reference.md b/packages/migrations/docs/reference.mdx similarity index 100% rename from packages/migrations/docs/reference.md rename to packages/migrations/docs/reference.mdx diff --git a/packages/order-utils/docs/reference.md b/packages/order-utils/docs/reference.mdx similarity index 100% rename from packages/order-utils/docs/reference.md rename to packages/order-utils/docs/reference.mdx diff --git a/packages/order-watcher/docs/reference.md b/packages/order-watcher/docs/reference.mdx similarity index 100% rename from packages/order-watcher/docs/reference.md rename to packages/order-watcher/docs/reference.mdx diff --git a/packages/sol-compiler/docs/reference.md b/packages/sol-compiler/docs/reference.mdx similarity index 100% rename from packages/sol-compiler/docs/reference.md rename to packages/sol-compiler/docs/reference.mdx diff --git a/packages/sol-coverage/docs/reference.md b/packages/sol-coverage/docs/reference.mdx similarity index 100% rename from packages/sol-coverage/docs/reference.md rename to packages/sol-coverage/docs/reference.mdx diff --git a/packages/sol-profiler/docs/reference.md b/packages/sol-profiler/docs/reference.mdx similarity index 100% rename from packages/sol-profiler/docs/reference.md rename to packages/sol-profiler/docs/reference.mdx diff --git a/packages/sol-trace/docs/reference.md b/packages/sol-trace/docs/reference.mdx similarity index 100% rename from packages/sol-trace/docs/reference.md rename to packages/sol-trace/docs/reference.mdx diff --git a/packages/subproviders/docs/reference.md b/packages/subproviders/docs/reference.mdx similarity index 100% rename from packages/subproviders/docs/reference.md rename to packages/subproviders/docs/reference.mdx diff --git a/packages/web3-wrapper/docs/reference.md b/packages/web3-wrapper/docs/reference.mdx similarity index 100% rename from packages/web3-wrapper/docs/reference.md rename to packages/web3-wrapper/docs/reference.mdx From 577df3749d1f633aa9aef4e17b42c34b6bfd705b Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 9 Aug 2019 18:41:10 +0200 Subject: [PATCH 21/37] Remove temporary artifact --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 80728411c6..98e8862b74 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -80,8 +80,6 @@ jobs: - restore_cache: keys: - repo-{{ .Environment.CIRCLE_SHA1 }} - - store_artifacts: - path: ~/repo/packages/contract-wrappers/node_modules - run: yarn test:publish:circleci test-doc-generation: docker: From 1634cd53be3bc19007c675a748a723457b18947f Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 10 Aug 2019 12:49:10 +0200 Subject: [PATCH 22/37] Update ts-doc-gen dep --- packages/0x.js/package.json | 2 +- packages/asset-buyer/package.json | 2 +- packages/asset-swapper/package.json | 2 +- packages/connect/package.json | 2 +- packages/contract-wrappers/package.json | 2 +- packages/ethereum-types/package.json | 2 +- packages/json-schemas/package.json | 2 +- packages/migrations/package.json | 2 +- packages/order-utils/package.json | 2 +- packages/sol-compiler/package.json | 2 +- packages/sol-coverage/package.json | 2 +- packages/sol-profiler/package.json | 2 +- packages/sol-trace/package.json | 2 +- packages/subproviders/package.json | 2 +- packages/web3-wrapper/package.json | 2 +- yarn.lock | 8 ++++---- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 3a9e9943fb..47352711c1 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -48,7 +48,7 @@ "@0x/contract-addresses": "^3.1.0", "@0x/dev-utils": "^2.3.1", "@0x/migrations": "^4.3.0", - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index ec2f7d41ac..cfca0eb36c 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -53,7 +53,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index 7a37a7e6ff..e32d56610e 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -57,7 +57,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/connect/package.json b/packages/connect/package.json index 6faaf9ef41..9202414f5a 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -60,7 +60,7 @@ "websocket": "^1.0.26" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/fetch-mock": "^6.0.3", "@types/lodash": "4.14.104", diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 783893170c..1f4c48642b 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -50,7 +50,7 @@ "devDependencies": { "@0x/abi-gen": "^4.1.1", "@0x/assert": "^2.1.4", - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/contracts-test-utils": "^3.1.14", "@0x/coordinator-server": "^0.1.3", "@0x/json-schemas": "^4.0.0", diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index 93f3065835..0b211002f9 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/ethereum-types/README.md", "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "make-promises-safe": "^1.1.0", "shx": "^0.2.2", diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 572eadae83..fcafd2c814 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -48,7 +48,7 @@ "lodash.values": "^4.3.0" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@0x/utils": "^4.5.0", "@types/lodash.foreach": "^4.5.3", diff --git a/packages/migrations/package.json b/packages/migrations/package.json index 5581dcd5b0..b0f9880990 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -40,7 +40,7 @@ "license": "Apache-2.0", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@0x/types": "^2.4.1", "@types/yargs": "^11.0.0", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 531db7a071..28ea2a8957 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -39,7 +39,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index b20a3e56d9..14628ea93a 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -46,7 +46,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-compiler/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/mkdirp": "^0.5.2", "@types/mocha": "^5.2.7", diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index 0a26074a71..89c52aaff2 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 07d5730af2..9ce215c0f9 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index 4975e7ecb8..3dfefa960b 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -43,7 +43,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/loglevel": "^1.5.3", "@types/node": "*", diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index 636febcf91..bd1ed20e6f 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -54,7 +54,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/bip39": "^2.4.0", "@types/bn.js": "^4.11.0", diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 4b57bbb9d6..e997cd839f 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -39,7 +39,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/web3-wrapper/README.md", "devDependencies": { - "@0x/ts-doc-gen": "0.0.10", + "@0x/ts-doc-gen": "^0.0.13", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/yarn.lock b/yarn.lock index 23b050b417..15e6e4a938 100644 --- a/yarn.lock +++ b/yarn.lock @@ -806,10 +806,10 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.3.0" -"@0x/ts-doc-gen@0.0.10": - version "0.0.10" - resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.10.tgz#3ae85d6187197df4b11721706e2dd43efe167db2" - integrity sha512-xjf9NHbuF0sFiLIQPm2sO5oLuOI7UpOls7T4cti09F0/6zDgIik5xBMGwofHBA6YxHeDUMjGnN3jNBHM9/k4tQ== +"@0x/ts-doc-gen@^0.0.13": + version "0.0.13" + resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.13.tgz#0f646d03f951db34b0362948b9ff068d55f30672" + integrity sha512-vEOWfWl9qXDnGG9QBamf0pLzYtIo+cppTU/GzhDhetdcU/3ay57kDU+5Ytg6xybsfQ4I4Mk2Dee+Gg5Lhoi5uw== dependencies: "@0x/typescript-typings" "^4.2.2" "@0x/utils" "^4.3.3" From 80d93e8d75bdf3bfb2468fa5ce09f571f016afe6 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 10 Aug 2019 14:55:37 +0200 Subject: [PATCH 23/37] Output reference docs with mdx file extension --- packages/0x.js/package.json | 2 +- packages/asset-buyer/package.json | 2 +- packages/asset-swapper/package.json | 2 +- packages/connect/package.json | 2 +- packages/contract-wrappers/package.json | 2 +- packages/ethereum-types/package.json | 2 +- packages/json-schemas/package.json | 2 +- packages/migrations/package.json | 2 +- packages/order-utils/package.json | 2 +- packages/sol-compiler/package.json | 2 +- packages/sol-coverage/package.json | 2 +- packages/sol-profiler/package.json | 2 +- packages/sol-trace/package.json | 2 +- packages/subproviders/package.json | 2 +- packages/web3-wrapper/package.json | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 47352711c1..52f0d0ce1b 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -28,7 +28,7 @@ "build:umd:prod": "NODE_ENV=production node --max_old_space_size=8192 ../../node_modules/.bin/webpack --mode production", "build:commonjs": "tsc -b", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index cfca0eb36c..0d9d972e7b 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -20,7 +20,7 @@ "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib test_temp", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index e32d56610e..cc56728242 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -20,7 +20,7 @@ "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit", "clean": "shx rm -rf lib test_temp", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/connect/package.json b/packages/connect/package.json index 9202414f5a..9d604c87a9 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -28,7 +28,7 @@ "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "test:circleci": "yarn test:coverage", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 1f4c48642b..f1d6fcee51 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -33,7 +33,7 @@ "generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --output src/generated-wrappers --backend ethers", "docs_test": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --out generated_docs ./src/generated-wrappers/*", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json" + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json" }, "config": { "abis": "../contract-artifacts/artifacts/@(AssetProxyOwner|DevUtils|DutchAuction|DummyERC20Token|DummyERC721Token|ERC20Proxy|ERC20Token|ERC721Proxy|ERC721Token|Exchange|Forwarder|IAssetProxy|IValidator|IWallet|MultiAssetProxy|OrderValidator|WETH9|ZRXToken|Coordinator|CoordinatorRegistry|EthBalanceChecker).json" diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index 0b211002f9..3361c0403b 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -14,7 +14,7 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index fcafd2c814..885de31f28 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -20,7 +20,7 @@ "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib test_temp generated_docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/migrations/package.json b/packages/migrations/package.json index b0f9880990..c88ff2461f 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -18,7 +18,7 @@ "script:migrate:v2": "node ./lib/migrate.js", "script:migrate:v2:snapshot": "node ./lib/migrate_snapshot.js", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES", "build:snapshot": "rm -rf ${npm_package_config_snapshot_name} && yarn migrate:v2:snapshot && zip -r \"${npm_package_config_snapshot_name}-${npm_package_version}.zip\" ${npm_package_config_snapshot_name}", "build:snapshot:docker": "docker build --tag ${npm_package_config_docker_snapshot_name}:${npm_package_version} --tag ${npm_package_config_docker_snapshot_name}:latest .", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 28ea2a8957..694953a849 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -20,7 +20,7 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 14628ea93a..80cb240dd5 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -23,7 +23,7 @@ "fix": "tslint --fix --format stylish --project .", "test:circleci": "yarn test:coverage", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index 89c52aaff2..02307a3cf7 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -14,7 +14,7 @@ "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 9ce215c0f9..0835b025d3 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -14,7 +14,7 @@ "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index 3dfefa960b..e0ec82b310 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -14,7 +14,7 @@ "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index bd1ed20e6f..6fcba538a4 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -23,7 +23,7 @@ "test:unit": "run-s clean build run_mocha_unit", "test:integration": "run-s clean build run_mocha_integration", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index e997cd839f..46bfc6afd2 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -21,7 +21,7 @@ "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --tsconfig=./typedoc-tsconfig.json", + "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { From 108861b6caa4a86001ea653f33f41a70e85325a0 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Mon, 12 Aug 2019 12:38:13 +0200 Subject: [PATCH 24/37] Update ts-doc-gen to version that removes absolute paths from docs --- packages/0x.js/package.json | 2 +- packages/asset-buyer/package.json | 2 +- packages/asset-swapper/package.json | 2 +- packages/connect/package.json | 2 +- packages/contract-wrappers/package.json | 2 +- packages/ethereum-types/package.json | 2 +- packages/json-schemas/package.json | 2 +- packages/migrations/package.json | 2 +- packages/order-utils/package.json | 2 +- packages/sol-compiler/package.json | 2 +- packages/sol-coverage/package.json | 2 +- packages/sol-profiler/package.json | 2 +- packages/sol-trace/package.json | 2 +- packages/subproviders/package.json | 2 +- packages/web3-wrapper/package.json | 2 +- yarn.lock | 8 ++++---- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 52f0d0ce1b..6903345340 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -48,7 +48,7 @@ "@0x/contract-addresses": "^3.1.0", "@0x/dev-utils": "^2.3.1", "@0x/migrations": "^4.3.0", - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index 0d9d972e7b..1e42f5cb35 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -53,7 +53,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index cc56728242..653bc259cc 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -57,7 +57,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/connect/package.json b/packages/connect/package.json index 9d604c87a9..f57112fd96 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -60,7 +60,7 @@ "websocket": "^1.0.26" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/fetch-mock": "^6.0.3", "@types/lodash": "4.14.104", diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index f1d6fcee51..7d6c866aec 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -50,7 +50,7 @@ "devDependencies": { "@0x/abi-gen": "^4.1.1", "@0x/assert": "^2.1.4", - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/contracts-test-utils": "^3.1.14", "@0x/coordinator-server": "^0.1.3", "@0x/json-schemas": "^4.0.0", diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index 3361c0403b..8162351a4c 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/ethereum-types/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "make-promises-safe": "^1.1.0", "shx": "^0.2.2", diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 885de31f28..79dfd86438 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -48,7 +48,7 @@ "lodash.values": "^4.3.0" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@0x/utils": "^4.5.0", "@types/lodash.foreach": "^4.5.3", diff --git a/packages/migrations/package.json b/packages/migrations/package.json index c88ff2461f..eca8fd35ff 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -40,7 +40,7 @@ "license": "Apache-2.0", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@0x/types": "^2.4.1", "@types/yargs": "^11.0.0", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 694953a849..2b2c4fc72a 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -39,7 +39,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 80cb240dd5..5ff5a8f846 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -46,7 +46,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-compiler/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/mkdirp": "^0.5.2", "@types/mocha": "^5.2.7", diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index 02307a3cf7..88637c4e01 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 0835b025d3..8a7a9796b9 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index e0ec82b310..0df3dde035 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -43,7 +43,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/loglevel": "^1.5.3", "@types/node": "*", diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index 6fcba538a4..3d295f2984 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -54,7 +54,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/bip39": "^2.4.0", "@types/bn.js": "^4.11.0", diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 46bfc6afd2..bc81d72971 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -39,7 +39,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/web3-wrapper/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.13", + "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/yarn.lock b/yarn.lock index 15e6e4a938..1786dacc23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -806,10 +806,10 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.3.0" -"@0x/ts-doc-gen@^0.0.13": - version "0.0.13" - resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.13.tgz#0f646d03f951db34b0362948b9ff068d55f30672" - integrity sha512-vEOWfWl9qXDnGG9QBamf0pLzYtIo+cppTU/GzhDhetdcU/3ay57kDU+5Ytg6xybsfQ4I4Mk2Dee+Gg5Lhoi5uw== +"@0x/ts-doc-gen@^0.0.15": + version "0.0.15" + resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.15.tgz#6a4d65faaede1debafd65495a8fe878e36ed7951" + integrity sha512-Sg0zKYYWX0P2UfPOr5DqRw6G8Nd+uXmOFpCNWWIcgrj0COOIYMTwEeZvRN2D9OHVhp8ZWvGPcHomSzo/pvar5A== dependencies: "@0x/typescript-typings" "^4.2.2" "@0x/utils" "^4.3.3" From f6b67f6c9856b3473767baa22d21aeaba9ee911c Mon Sep 17 00:00:00 2001 From: fabioberger Date: Mon, 12 Aug 2019 12:38:25 +0200 Subject: [PATCH 25/37] Remove absolute paths from docs --- packages/asset-buyer/docs/reference.mdx | 220 +- packages/asset-swapper/docs/reference.mdx | 522 +- packages/connect/docs/reference.mdx | 89 +- packages/contract-wrappers/docs/reference.mdx | 28117 ++++++++++++++-- packages/ethereum-types/docs/reference.mdx | 1038 +- packages/json-schemas/docs/reference.mdx | 19 +- packages/migrations/docs/reference.mdx | 60 +- packages/order-utils/docs/reference.mdx | 252 +- packages/order-watcher/docs/reference.mdx | 188 +- packages/sol-compiler/docs/reference.mdx | 82 +- packages/sol-coverage/docs/reference.mdx | 33 +- packages/sol-profiler/docs/reference.mdx | 25 +- packages/sol-trace/docs/reference.mdx | 22 +- packages/subproviders/docs/reference.mdx | 408 +- packages/web3-wrapper/docs/reference.mdx | 327 +- 15 files changed, 26677 insertions(+), 4725 deletions(-) diff --git a/packages/asset-buyer/docs/reference.mdx b/packages/asset-buyer/docs/reference.mdx index 81dec0d125..80b2dc620f 100644 --- a/packages/asset-buyer/docs/reference.mdx +++ b/packages/asset-buyer/docs/reference.mdx @@ -33,9 +33,9 @@ ### constructor -\+ **new AssetBuyer**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#class-assetbuyer)* +\+ **new AssetBuyer**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#interface-orderprovider), `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L84)* +*Defined in [asset_buyer.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L84)* Instantiates a new AssetBuyer instance @@ -57,7 +57,7 @@ An instance of AssetBuyer • **expiryBufferSeconds**: *number* -*Defined in [asset_buyer.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L41)* +*Defined in [asset_buyer.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L41)* ___ @@ -65,7 +65,7 @@ ___ • **networkId**: *number* -*Defined in [asset_buyer.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L39)* +*Defined in [asset_buyer.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L39)* ___ @@ -73,7 +73,7 @@ ___ • **orderProvider**: *[OrderProvider](#interface-orderprovider)* -*Defined in [asset_buyer.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L38)* +*Defined in [asset_buyer.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L38)* ___ @@ -81,7 +81,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [asset_buyer.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L40)* +*Defined in [asset_buyer.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L40)* ___ @@ -89,7 +89,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [asset_buyer.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L37)* +*Defined in [asset_buyer.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L37)* ## Methods @@ -97,7 +97,7 @@ ___ ▸ **executeBuyQuoteAsync**(`buyQuote`: [BuyQuote](#interface-buyquote), `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L227)* +*Defined in [asset_buyer.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L227)* Given a BuyQuote and desired rate, attempt to execute the buy. @@ -118,7 +118,7 @@ ___ ▸ **getAvailableAssetDatasAsync**(): *`Promise`* -*Defined in [asset_buyer.ts:297](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L297)* +*Defined in [asset_buyer.ts:297](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L297)* Get the asset data of all assets that are purchaseable with ether token (wETH) in the order provider passed in at init. @@ -132,7 +132,7 @@ ___ ▸ **getBuyQuoteAsync**(`assetData`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:126](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L126)* +*Defined in [asset_buyer.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L126)* Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired assetData. You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. @@ -155,7 +155,7 @@ ___ ▸ **getBuyQuoteForERC20TokenAddressAsync**(`tokenAddress`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:174](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L174)* +*Defined in [asset_buyer.ts:174](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L174)* Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired ERC20 token address. You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. @@ -178,7 +178,7 @@ ___ ▸ **getLiquidityForAssetDataAsync**(`assetData`: string, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:193](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L193)* +*Defined in [asset_buyer.ts:193](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L193)* Returns information about available liquidity for an asset Does not factor in slippage or fees @@ -200,7 +200,7 @@ ___ ▸ **getOrdersAndFillableAmountsAsync**(`assetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* -*Defined in [asset_buyer.ts:306](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L306)* +*Defined in [asset_buyer.ts:306](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L306)* Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders @@ -219,7 +219,7 @@ ___ ▸ **getAssetBuyerForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L54)* +*Defined in [asset_buyer.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L54)* Instantiates a new AssetBuyer instance given existing liquidity in the form of orders and feeOrders. @@ -241,7 +241,7 @@ ___ ▸ **getAssetBuyerForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/asset_buyer.ts#L73)* +*Defined in [asset_buyer.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L73)* Instantiates a new AssetBuyer instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint @@ -289,7 +289,7 @@ Error class representing insufficient asset liquidity \+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/errors.ts#L12)* **Parameters:** @@ -305,7 +305,7 @@ Name | Type | Description | • **amountAvailableToFill**: *`BigNumber`* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/errors.ts#L12)* The amount availabe to fill (in base units) factoring in slippage. @@ -317,7 +317,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974 + ___ @@ -327,7 +327,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973 + ___ @@ -339,7 +339,7 @@ ___ *Overrides void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975 + ___ @@ -347,7 +347,7 @@ ___ ▪ **Error**: *`ErrorConstructor`* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984 +
@@ -382,7 +382,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typed \+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* Instantiates a new BasicOrderProvider instance @@ -402,7 +402,7 @@ An instance of BasicOrderProvider • **orders**: *`SignedOrder`[]* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* ## Methods @@ -410,7 +410,7 @@ An instance of BasicOrderProvider ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L37)* +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L37)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -430,7 +430,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L24)* +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L24)* Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -478,7 +478,7 @@ An instance of OrderProviderResponse. See type for more information. \+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L48)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L48)* Instantiates a new StandardRelayerAPIOrderProvider instance @@ -499,7 +499,7 @@ An instance of StandardRelayerAPIOrderProvider • **apiUrl**: *string* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L17)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L17)* ___ @@ -507,7 +507,7 @@ ___ • **networkId**: *number* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L18)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L18)* ## Methods @@ -515,7 +515,7 @@ ___ ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L91)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L91)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -535,7 +535,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:67](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L67)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L67)* Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -576,7 +576,7 @@ Possible error messages thrown by an AssetBuyer instance or associated static me • **AssetUnavailable**: = "ASSET_UNAVAILABLE" -*Defined in [types.ts:122](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L122)* +*Defined in [types.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L122)* ___ @@ -584,7 +584,7 @@ ___ • **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L118)* ___ @@ -592,7 +592,7 @@ ___ • **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L119)* ___ @@ -600,7 +600,7 @@ ___ • **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" -*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L121)* +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L121)* ___ @@ -608,7 +608,7 @@ ___ • **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L120)* ___ @@ -616,7 +616,7 @@ ___ • **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L115)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L115)* ___ @@ -624,7 +624,7 @@ ___ • **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L116)* ___ @@ -632,7 +632,7 @@ ___ • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:123](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L123)* +*Defined in [types.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L123)* ___ @@ -640,7 +640,7 @@ ___ • **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L117)* ___ @@ -648,7 +648,7 @@ ___ • **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" -*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L124)*
@@ -676,7 +676,7 @@ expiryBufferSeconds: The number of seconds to add when calculating whether an or • **expiryBufferSeconds**: *number* -*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L108)* ___ @@ -684,7 +684,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L106)* +*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L106)* ___ @@ -692,7 +692,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L107)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L107)*
@@ -728,7 +728,7 @@ worstCaseQuoteInfo: Info about the worst case price for the asset. • **assetBuyAmount**: *`BigNumber`* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L48)* ___ @@ -736,7 +736,7 @@ ___ • **assetData**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L47)* ___ @@ -744,7 +744,7 @@ ___ • **bestCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L52)* ___ @@ -752,7 +752,7 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L50)* ___ @@ -760,7 +760,7 @@ ___ • **feePercentage**? : *undefined | number* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L51)* ___ @@ -768,7 +768,7 @@ ___ • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L49)* ___ @@ -776,7 +776,7 @@ ___ • **worstCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L53)*
@@ -808,7 +808,7 @@ feeRecipient: The address where affiliate fees are sent. Defaults to null addres • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L93)* +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L93)* ___ @@ -816,7 +816,7 @@ ___ • **feeRecipient**: *string* -*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L97)* +*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L97)* ___ @@ -824,7 +824,7 @@ ___ • **gasLimit**? : *undefined | number* -*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L95)* +*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L95)* ___ @@ -832,7 +832,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L96)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L96)* ___ @@ -840,7 +840,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L94)* +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L94)*
@@ -868,7 +868,7 @@ totalEthAmount: The total amount of eth required to complete the buy (filling or • **assetEthAmount**: *`BigNumber`* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L62)* ___ @@ -876,7 +876,7 @@ ___ • **feeEthAmount**: *`BigNumber`* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L63)* ___ @@ -884,7 +884,7 @@ ___ • **totalEthAmount**: *`BigNumber`* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L64)*
@@ -912,7 +912,7 @@ slippagePercentage: The percentage buffer to add to account for slippage. Affect • **feePercentage**: *number* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L73)* ___ @@ -920,7 +920,7 @@ ___ • **shouldForceOrderRefresh**: *boolean* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L74)* ___ @@ -928,7 +928,7 @@ ___ • **slippagePercentage**: *number* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L75)*
@@ -953,7 +953,7 @@ Represents available liquidity for a given assetData • **ethValueAvailableInWei**: *`BigNumber`* -*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L141)* +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L141)* ___ @@ -961,7 +961,7 @@ ___ • **tokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L140)*
@@ -992,7 +992,7 @@ getAvailableMakerAssetDatasAsync: Given a taker asset data string, return all av • **getAvailableMakerAssetDatasAsync**: *function* -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L34)* #### Type declaration: @@ -1010,7 +1010,7 @@ ___ • **getOrdersAsync**: *function* -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L33)* #### Type declaration: @@ -1047,7 +1047,7 @@ networkId: The networkId that the desired orders should be for. • **makerAssetData**: *string* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L10)* ___ @@ -1055,7 +1055,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L11)*
@@ -1079,7 +1079,7 @@ orders: An array of orders with optional remaining fillable makerAsset amounts. • **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L18)*
@@ -1105,7 +1105,7 @@ remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed or • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:132](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L132)* +*Defined in [types.ts:132](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L132)* ___ @@ -1113,7 +1113,7 @@ ___ • **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:133](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L133)* +*Defined in [types.ts:133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L133)*
@@ -1156,7 +1156,7 @@ remainingFillableMakerAssetAmount: The amount of the makerAsset that is availabl *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:14 + ___ @@ -1166,7 +1166,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:16 + ___ @@ -1176,7 +1176,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:15 + ___ @@ -1186,7 +1186,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:5 + ___ @@ -1196,7 +1196,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:9 + ___ @@ -1206,7 +1206,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:11 + ___ @@ -1216,7 +1216,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:7 + ___ @@ -1224,7 +1224,7 @@ ___ • **remainingFillableMakerAssetAmount**? : *`BigNumber`* -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-buyer/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L26)* ___ @@ -1234,7 +1234,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:13 + ___ @@ -1244,7 +1244,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:4 + ___ @@ -1254,7 +1254,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:33 + ___ @@ -1264,7 +1264,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:6 + ___ @@ -1274,7 +1274,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:10 + ___ @@ -1284,7 +1284,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:12 + ___ @@ -1294,59 +1294,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:8 - -
-* [Globals](globals.md) -* [External Modules]() - * [asset_buyer](modules/_asset_buyer_.md) - * [asset_buyer.AssetBuyer](#class-assetbuyer) - * [constants](modules/_constants_.md) - * [errors](modules/_errors_.md) - * [errors.InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror) - * [index](modules/_index_.md) - * [order_providers/basic_order_provider](modules/_order_providers_basic_order_provider_.md) - * [order_providers/basic_order_provider.BasicOrderProvider](#class-basicorderprovider) - * [order_providers/standard_relayer_api_order_provider](modules/_order_providers_standard_relayer_api_order_provider_.md) - * [order_providers/standard_relayer_api_order_provider.StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) - * [types](modules/_types_.md) - * [types.AssetBuyerError](#class-assetbuyererror) - * [types.AssetBuyerOpts](#class-assetbuyeropts) - * [types.BuyQuote](#class-buyquote) - * [types.BuyQuoteExecutionOpts](#class-buyquoteexecutionopts) - * [types.BuyQuoteInfo](#class-buyquoteinfo) - * [types.BuyQuoteRequestOpts](#class-buyquoterequestopts) - * [types.LiquidityForAssetData](#class-liquidityforassetdata) - * [types.OrderProvider](#class-orderprovider) - * [types.OrderProviderRequest](#class-orderproviderrequest) - * [types.OrderProviderResponse](#class-orderproviderresponse) - * [types.OrdersAndFillableAmounts](#class-ordersandfillableamounts) - * [types.SignedOrderWithRemainingFillableMakerAssetAmount](#class-signedorderwithremainingfillablemakerassetamount) - * [utils/assert](modules/_utils_assert_.md) - * [utils/asset_data_utils](modules/_utils_asset_data_utils_.md) - * [utils/buy_quote_calculator](modules/_utils_buy_quote_calculator_.md) - * [utils/calculate_liquidity](modules/_utils_calculate_liquidity_.md) - * [utils/order_provider_response_processor](modules/_utils_order_provider_response_processor_.md) -* [Classes]() - * [asset_buyer.AssetBuyer](#class-assetbuyer) - * [errors.InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror) - * [order_providers/basic_order_provider.BasicOrderProvider](#class-basicorderprovider) - * [order_providers/standard_relayer_api_order_provider.StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) -* [Enums]() - * [types.AssetBuyerError](#class-assetbuyererror) -* [Interfaces]() - * [types.AssetBuyerOpts](#class-assetbuyeropts) - * [types.BuyQuote](#class-buyquote) - * [types.BuyQuoteExecutionOpts](#class-buyquoteexecutionopts) - * [types.BuyQuoteInfo](#class-buyquoteinfo) - * [types.BuyQuoteRequestOpts](#class-buyquoterequestopts) - * [types.LiquidityForAssetData](#class-liquidityforassetdata) - * [types.OrderProvider](#class-orderprovider) - * [types.OrderProviderRequest](#class-orderproviderrequest) - * [types.OrderProviderResponse](#class-orderproviderresponse) - * [types.OrdersAndFillableAmounts](#class-ordersandfillableamounts) - * [types.SignedOrderWithRemainingFillableMakerAssetAmount](#class-signedorderwithremainingfillablemakerassetamount)
diff --git a/packages/asset-swapper/docs/reference.mdx b/packages/asset-swapper/docs/reference.mdx index d34f78e4be..5f1ec0b0fc 100644 --- a/packages/asset-swapper/docs/reference.mdx +++ b/packages/asset-swapper/docs/reference.mdx @@ -28,7 +28,7 @@ Error class representing insufficient asset liquidity \+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/errors.ts#L12)* **Parameters:** @@ -44,7 +44,7 @@ Name | Type | Description | • **amountAvailableToFill**: *`BigNumber`* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/errors.ts#L12)* The amount availabe to fill (in base units) factoring in slippage. @@ -56,7 +56,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974 + ___ @@ -66,7 +66,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973 + ___ @@ -78,7 +78,7 @@ ___ *Overrides void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975 + ___ @@ -86,7 +86,7 @@ ___ ▪ **Error**: *`ErrorConstructor`* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984 +
@@ -122,7 +122,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typed \+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* Instantiates a new BasicOrderProvider instance @@ -142,7 +142,7 @@ An instance of BasicOrderProvider • **orders**: *`SignedOrder`[]* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* ## Methods @@ -150,7 +150,7 @@ An instance of BasicOrderProvider ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L37)* +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L37)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -170,7 +170,7 @@ ___ ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L46)* +*Defined in [order_providers/basic_order_provider.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L46)* Given a maker asset data string, return all availabled paired taker asset data strings. @@ -190,7 +190,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L24)* +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L24)* Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -239,7 +239,7 @@ An instance of OrderProviderResponse. See type for more information. \+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L49)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L49)* Instantiates a new StandardRelayerAPIOrderProvider instance @@ -260,7 +260,7 @@ An instance of StandardRelayerAPIOrderProvider • **apiUrl**: *string* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L18)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L18)* ___ @@ -268,7 +268,7 @@ ___ • **networkId**: *number* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L19)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L19)* ## Methods @@ -276,7 +276,7 @@ ___ ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L92)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L92)* Given a taker asset data string, return all available paired maker asset data strings. @@ -296,7 +296,7 @@ ___ ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L120)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L120)* Given a maker asset data string, return all availabled paired taker asset data strings. @@ -316,7 +316,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L68)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L68)* Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -365,7 +365,7 @@ An instance of OrderProviderResponse. See type for more information. \+ **new ExchangeSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L28)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L28)* **Parameters:** @@ -382,7 +382,7 @@ Name | Type | Default | • **networkId**: *number* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L26)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L26)* ___ @@ -390,7 +390,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L25)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L25)* ## Methods @@ -400,7 +400,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:121](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L121)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L121)* **Parameters:** @@ -419,7 +419,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L42)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L42)* **Parameters:** @@ -438,7 +438,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L70)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L70)* **Parameters:** @@ -484,7 +484,7 @@ Name | Type | \+ **new ForwarderSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L31)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L31)* **Parameters:** @@ -501,7 +501,7 @@ Name | Type | Default | • **networkId**: *number* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L29)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:29](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L29)* ___ @@ -509,7 +509,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L28)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L28)* ## Methods @@ -519,7 +519,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:163](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L163)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:163](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L163)* Given a SwapQuote and desired rate (in Eth), attempt to execute the swap. @@ -540,7 +540,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L50)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L50)* Given a SwapQuote, returns 'CalldataInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. @@ -561,7 +561,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:82](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L82)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:82](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L82)* Given a SwapQuote, returns 'SmartContractParamsInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. @@ -609,7 +609,7 @@ Name | Type | Description | \+ **new SwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[SwapQuoteConsumer](#class-swapquoteconsumer)* -*Defined in [quote_consumers/swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L30)* +*Defined in [quote_consumers/swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L30)* **Parameters:** @@ -626,7 +626,7 @@ Name | Type | Default | • **networkId**: *number* -*Defined in [quote_consumers/swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L26)* +*Defined in [quote_consumers/swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L26)* ___ @@ -634,7 +634,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L25)* +*Defined in [quote_consumers/swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L25)* ## Methods @@ -644,7 +644,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:80](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L80)* +*Defined in [quote_consumers/swap_quote_consumer.ts:80](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L80)* Given a SwapQuote and desired rate (in takerAsset), attempt to execute the swap. @@ -665,7 +665,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L52)* +*Defined in [quote_consumers/swap_quote_consumer.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L52)* Given a SwapQuote, returns 'CalldataInfo' for a 0x exchange call. See type definition of CalldataInfo for more information. @@ -686,7 +686,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L66)* +*Defined in [quote_consumers/swap_quote_consumer.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L66)* Given a SwapQuote, returns 'SmartContractParamsInfo' for a 0x exchange call. See type definition of SmartContractParamsInfo for more information. @@ -740,9 +740,9 @@ Name | Type | Description | ### constructor -\+ **new SwapQuoter**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#class-swapquoter)* +\+ **new SwapQuoter**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#interface-orderprovider), `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L93)* +*Defined in [swap_quoter.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L93)* Instantiates a new SwapQuoter instance @@ -764,7 +764,7 @@ An instance of SwapQuoter • **expiryBufferMs**: *number* -*Defined in [swap_quoter.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L41)* +*Defined in [swap_quoter.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L41)* ___ @@ -772,7 +772,7 @@ ___ • **networkId**: *number* -*Defined in [swap_quoter.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L39)* +*Defined in [swap_quoter.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L39)* ___ @@ -780,7 +780,7 @@ ___ • **orderProvider**: *[OrderProvider](#interface-orderprovider)* -*Defined in [swap_quoter.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L38)* +*Defined in [swap_quoter.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L38)* ___ @@ -788,7 +788,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [swap_quoter.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L40)* +*Defined in [swap_quoter.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L40)* ___ @@ -796,7 +796,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [swap_quoter.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L37)* +*Defined in [swap_quoter.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L37)* ## Methods @@ -804,7 +804,7 @@ ___ ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:291](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L291)* +*Defined in [swap_quoter.ts:291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L291)* Get the asset data of all assets that are purchaseable with takerAssetData in the order provider passed in at init. @@ -824,7 +824,7 @@ ___ ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:280](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L280)* +*Defined in [swap_quoter.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L280)* Get the asset data of all assets that can be used to purchase makerAssetData in the order provider passed in at init. @@ -844,7 +844,7 @@ ___ ▸ **getLiquidityForMakerTakerAssetDataPairAsync**(`makerAssetData`: string, `takerAssetData`: string, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:246](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L246)* +*Defined in [swap_quoter.ts:246](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L246)* Returns information about available liquidity for an asset Does not factor in slippage or fees @@ -867,7 +867,7 @@ ___ ▸ **getMarketBuySwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:187](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L187)* +*Defined in [swap_quoter.ts:187](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L187)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -891,7 +891,7 @@ ___ ▸ **getMarketBuySwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:162](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L162)* +*Defined in [swap_quoter.ts:162](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L162)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -915,7 +915,7 @@ ___ ▸ **getMarketSellSwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:217](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L217)* +*Defined in [swap_quoter.ts:217](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L217)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -939,7 +939,7 @@ ___ ▸ **getMarketSellSwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:136](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L136)* +*Defined in [swap_quoter.ts:136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L136)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -963,7 +963,7 @@ ___ ▸ **getOrdersAndFillableAmountsAsync**(`makerAssetData`: string, `takerAssetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* -*Defined in [swap_quoter.ts:320](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L320)* +*Defined in [swap_quoter.ts:320](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L320)* Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders @@ -983,7 +983,7 @@ ___ ▸ **isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync**(`swapQuote`: [SwapQuote](#swapquote), `takerAddress`: string): *`Promise<[boolean, boolean]>`* -*Defined in [swap_quoter.ts:381](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L381)* +*Defined in [swap_quoter.ts:381](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L381)* Util function to check if takerAddress's allowance is enough for 0x exchange contracts to conduct the swap specified by the swapQuote. @@ -1002,7 +1002,7 @@ ___ ▸ **isTakerMakerAssetDataPairAvailableAsync**(`makerAssetData`: string, `takerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:302](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L302)* +*Defined in [swap_quoter.ts:302](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L302)* Validates the taker + maker asset pair is available from the order provider provided to `SwapQuote`. @@ -1023,7 +1023,7 @@ ___ ▸ **getSwapQuoterForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L54)* +*Defined in [swap_quoter.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L54)* Instantiates a new SwapQuoter instance given existing liquidity in the form of orders and feeOrders. @@ -1045,7 +1045,7 @@ ___ ▸ **getSwapQuoterForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/swap_quoter.ts#L74)* +*Defined in [swap_quoter.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L74)* Instantiates a new SwapQuoter instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint @@ -1080,7 +1080,7 @@ Represents the varying smart contracts that can consume a valid swap quote • **Exchange**: -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L102)* ___ @@ -1088,7 +1088,7 @@ ___ • **Forwarder**: -*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L101)* +*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L101)*
@@ -1112,7 +1112,7 @@ Possible error messages thrown by an SwapQuoterConsumer instance or associated s • **InvalidForwarderSwapQuote**: = "INVALID_FORWARDER_SWAP_QUOTE_PROVIDED" -*Defined in [types.ts:304](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L304)* +*Defined in [types.ts:304](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L304)* ___ @@ -1120,7 +1120,7 @@ ___ • **InvalidMarketSellOrMarketBuySwapQuote**: = "INVALID_MARKET_BUY_SELL_SWAP_QUOTE" -*Defined in [types.ts:303](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L303)* +*Defined in [types.ts:303](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L303)* ___ @@ -1128,7 +1128,7 @@ ___ • **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" -*Defined in [types.ts:305](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L305)* +*Defined in [types.ts:305](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L305)* ___ @@ -1136,7 +1136,7 @@ ___ • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:306](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L306)* +*Defined in [types.ts:306](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L306)* ___ @@ -1144,7 +1144,7 @@ ___ • **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" -*Defined in [types.ts:307](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L307)* +*Defined in [types.ts:307](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L307)*
@@ -1170,7 +1170,7 @@ Possible error messages thrown by an SwapQuoter instance or associated static me • **AssetUnavailable**: = "ASSET_UNAVAILABLE" -*Defined in [types.ts:320](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L320)* +*Defined in [types.ts:320](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L320)* ___ @@ -1178,7 +1178,7 @@ ___ • **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" -*Defined in [types.ts:317](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L317)* +*Defined in [types.ts:317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L317)* ___ @@ -1186,7 +1186,7 @@ ___ • **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" -*Defined in [types.ts:318](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L318)* +*Defined in [types.ts:318](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L318)* ___ @@ -1194,7 +1194,7 @@ ___ • **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" -*Defined in [types.ts:319](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L319)* +*Defined in [types.ts:319](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L319)* ___ @@ -1202,7 +1202,7 @@ ___ • **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:314](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L314)* +*Defined in [types.ts:314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L314)* ___ @@ -1210,7 +1210,7 @@ ___ • **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:315](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L315)* +*Defined in [types.ts:315](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L315)* ___ @@ -1218,7 +1218,7 @@ ___ • **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" -*Defined in [types.ts:316](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L316)* +*Defined in [types.ts:316](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L316)*
@@ -1249,7 +1249,7 @@ ethAmount: If provided, the eth amount in wei to send with the smart contract ca • **calldataHexString**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L50)* ___ @@ -1257,7 +1257,7 @@ ___ • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L53)* ___ @@ -1265,7 +1265,7 @@ ___ • **methodAbi**: *`MethodAbi`* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L51)* ___ @@ -1273,7 +1273,7 @@ ___ • **toAddress**: *string* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L52)*
@@ -1305,7 +1305,7 @@ type: String specifiying which market operation will be performed with the provi • **makerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L84)* ___ @@ -1315,7 +1315,7 @@ ___ *Inherited from [SmartContractParamsBase](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L75)* ___ @@ -1325,7 +1325,7 @@ ___ *Inherited from [SmartContractParamsBase](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L76)* ___ @@ -1333,7 +1333,7 @@ ___ • **type**: *`Buy`* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L85)*
@@ -1365,7 +1365,7 @@ type: String specifiying which market operation will be performed with the provi *Inherited from [SmartContractParamsBase](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L75)* ___ @@ -1375,7 +1375,7 @@ ___ *Inherited from [SmartContractParamsBase](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L76)* ___ @@ -1383,7 +1383,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L93)* +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L93)* ___ @@ -1391,7 +1391,7 @@ ___ • **type**: *`Sell`* -*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L94)* +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L94)*
@@ -1426,7 +1426,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feeorders)* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L117)* ___ @@ -1436,7 +1436,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L119)* ___ @@ -1446,7 +1446,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L120)* ___ @@ -1456,7 +1456,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L118)* ___ @@ -1466,7 +1466,7 @@ ___ *Inherited from [ExchangeMarketBuySmartContractParams](#makerassetfillamount)* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L84)* ___ @@ -1476,7 +1476,7 @@ ___ *Inherited from [SmartContractParamsBase](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L75)* ___ @@ -1486,7 +1486,7 @@ ___ *Inherited from [SmartContractParamsBase](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L76)* ___ @@ -1496,7 +1496,7 @@ ___ *Inherited from [ExchangeMarketBuySmartContractParams](#type)* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L85)*
@@ -1527,7 +1527,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feeorders)* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L117)* ___ @@ -1537,7 +1537,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L119)* ___ @@ -1547,7 +1547,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L120)* ___ @@ -1557,7 +1557,7 @@ ___ *Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L118)*
@@ -1591,7 +1591,7 @@ feeRecipient: The address where affiliate fees are sent. Defaults to null addres • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L117)* ___ @@ -1599,7 +1599,7 @@ ___ • **feePercentage**: *`BigNumber`* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L119)* ___ @@ -1607,7 +1607,7 @@ ___ • **feeRecipient**: *string* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L120)* ___ @@ -1615,7 +1615,7 @@ ___ • **feeSignatures**: *string[]* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L118)*
@@ -1650,7 +1650,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L192)* ___ @@ -1660,7 +1660,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L190)* ___ @@ -1670,7 +1670,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L191)* ___ @@ -1680,7 +1680,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L180)* ___ @@ -1690,7 +1690,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L181)* ___ @@ -1700,7 +1700,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-takeraddress)* -*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L179)*
@@ -1734,7 +1734,7 @@ ethAmount: The amount of eth (in Wei) sent to the forwarder contract. • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L192)* ___ @@ -1742,7 +1742,7 @@ ___ • **feePercentage**: *number* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L190)* ___ @@ -1750,7 +1750,7 @@ ___ • **feeRecipient**: *string* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L191)*
@@ -1775,7 +1775,7 @@ Represents available liquidity for a given assetData • **makerTokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:336](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L336)* +*Defined in [types.ts:336](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L336)* ___ @@ -1783,7 +1783,7 @@ ___ • **takerTokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:337](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L337)* +*Defined in [types.ts:337](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L337)*
@@ -1821,7 +1821,7 @@ type: Specified MarketOperation the SwapQuote is provided for *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* ___ @@ -1831,7 +1831,7 @@ ___ *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* ___ @@ -1841,7 +1841,7 @@ ___ *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* ___ @@ -1849,7 +1849,7 @@ ___ • **makerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L244)* +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L244)* ___ @@ -1859,7 +1859,7 @@ ___ *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* ___ @@ -1869,7 +1869,7 @@ ___ *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* ___ @@ -1877,7 +1877,7 @@ ___ • **type**: *`Buy`* -*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L245)* +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L245)* ___ @@ -1887,7 +1887,7 @@ ___ *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)*
@@ -1923,7 +1923,7 @@ ___ *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* ___ @@ -1933,7 +1933,7 @@ ___ *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* ___ @@ -1943,7 +1943,7 @@ ___ *Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L249)* ___ @@ -1953,7 +1953,7 @@ ___ *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* ___ @@ -1963,7 +1963,7 @@ ___ *Inherited from [MarketBuySwapQuote](#makerassetfillamount)* -*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L244)* +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L244)* ___ @@ -1973,7 +1973,7 @@ ___ *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* ___ @@ -1983,7 +1983,7 @@ ___ *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* ___ @@ -1993,7 +1993,7 @@ ___ *Inherited from [MarketBuySwapQuote](#type)* -*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L245)* +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L245)* ___ @@ -2003,7 +2003,7 @@ ___ *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)*
@@ -2041,7 +2041,7 @@ type: Specified MarketOperation the SwapQuote is provided for *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* ___ @@ -2051,7 +2051,7 @@ ___ *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* ___ @@ -2061,7 +2061,7 @@ ___ *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* ___ @@ -2071,7 +2071,7 @@ ___ *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* ___ @@ -2081,7 +2081,7 @@ ___ *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* ___ @@ -2089,7 +2089,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L235)* +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L235)* ___ @@ -2097,7 +2097,7 @@ ___ • **type**: *`Sell`* -*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L236)* +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L236)* ___ @@ -2107,7 +2107,7 @@ ___ *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)*
@@ -2143,7 +2143,7 @@ ___ *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* ___ @@ -2153,7 +2153,7 @@ ___ *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* ___ @@ -2163,7 +2163,7 @@ ___ *Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L249)* ___ @@ -2173,7 +2173,7 @@ ___ *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* ___ @@ -2183,7 +2183,7 @@ ___ *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* ___ @@ -2193,7 +2193,7 @@ ___ *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* ___ @@ -2203,7 +2203,7 @@ ___ *Inherited from [MarketSellSwapQuote](#takerassetfillamount)* -*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L235)* +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L235)* ___ @@ -2213,7 +2213,7 @@ ___ *Inherited from [MarketSellSwapQuote](#type)* -*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L236)* +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L236)* ___ @@ -2223,7 +2223,7 @@ ___ *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)*
@@ -2256,7 +2256,7 @@ getAvailableTakerAssetDatasAsync: Given a maker asset data string, return all av • **getAvailableMakerAssetDatasAsync**: *function* -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L38)* #### Type declaration: @@ -2274,7 +2274,7 @@ ___ • **getAvailableTakerAssetDatasAsync**: *function* -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L39)* #### Type declaration: @@ -2292,7 +2292,7 @@ ___ • **getOrdersAsync**: *function* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L37)* #### Type declaration: @@ -2330,7 +2330,7 @@ networkId: The networkId that the desired orders should be for. • **makerAssetData**: *string* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L11)* ___ @@ -2338,7 +2338,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L13)* ___ @@ -2346,7 +2346,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L12)*
@@ -2370,7 +2370,7 @@ orders: An array of orders with optional remaining fillable makerAsset amounts. • **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L20)*
@@ -2396,7 +2396,7 @@ remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed or • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:328](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L328)* +*Defined in [types.ts:328](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L328)* ___ @@ -2404,7 +2404,7 @@ ___ • **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:329](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L329)* +*Defined in [types.ts:329](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L329)*
@@ -2447,7 +2447,7 @@ remainingFillableMakerAssetAmount: The amount of the makerAsset that is availabl *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:14 + ___ @@ -2457,7 +2457,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:16 + ___ @@ -2467,7 +2467,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:15 + ___ @@ -2477,7 +2477,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:5 + ___ @@ -2487,7 +2487,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:9 + ___ @@ -2497,7 +2497,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:11 + ___ @@ -2507,7 +2507,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:7 + ___ @@ -2515,7 +2515,7 @@ ___ • **remainingFillableMakerAssetAmount**? : *`BigNumber`* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L28)* ___ @@ -2525,7 +2525,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:13 + ___ @@ -2535,7 +2535,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:4 + ___ @@ -2545,7 +2545,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:33 + ___ @@ -2555,7 +2555,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:6 + ___ @@ -2565,7 +2565,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:10 + ___ @@ -2575,7 +2575,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:12 + ___ @@ -2585,7 +2585,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/types/lib/index.d.ts:8 +
@@ -2615,7 +2615,7 @@ signatures: An array of signatures that attest that the maker of the orders in f • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L75)* ___ @@ -2623,7 +2623,7 @@ ___ • **signatures**: *string[]* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L76)*
@@ -2658,7 +2658,7 @@ methodAbi: The ABI of the smart contract method to call with params. • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L66)* ___ @@ -2666,7 +2666,7 @@ ___ • **methodAbi**: *`MethodAbi`* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L67)* ___ @@ -2674,7 +2674,7 @@ ___ • **params**: *`T`* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L64)* ___ @@ -2682,7 +2682,7 @@ ___ • **toAddress**: *string* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L65)*
@@ -2720,7 +2720,7 @@ worstCaseQuoteInfo: Info about the worst case price for the asset. • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* ___ @@ -2728,7 +2728,7 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* ___ @@ -2736,7 +2736,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* ___ @@ -2744,7 +2744,7 @@ ___ • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* ___ @@ -2752,7 +2752,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* ___ @@ -2760,7 +2760,7 @@ ___ • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)*
@@ -2799,7 +2799,7 @@ executeSwapQuoteOrThrowAsync: Executes a web3 transaction to swap for tokens wit ▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* -*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L158)* +*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L158)* **Parameters:** @@ -2816,7 +2816,7 @@ ___ ▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* -*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L153)* **Parameters:** @@ -2833,7 +2833,7 @@ ___ ▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise>`* -*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L154)* **Parameters:** @@ -2866,7 +2866,7 @@ networkId: The networkId that the desired orders should be for. • **networkId**: *number* -*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L165)*
@@ -2904,7 +2904,7 @@ Represents the options for executing a swap quote with SwapQuoteConsumer *Overrides [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L192)* ___ @@ -2916,7 +2916,7 @@ ___ *Overrides [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L190)* ___ @@ -2928,7 +2928,7 @@ ___ *Overrides [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L191)* ___ @@ -2938,7 +2938,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L180)* ___ @@ -2948,7 +2948,7 @@ ___ *Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L181)* ___ @@ -2960,7 +2960,7 @@ ___ *Overrides [SwapQuoteExecutionOptsBase](#optional-takeraddress)* -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L202)* +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L202)* ___ @@ -2970,7 +2970,7 @@ ___ *Inherited from [SwapQuoteGetOutputOpts](#optional-useconsumertype)* -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L203)* +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L203)*
@@ -3002,7 +3002,7 @@ gasPrice: Gas price in Wei to use for a transaction • **gasLimit**? : *undefined | number* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L180)* ___ @@ -3010,7 +3010,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L181)* ___ @@ -3018,7 +3018,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L179)*
@@ -3053,7 +3053,7 @@ useConsumerType: If provided, defaults the SwapQuoteConsumer to create output co *Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L192)* ___ @@ -3063,7 +3063,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L190)* ___ @@ -3073,7 +3073,7 @@ ___ *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L191)* ___ @@ -3081,7 +3081,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L202)* +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L202)* ___ @@ -3089,7 +3089,7 @@ ___ • **useConsumerType**? : *[ConsumerType](#enumeration-consumertype)* -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L203)* +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L203)*
@@ -3133,7 +3133,7 @@ makerTokenAmount: The amount of makerToken that will be acquired through the swa • **feeTakerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:265](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L265)* +*Defined in [types.ts:265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L265)* ___ @@ -3141,7 +3141,7 @@ ___ • **makerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:268](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L268)* +*Defined in [types.ts:268](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L268)* ___ @@ -3149,7 +3149,7 @@ ___ • **takerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:267](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L267)* +*Defined in [types.ts:267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L267)* ___ @@ -3157,7 +3157,7 @@ ___ • **totalTakerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:266](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L266)* +*Defined in [types.ts:266](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L266)*
@@ -3185,7 +3185,7 @@ slippagePercentage: The percentage buffer to add to account for slippage. Affect • **shouldDisableRequestingFeeOrders**: *boolean* -*Defined in [types.ts:278](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L278)* +*Defined in [types.ts:278](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L278)* ___ @@ -3193,7 +3193,7 @@ ___ • **shouldForceOrderRefresh**: *boolean* -*Defined in [types.ts:277](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L277)* +*Defined in [types.ts:277](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L277)* ___ @@ -3201,7 +3201,7 @@ ___ • **slippagePercentage**: *number* -*Defined in [types.ts:279](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L279)* +*Defined in [types.ts:279](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L279)*
@@ -3229,7 +3229,7 @@ expiryBufferMs: The number of seconds to add when calculating whether an order i • **expiryBufferMs**: *number* -*Defined in [types.ts:296](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L296)* +*Defined in [types.ts:296](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L296)* ___ @@ -3237,7 +3237,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:294](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L294)* +*Defined in [types.ts:294](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L294)* ___ @@ -3245,7 +3245,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [types.ts:295](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L295)* +*Defined in [types.ts:295](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L295)*
@@ -3271,115 +3271,7 @@ ___ • **feePercentage**: *number* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/asset-swapper/src/types.ts#L249)* - -
- -* [Globals](globals.md) -* [External Modules]() - * [constants](modules/_constants_.md) - * [errors](modules/_errors_.md) - * [errors.InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror) - * [index](modules/_index_.md) - * [order_providers/basic_order_provider](modules/_order_providers_basic_order_provider_.md) - * [order_providers/basic_order_provider.BasicOrderProvider](#class-basicorderprovider) - * [order_providers/standard_relayer_api_order_provider](modules/_order_providers_standard_relayer_api_order_provider_.md) - * [order_providers/standard_relayer_api_order_provider.StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) - * [quote_consumers/exchange_swap_quote_consumer](modules/_quote_consumers_exchange_swap_quote_consumer_.md) - * [quote_consumers/exchange_swap_quote_consumer.ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer) - * [quote_consumers/forwarder_swap_quote_consumer](modules/_quote_consumers_forwarder_swap_quote_consumer_.md) - * [quote_consumers/forwarder_swap_quote_consumer.ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer) - * [quote_consumers/swap_quote_consumer](modules/_quote_consumers_swap_quote_consumer_.md) - * [quote_consumers/swap_quote_consumer.SwapQuoteConsumer](#class-swapquoteconsumer) - * [swap_quoter](modules/_swap_quoter_.md) - * [swap_quoter.SwapQuoter](#class-swapquoter) - * [types](modules/_types_.md) - * [types.ConsumerType](#class-consumertype) - * [types.SwapQuoteConsumerError](#class-swapquoteconsumererror) - * [types.SwapQuoterError](#class-swapquotererror) - * [types.CalldataInfo](#class-calldatainfo) - * [types.ExchangeMarketBuySmartContractParams](#class-exchangemarketbuysmartcontractparams) - * [types.ExchangeMarketSellSmartContractParams](#class-exchangemarketsellsmartcontractparams) - * [types.ForwarderMarketBuySmartContractParams](#class-forwardermarketbuysmartcontractparams) - * [types.ForwarderMarketSellSmartContractParams](#class-forwardermarketsellsmartcontractparams) - * [types.ForwarderSmartContractParamsBase](#class-forwardersmartcontractparamsbase) - * [types.ForwarderSwapQuoteExecutionOpts](#class-forwarderswapquoteexecutionopts) - * [types.ForwarderSwapQuoteGetOutputOpts](#class-forwarderswapquotegetoutputopts) - * [types.LiquidityForAssetData](#class-liquidityforassetdata) - * [types.MarketBuySwapQuote](#class-marketbuyswapquote) - * [types.MarketBuySwapQuoteWithAffiliateFee](#class-marketbuyswapquotewithaffiliatefee) - * [types.MarketSellSwapQuote](#class-marketsellswapquote) - * [types.MarketSellSwapQuoteWithAffiliateFee](#class-marketsellswapquotewithaffiliatefee) - * [types.OrderProvider](#class-orderprovider) - * [types.OrderProviderRequest](#class-orderproviderrequest) - * [types.OrderProviderResponse](#class-orderproviderresponse) - * [types.OrdersAndFillableAmounts](#class-ordersandfillableamounts) - * [types.SignedOrderWithRemainingFillableMakerAssetAmount](#class-signedorderwithremainingfillablemakerassetamount) - * [types.SmartContractParamsBase](#class-smartcontractparamsbase) - * [types.SmartContractParamsInfo](#class-smartcontractparamsinfo) - * [types.SwapQuoteBase](#class-swapquotebase) - * [types.SwapQuoteConsumerBase](#class-swapquoteconsumerbase) - * [types.SwapQuoteConsumerOpts](#class-swapquoteconsumeropts) - * [types.SwapQuoteExecutionOpts](#class-swapquoteexecutionopts) - * [types.SwapQuoteExecutionOptsBase](#class-swapquoteexecutionoptsbase) - * [types.SwapQuoteGetOutputOpts](#class-swapquotegetoutputopts) - * [types.SwapQuoteGetOutputOptsBase](#class-swapquotegetoutputoptsbase) - * [types.SwapQuoteInfo](#class-swapquoteinfo) - * [types.SwapQuoteRequestOpts](#class-swapquoterequestopts) - * [types.SwapQuoteWithAffiliateFeeBase](#class-swapquotewithaffiliatefeebase) - * [types.SwapQuoterOpts](#class-swapquoteropts) - * [utils/affiliate_fee_utils](modules/_utils_affiliate_fee_utils_.md) - * [utils/assert](modules/_utils_assert_.md) - * [utils/asset_data_utils](modules/_utils_asset_data_utils_.md) - * [utils/calculate_liquidity](modules/_utils_calculate_liquidity_.md) - * [utils/order_provider_response_processor](modules/_utils_order_provider_response_processor_.md) - * [utils/swap_quote_calculator](modules/_utils_swap_quote_calculator_.md) - * [utils/swap_quote_consumer_utils](modules/_utils_swap_quote_consumer_utils_.md) - * [utils/utils](modules/_utils_utils_.md) -* [Classes]() - * [errors.InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror) - * [order_providers/basic_order_provider.BasicOrderProvider](#class-basicorderprovider) - * [order_providers/standard_relayer_api_order_provider.StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) - * [quote_consumers/exchange_swap_quote_consumer.ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer) - * [quote_consumers/forwarder_swap_quote_consumer.ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer) - * [quote_consumers/swap_quote_consumer.SwapQuoteConsumer](#class-swapquoteconsumer) - * [swap_quoter.SwapQuoter](#class-swapquoter) -* [Enums]() - * [types.ConsumerType](#class-consumertype) - * [types.SwapQuoteConsumerError](#class-swapquoteconsumererror) - * [types.SwapQuoterError](#class-swapquotererror) -* [Interfaces]() - * [types.CalldataInfo](#class-calldatainfo) - * [types.ExchangeMarketBuySmartContractParams](#class-exchangemarketbuysmartcontractparams) - * [types.ExchangeMarketSellSmartContractParams](#class-exchangemarketsellsmartcontractparams) - * [types.ForwarderMarketBuySmartContractParams](#class-forwardermarketbuysmartcontractparams) - * [types.ForwarderMarketSellSmartContractParams](#class-forwardermarketsellsmartcontractparams) - * [types.ForwarderSmartContractParamsBase](#class-forwardersmartcontractparamsbase) - * [types.ForwarderSwapQuoteExecutionOpts](#class-forwarderswapquoteexecutionopts) - * [types.ForwarderSwapQuoteGetOutputOpts](#class-forwarderswapquotegetoutputopts) - * [types.LiquidityForAssetData](#class-liquidityforassetdata) - * [types.MarketBuySwapQuote](#class-marketbuyswapquote) - * [types.MarketBuySwapQuoteWithAffiliateFee](#class-marketbuyswapquotewithaffiliatefee) - * [types.MarketSellSwapQuote](#class-marketsellswapquote) - * [types.MarketSellSwapQuoteWithAffiliateFee](#class-marketsellswapquotewithaffiliatefee) - * [types.OrderProvider](#class-orderprovider) - * [types.OrderProviderRequest](#class-orderproviderrequest) - * [types.OrderProviderResponse](#class-orderproviderresponse) - * [types.OrdersAndFillableAmounts](#class-ordersandfillableamounts) - * [types.SignedOrderWithRemainingFillableMakerAssetAmount](#class-signedorderwithremainingfillablemakerassetamount) - * [types.SmartContractParamsBase](#class-smartcontractparamsbase) - * [types.SmartContractParamsInfo](#class-smartcontractparamsinfo) - * [types.SwapQuoteBase](#class-swapquotebase) - * [types.SwapQuoteConsumerBase](#class-swapquoteconsumerbase) - * [types.SwapQuoteConsumerOpts](#class-swapquoteconsumeropts) - * [types.SwapQuoteExecutionOpts](#class-swapquoteexecutionopts) - * [types.SwapQuoteExecutionOptsBase](#class-swapquoteexecutionoptsbase) - * [types.SwapQuoteGetOutputOpts](#class-swapquotegetoutputopts) - * [types.SwapQuoteGetOutputOptsBase](#class-swapquotegetoutputoptsbase) - * [types.SwapQuoteInfo](#class-swapquoteinfo) - * [types.SwapQuoteRequestOpts](#class-swapquoterequestopts) - * [types.SwapQuoteWithAffiliateFeeBase](#class-swapquotewithaffiliatefeebase) - * [types.SwapQuoterOpts](#class-swapquoteropts) +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L249)*
diff --git a/packages/connect/docs/reference.mdx b/packages/connect/docs/reference.mdx index 3fc80d0b91..ae43de6e6e 100644 --- a/packages/connect/docs/reference.mdx +++ b/packages/connect/docs/reference.mdx @@ -33,7 +33,7 @@ that implement the standard relayer API v2 \+ **new HttpClient**(`url`: string): *[HttpClient](#class-httpclient)* -*Defined in [http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L44)* +*Defined in [http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L44)* Instantiates a new HttpClient instance @@ -53,7 +53,7 @@ An instance of HttpClient ▸ **getAssetPairsAsync**(`requestOpts?`: `RequestOpts` & `AssetPairsRequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L59)* +*Defined in [http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L59)* Retrieve assetData pair info from the API @@ -73,7 +73,7 @@ ___ ▸ **getFeeRecipientsAsync**(`requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L160)* +*Defined in [http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L160)* Retrieve the list of fee recipient addresses used by the relayer. @@ -93,7 +93,7 @@ ___ ▸ **getOrderAsync**(`orderHash`: string, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L99)* +*Defined in [http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L99)* Retrieve a specific order from the API @@ -114,7 +114,7 @@ ___ ▸ **getOrderConfigAsync**(`request`: `OrderConfigRequest`, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L139)* +*Defined in [http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L139)* Retrieve fee information from the API @@ -135,7 +135,7 @@ ___ ▸ **getOrderbookAsync**(`request`: `OrderbookRequest`, `requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L117)* +*Defined in [http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L117)* Retrieve an orderbook from the API @@ -156,7 +156,7 @@ ___ ▸ **getOrdersAsync**(`requestOpts?`: `RequestOpts` & `OrdersRequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L79)* +*Defined in [http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L79)* Retrieve orders from the API @@ -176,7 +176,7 @@ ___ ▸ **submitOrderAsync**(`signedOrder`: `SignedOrder`, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/http_client.ts#L177)* +*Defined in [http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L177)* Submit a signed order to the API @@ -219,9 +219,9 @@ that implements the standard relayer API v0 ### constructor -\+ **new WebSocketOrdersChannel**(`client`: `w3cwebsocket`, `handler`: [OrdersChannelHandler](#class-websocketorderschannel)* +\+ **new WebSocketOrdersChannel**(`client`: `w3cwebsocket`, `handler`: [OrdersChannelHandler](#interface-orderschannelhandler)): *[WebSocketOrdersChannel](#class-websocketorderschannel)* -*Defined in [ws_orders_channel.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/ws_orders_channel.ts#L21)* +*Defined in [ws_orders_channel.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/ws_orders_channel.ts#L21)* Instantiates a new WebSocketOrdersChannel instance @@ -242,7 +242,7 @@ An instance of WebSocketOrdersChannel ▸ **close**(): *void* -*Defined in [ws_orders_channel.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/ws_orders_channel.ts#L66)* +*Defined in [ws_orders_channel.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/ws_orders_channel.ts#L66)* Close the websocket and stop receiving updates @@ -254,7 +254,7 @@ ___ ▸ **subscribe**(`subscriptionOpts`: `OrdersChannelSubscriptionOpts`): *void* -*Defined in [ws_orders_channel.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/ws_orders_channel.ts#L50)* +*Defined in [ws_orders_channel.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/ws_orders_channel.ts#L50)* Subscribe to orderbook snapshots and updates from the websocket @@ -283,7 +283,7 @@ Name | Type | Description | • **Get**: = "GET" -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L46)* ___ @@ -291,7 +291,7 @@ ___ • **Post**: = "POST" -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L47)*
@@ -323,7 +323,7 @@ ___ • **getAssetPairsAsync**: *function* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L18)* #### Type declaration: @@ -341,7 +341,7 @@ ___ • **getFeeRecipientsAsync**: *function* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L25)* #### Type declaration: @@ -359,7 +359,7 @@ ___ • **getOrderAsync**: *function* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L22)* #### Type declaration: @@ -377,7 +377,7 @@ ___ • **getOrderConfigAsync**: *function* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L24)* #### Type declaration: @@ -395,7 +395,7 @@ ___ • **getOrderbookAsync**: *function* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L23)* #### Type declaration: @@ -414,7 +414,7 @@ ___ • **getOrdersAsync**: *function* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L21)* #### Type declaration: @@ -432,7 +432,7 @@ ___ • **submitOrderAsync**: *function* -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L26)* #### Type declaration: @@ -465,7 +465,7 @@ Name | Type | • **params**? : *undefined | object* -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L41)* ___ @@ -473,7 +473,7 @@ ___ • **payload**? : *undefined | object* -*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L42)*
@@ -500,7 +500,7 @@ ___ • **close**: *function* -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L31)* #### Type declaration: @@ -512,7 +512,7 @@ ___ • **subscribe**: *function* -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L30)* #### Type declaration: @@ -546,7 +546,7 @@ Name | Type | • **onClose**: *function* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L37)* #### Type declaration: @@ -564,7 +564,7 @@ ___ • **onError**: *function* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L36)* #### Type declaration: @@ -584,7 +584,7 @@ ___ • **onUpdate**: *function* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/connect/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L35)* #### Type declaration: @@ -612,36 +612,3 @@ Name | Type |
-* [Globals](globals.md) -* [External Modules]() - * [http_client](modules/_http_client_.md) - * [http_client.HttpClient](#class-httpclient) - * [index](modules/_index_.md) - * [orders_channel_factory](modules/_orders_channel_factory_.md) - * [types](modules/_types_.md) - * [types.HttpRequestType](#class-httprequesttype) - * [types.Client](#class-client) - * [types.HttpRequestOptions](#class-httprequestoptions) - * [types.OrdersChannel](#class-orderschannel) - * [types.OrdersChannelHandler](#class-orderschannelhandler) - * [utils/assert](modules/_utils_assert_.md) - * [utils/orders_channel_message_parser](modules/_utils_orders_channel_message_parser_.md) - * [utils/relayer_response_json_parsers](modules/_utils_relayer_response_json_parsers_.md) - * [utils/type_converters](modules/_utils_type_converters_.md) - * [ws_orders_channel](modules/_ws_orders_channel_.md) - * [ws_orders_channel.WebSocketOrdersChannel](#class-websocketorderschannel) - * [ws_orders_channel.OrdersChannelSubscriptionOptsMap](#class-orderschannelsubscriptionoptsmap) -* [Classes]() - * [http_client.HttpClient](#class-httpclient) - * [ws_orders_channel.WebSocketOrdersChannel](#class-websocketorderschannel) -* [Enums]() - * [types.HttpRequestType](#class-httprequesttype) -* [Interfaces]() - * [types.Client](#class-client) - * [types.HttpRequestOptions](#class-httprequestoptions) - * [types.OrdersChannel](#class-orderschannel) - * [types.OrdersChannelHandler](#class-orderschannelhandler) - * [ws_orders_channel.OrdersChannelSubscriptionOptsMap](#class-orderschannelsubscriptionoptsmap) - -
- diff --git a/packages/contract-wrappers/docs/reference.mdx b/packages/contract-wrappers/docs/reference.mdx index 7a7cc5c582..1a02871ce4 100644 --- a/packages/contract-wrappers/docs/reference.mdx +++ b/packages/contract-wrappers/docs/reference.mdx @@ -1,137 +1,3 @@ -> # Class: AbstractBalanceAndProxyAllowanceLazyStore - -## Hierarchy - -* **AbstractBalanceAndProxyAllowanceLazyStore** - -## Index - -### Methods - -* [deleteAll](#abstract-deleteall) -* [deleteBalance](#abstract-deletebalance) -* [deleteProxyAllowance](#abstract-deleteproxyallowance) -* [getBalanceAsync](#abstract-getbalanceasync) -* [getProxyAllowanceAsync](#abstract-getproxyallowanceasync) -* [setBalance](#abstract-setbalance) -* [setProxyAllowance](#abstract-setproxyallowance) - -## Methods - -### `Abstract` deleteAll - -▸ **deleteAll**(): *void* - -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* - -**Returns:** *void* - -___ - -### `Abstract` deleteBalance - -▸ **deleteBalance**(`tokenAddress`: string, `userAddress`: string): *void* - -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* - -**Parameters:** - -Name | Type | ------- | ------ | -`tokenAddress` | string | -`userAddress` | string | - -**Returns:** *void* - -___ - -### `Abstract` deleteProxyAllowance - -▸ **deleteProxyAllowance**(`tokenAddress`: string, `userAddress`: string): *void* - -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* - -**Parameters:** - -Name | Type | ------- | ------ | -`tokenAddress` | string | -`userAddress` | string | - -**Returns:** *void* - -___ - -### `Abstract` getBalanceAsync - -▸ **getBalanceAsync**(`tokenAddress`: string, `userAddress`: string): *`Promise`* - -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* - -**Parameters:** - -Name | Type | ------- | ------ | -`tokenAddress` | string | -`userAddress` | string | - -**Returns:** *`Promise`* - -___ - -### `Abstract` getProxyAllowanceAsync - -▸ **getProxyAllowanceAsync**(`tokenAddress`: string, `userAddress`: string): *`Promise`* - -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* - -**Parameters:** - -Name | Type | ------- | ------ | -`tokenAddress` | string | -`userAddress` | string | - -**Returns:** *`Promise`* - -___ - -### `Abstract` setBalance - -▸ **setBalance**(`tokenAddress`: string, `userAddress`: string, `balance`: `BigNumber`): *void* - -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* - -**Parameters:** - -Name | Type | ------- | ------ | -`tokenAddress` | string | -`userAddress` | string | -`balance` | `BigNumber` | - -**Returns:** *void* - -___ - -### `Abstract` setProxyAllowance - -▸ **setProxyAllowance**(`tokenAddress`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* - -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* - -**Parameters:** - -Name | Type | ------- | ------ | -`tokenAddress` | string | -`userAddress` | string | -`proxyAllowance` | `BigNumber` | - -**Returns:** *void* - -
- > # Class: ContractWrappers The ContractWrappers class contains smart contract wrappers helpful when building on 0x protocol. @@ -151,13 +17,11 @@ The ContractWrappers class contains smart contract wrappers helpful when buildin * [coordinator](#coordinator) * [dutchAuction](#dutchauction) * [erc20Proxy](#erc20proxy) -* [erc20Token](#erc20token) * [erc721Proxy](#erc721proxy) -* [erc721Token](#erc721token) -* [etherToken](#ethertoken) * [exchange](#exchange) * [forwarder](#forwarder) * [orderValidator](#ordervalidator) +* [weth9](#weth9) ### Methods @@ -169,9 +33,9 @@ The ContractWrappers class contains smart contract wrappers helpful when buildin ### constructor -\+ **new ContractWrappers**(`supportedProvider`: `SupportedProvider`, `config`: [ContractWrappersConfig](#class-contractwrappers)* +\+ **new ContractWrappers**(`supportedProvider`: `SupportedProvider`, `config`: [ContractWrappersConfig](#interface-contractwrappersconfig)): *[ContractWrappers](#class-contractwrappers)* -*Defined in [contract_wrappers.ts:83](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L83)* +*Defined in [contract_wrappers.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L72)* Instantiates a new ContractWrappers instance. @@ -192,7 +56,7 @@ An instance of the ContractWrappers class. • **coordinator**: *[CoordinatorWrapper](#class-coordinatorwrapper)* -*Defined in [contract_wrappers.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L81)* +*Defined in [contract_wrappers.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L70)* An instance of the CoordinatorWrapper class containing methods for interacting with the Coordinator extension contract. @@ -200,94 +64,74 @@ ___ ### dutchAuction -• **dutchAuction**: *[DutchAuctionWrapper](#class-dutchauctionwrapper)* +• **dutchAuction**: *[DutchAuctionContract](#class-dutchauctioncontract)* -*Defined in [contract_wrappers.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L76)* +*Defined in [contract_wrappers.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L66)* -An instance of the DutchAuctionWrapper class containing methods for interacting with any DutchAuction smart contract. +An instance of the DutchAuctionContract class containing methods for interacting with any DutchAuction smart contract. ___ ### erc20Proxy -• **erc20Proxy**: *[ERC20ProxyWrapper](#class-erc20proxywrapper)* +• **erc20Proxy**: *[ERC20ProxyContract](#class-erc20proxycontract)* -*Defined in [contract_wrappers.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L59)* +*Defined in [contract_wrappers.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L44)* -An instance of the ERC20ProxyWrapper class containing methods for interacting with the +An instance of the ERC20ProxyContract class containing methods for interacting with the erc20Proxy smart contract. ___ -### erc20Token - -• **erc20Token**: *[ERC20TokenWrapper](#class-erc20tokenwrapper)* - -*Defined in [contract_wrappers.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L45)* - -An instance of the ERC20TokenWrapper class containing methods for interacting with any ERC20 token smart contract. - -___ - ### erc721Proxy -• **erc721Proxy**: *[ERC721ProxyWrapper](#class-erc721proxywrapper)* +• **erc721Proxy**: *[ERC721ProxyContract](#class-erc721proxycontract)* -*Defined in [contract_wrappers.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L64)* +*Defined in [contract_wrappers.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L49)* -An instance of the ERC721ProxyWrapper class containing methods for interacting with the +An instance of the ERC721ProxyContract class containing methods for interacting with the erc721Proxy smart contract. ___ -### erc721Token - -• **erc721Token**: *[ERC721TokenWrapper](#class-erc721tokenwrapper)* - -*Defined in [contract_wrappers.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L49)* - -An instance of the ERC721TokenWrapper class containing methods for interacting with any ERC721 token smart contract. - -___ - -### etherToken +### exchange -• **etherToken**: *[EtherTokenWrapper](#class-ethertokenwrapper)* +• **exchange**: *[ExchangeContract](#class-exchangecontract)* -*Defined in [contract_wrappers.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L54)* +*Defined in [contract_wrappers.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L39)* -An instance of the EtherTokenWrapper class containing methods for interacting with the -wrapped ETH ERC20 token smart contract. +An instance of the ExchangeContract class containing methods for interacting with the 0x Exchange smart contract. ___ -### exchange +### forwarder -• **exchange**: *[ExchangeWrapper](#class-exchangewrapper)* +• **forwarder**: *[ForwarderContract](#class-forwardercontract)* -*Defined in [contract_wrappers.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L41)* +*Defined in [contract_wrappers.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L58)* -An instance of the ExchangeWrapper class containing methods for interacting with the 0x Exchange smart contract. +An instance of the ForwarderContract class containing methods for interacting with any Forwarder smart contract. ___ -### forwarder +### orderValidator -• **forwarder**: *[ForwarderWrapper](#class-forwarderwrapper)* +• **orderValidator**: *[OrderValidatorContract](#class-ordervalidatorcontract)* -*Defined in [contract_wrappers.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L68)* +*Defined in [contract_wrappers.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L62)* -An instance of the ForwarderWrapper class containing methods for interacting with any Forwarder smart contract. +An instance of the OrderValidatorContract class containing methods for interacting with any OrderValidator smart contract. ___ -### orderValidator +### weth9 -• **orderValidator**: *[OrderValidatorWrapper](#class-ordervalidatorwrapper)* +• **weth9**: *[WETH9Contract](#class-weth9contract)* -*Defined in [contract_wrappers.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L72)* +*Defined in [contract_wrappers.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L54)* -An instance of the OrderValidatorWrapper class containing methods for interacting with any OrderValidator smart contract. +An instance of the WETH9Contract class containing methods for interacting with the +WETH9 smart contract. ## Methods @@ -295,7 +139,7 @@ An instance of the OrderValidatorWrapper class containing methods for interactin ▸ **getAbiDecoder**(): *`AbiDecoder`* -*Defined in [contract_wrappers.ts:179](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L179)* +*Defined in [contract_wrappers.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L140)* Get the abi decoder instance currently used by contract-wrappers @@ -309,7 +153,7 @@ ___ ▸ **getProvider**(): *`SupportedProvider`* -*Defined in [contract_wrappers.ts:172](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L172)* +*Defined in [contract_wrappers.ts:133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L133)* Get the provider instance currently used by contract-wrappers @@ -323,7 +167,7 @@ ___ ▸ **unsubscribeAll**(): *void* -*Defined in [contract_wrappers.ts:162](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers.ts#L162)* +*Defined in [contract_wrappers.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L123)* Unsubscribes from all subscriptions for all contracts. @@ -380,7 +224,7 @@ the 0x V2 Coordinator extension contract. \+ **new CoordinatorWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string, `exchangeAddress?`: undefined | string, `registryAddress?`: undefined | string): *[CoordinatorWrapper](#class-coordinatorwrapper)* -*Defined in [contract_wrappers/coordinator_wrapper.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L43)* +*Defined in [coordinator_wrapper.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L43)* Instantiate CoordinatorWrapper @@ -402,7 +246,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = Coordinator.compilerOutput.abi -*Defined in [contract_wrappers/coordinator_wrapper.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L33)* +*Defined in [coordinator_wrapper.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L34)* ___ @@ -410,7 +254,7 @@ ___ • **address**: *string* -*Defined in [contract_wrappers/coordinator_wrapper.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L35)* +*Defined in [coordinator_wrapper.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L36)* ___ @@ -418,7 +262,7 @@ ___ • **exchangeAddress**: *string* -*Defined in [contract_wrappers/coordinator_wrapper.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L36)* +*Defined in [coordinator_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L37)* ___ @@ -426,7 +270,7 @@ ___ • **networkId**: *number* -*Defined in [contract_wrappers/coordinator_wrapper.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L34)* +*Defined in [coordinator_wrapper.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L35)* ___ @@ -434,7 +278,7 @@ ___ • **registryAddress**: *string* -*Defined in [contract_wrappers/coordinator_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L37)* +*Defined in [coordinator_wrapper.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L38)* ## Methods @@ -442,7 +286,7 @@ ___ ▸ **assertValidCoordinatorApprovalsOrThrowAsync**(`transaction`: `ZeroExTransaction`, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[]): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:582](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L582)* +*Defined in [coordinator_wrapper.ts:637](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L637)* Validates that the 0x transaction has been approved by all of the feeRecipients that correspond to each order in the transaction's Exchange calldata. Throws an error if the transaction approvals are not valid. Will not detect failures that would occur when the transaction is executed on the Exchange contract. @@ -465,7 +309,7 @@ ___ ▸ **batchFillOrKillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:248](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L248)* +*Defined in [coordinator_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L273)* Batch version of fillOrKillOrderAsync. Executes multiple fills atomically in a single transaction. @@ -488,7 +332,7 @@ ___ ▸ **batchFillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L190)* +*Defined in [coordinator_wrapper.ts:203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L203)* Batch version of fillOrderAsync. Executes multiple fills atomically in a single transaction. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -516,7 +360,7 @@ ___ ▸ **batchFillOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:219](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L219)* +*Defined in [coordinator_wrapper.ts:238](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L238)* No throw version of batchFillOrdersAsync @@ -539,7 +383,7 @@ ___ ▸ **batchHardCancelOrdersAsync**(`orders`: `SignedOrder`[], `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:513](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L513)* +*Defined in [coordinator_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L568)* Batch version of hardCancelOrderAsync. Cancels orders on-chain by submitting an Ethereum transaction. Executes multiple cancels atomically in a single transaction. @@ -561,7 +405,7 @@ ___ ▸ **batchSoftCancelOrdersAsync**(`orders`: `SignedOrder`[]): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L427)* +*Defined in [coordinator_wrapper.ts:482](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L482)* Batch version of softCancelOrderAsync. Requests multiple soft cancels @@ -581,7 +425,7 @@ ___ ▸ **fillOrKillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L158)* +*Defined in [coordinator_wrapper.ts:166](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L166)* Attempts to fill a specific amount of an order. If the entire amount specified cannot be filled, the fill order is abandoned. @@ -605,7 +449,7 @@ ___ ▸ **fillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L103)* +*Defined in [coordinator_wrapper.ts:101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L101)* Fills a signed order with an amount denominated in baseUnits of the taker asset. Under-the-hood, this method uses the `feeRecipientAddress` of the order to look up the coordinator server endpoint registered in the @@ -632,7 +476,7 @@ ___ ▸ **fillOrderNoThrowAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:130](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L130)* +*Defined in [coordinator_wrapper.ts:133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L133)* No-throw version of fillOrderAsync. This version will not throw if the fill fails. This allows the caller to save gas at the expense of not knowing the reason the fill failed. @@ -655,7 +499,7 @@ ___ ▸ **getSignerAddressAsync**(`hash`: string, `signature`: string): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:614](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L614)* +*Defined in [coordinator_wrapper.ts:669](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L669)* Recovers the address of a signer given a hash and signature. @@ -676,7 +520,7 @@ ___ ▸ **hardCancelOrderAsync**(`order`: `Order` | `SignedOrder`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:481](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L481)* +*Defined in [coordinator_wrapper.ts:536](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L536)* Cancels an order on-chain by submitting an Ethereum transaction. @@ -697,7 +541,7 @@ ___ ▸ **hardCancelOrdersUpToAsync**(`targetOrderEpoch`: `BigNumber`, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:548](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L548)* +*Defined in [coordinator_wrapper.ts:603](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L603)* Cancels orders on-chain by submitting an Ethereum transaction. Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch @@ -721,7 +565,7 @@ ___ ▸ **marketBuyOrdersAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:282](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L282)* +*Defined in [coordinator_wrapper.ts:313](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L313)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -749,7 +593,7 @@ ___ ▸ **marketBuyOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:341](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L341)* +*Defined in [coordinator_wrapper.ts:384](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L384)* No throw version of marketBuyOrdersAsync @@ -772,7 +616,7 @@ ___ ▸ **marketSellOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:314](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L314)* +*Defined in [coordinator_wrapper.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L351)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -800,7 +644,7 @@ ___ ▸ **marketSellOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:368](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L368)* +*Defined in [coordinator_wrapper.ts:417](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L417)* No throw version of marketSellOrdersAsync @@ -823,7 +667,7 @@ ___ ▸ **softCancelOrderAsync**(`order`: `Order` | `SignedOrder`): *`Promise`* -*Defined in [contract_wrappers/coordinator_wrapper.ts:392](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/coordinator_wrapper.ts#L392)* +*Defined in [coordinator_wrapper.ts:447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L447)* Soft cancel a given order. Soft cancels are recorded only on coordinator operator servers and do not involve an Ethereum transaction. @@ -841,11 +685,13 @@ CoordinatorServerCancellationResponse. See [Cancellation Response](https://githu
-> # Class: DutchAuctionWrapper +> # Class: AssetProxyOwnerContract ## Hierarchy -* **DutchAuctionWrapper** +* `BaseContract` + + * **AssetProxyOwnerContract** ## Index @@ -857,41 +703,80 @@ CoordinatorServerCancellationResponse. See [Cancellation Response](https://githu * [abi](#abi) * [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) ### Methods -* [getAuctionDetailsAsync](#getauctiondetailsasync) -* [matchOrdersAsync](#matchordersasync) -* [decodeDutchAuctionData](#static-decodedutchauctiondata) -* [encodeDutchAuctionAssetData](#static-encodedutchauctionassetdata) +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [MAX_OWNER_COUNT](#max_owner_count) +* [addOwner](#addowner) +* [changeRequirement](#changerequirement) +* [changeTimeLock](#changetimelock) +* [confirmTransaction](#confirmtransaction) +* [confirmationTimes](#confirmationtimes) +* [confirmations](#confirmations) +* [executeRemoveAuthorizedAddressAtIndex](#executeremoveauthorizedaddressatindex) +* [executeTransaction](#executetransaction) +* [getConfirmationCount](#getconfirmationcount) +* [getConfirmations](#getconfirmations) +* [getOwners](#getowners) +* [getTransactionCount](#gettransactioncount) +* [getTransactionIds](#gettransactionids) +* [isAssetProxyRegistered](#isassetproxyregistered) +* [isConfirmed](#isconfirmed) +* [isOwner](#isowner) +* [owners](#owners) +* [registerAssetProxy](#registerassetproxy) +* [removeOwner](#removeowner) +* [replaceOwner](#replaceowner) +* [required](#required) +* [revokeConfirmation](#revokeconfirmation) +* [secondsTimeLocked](#secondstimelocked) +* [submitTransaction](#submittransaction) +* [transactionCount](#transactioncount) +* [transactions](#transactions) ## Constructors ### constructor -\+ **new DutchAuctionWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[DutchAuctionWrapper](#class-dutchauctionwrapper)* +\+ **new AssetProxyOwnerContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[AssetProxyOwnerContract](#class-assetproxyownercontract)* -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L49)* +*Overrides void* -Instantiate DutchAuctionWrapper +*Defined in [generated-wrappers/asset_proxy_owner.ts:3959](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3959)* **Parameters:** -Name | Type | Description | ------- | ------ | ------ | -`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use. | -`networkId` | number | Desired networkId. | -`address?` | undefined \| string | The address of the Dutch Auction contract. If undefined, will default to the known address corresponding to the networkId. | +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | -**Returns:** *[DutchAuctionWrapper](#class-dutchauctionwrapper)* +**Returns:** *[AssetProxyOwnerContract](#class-assetproxyownercontract)* ## Properties ### abi -• **abi**: *`ContractAbi`* = DutchAuction.compilerOutput.abi +• **abi**: *`ContractAbi`* + +*Inherited from void* + -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L18)* ___ @@ -899,3751 +784,26934 @@ ___ • **address**: *string* -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L19)* - -## Methods +*Inherited from void* -### getAuctionDetailsAsync -▸ **getAuctionDetailsAsync**(`sellOrder`: `SignedOrder`): *`Promise`* -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L131)* +___ -Fetches the Auction Details for the given order +### constructorArgs -**Parameters:** +• **constructorArgs**: *any[]* -Name | Type | Description | ------- | ------ | ------ | -`sellOrder` | `SignedOrder` | The Seller's order. This order is for the lowest amount (at the end of the auction). | +*Inherited from void* -**Returns:** *`Promise`* -The dutch auction details. ___ -### matchOrdersAsync - -▸ **matchOrdersAsync**(`buyOrder`: `SignedOrder`, `sellOrder`: `SignedOrder`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +### contractName -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L77)* +• **contractName**: *string* -Matches the buy and sell orders at an amount given the following: the current block time, the auction -start time and the auction begin amount. The sell order is a an order at the lowest amount -at the end of the auction. Excess from the match is transferred to the seller. -Over time the price moves from beginAmount to endAmount given the current block.timestamp. +*Inherited from void* -**Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`buyOrder` | `SignedOrder` | - | The Buyer's order. This order is for the current expected price of the auction. | -`sellOrder` | `SignedOrder` | - | The Seller's order. This order is for the lowest amount (at the end of the auction). | -`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | - | -**Returns:** *`Promise`* +## Methods -Transaction hash. +### getLogsAsync -___ +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [AssetProxyOwnerEvents](#enumeration-assetproxyownerevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* -### `Static` decodeDutchAuctionData +*Defined in [generated-wrappers/asset_proxy_owner.ts:3943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3943)* -▸ **decodeDutchAuctionData**(`dutchAuctionData`: string): *`DutchAuctionData`* +Gets historical logs without creating a subscription -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L46)* +**Type parameters:** -Dutch auction details are encoded with the asset data for a 0x order. This function decodes a hex -encoded assetData string, containing information both about the asset being traded and the -dutch auction. +▪ **ArgsType**: *[AssetProxyOwnerEventArgs](#assetproxyownereventargs)* **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`dutchAuctionData` | string | Hex encoded assetData string for the asset being auctioned. | +`eventName` | [AssetProxyOwnerEvents](#enumeration-assetproxyownerevents) | The AssetProxyOwner contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | -**Returns:** *`DutchAuctionData`* +**Returns:** *`Promise>>`* -An object containing the auction asset, auction begin time and auction begin amount. +Array of logs that match the parameters ___ -### `Static` encodeDutchAuctionAssetData +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [AssetProxyOwnerEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:3901](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3901)* -▸ **encodeDutchAuctionAssetData**(`assetData`: string, `beginTimeSeconds`: `BigNumber`, `beginAmount`: `BigNumber`): *string* +Subscribe to an event type emitted by the AssetProxyOwner contract. -*Defined in [contract_wrappers/dutch_auction_wrapper.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts#L31)* +**Type parameters:** -Dutch auction details are encoded with the asset data for a 0x order. This function produces a hex -encoded assetData string, containing information both about the asset being traded and the -dutch auction; which is usable in the makerAssetData or takerAssetData fields in a 0x order. +▪ **ArgsType**: *[AssetProxyOwnerEventArgs](#assetproxyownereventargs)* **Parameters:** -Name | Type | Description | ------- | ------ | ------ | -`assetData` | string | Hex encoded assetData string for the asset being auctioned. | -`beginTimeSeconds` | `BigNumber` | Begin time of the dutch auction. | -`beginAmount` | `BigNumber` | Starting amount being sold in the dutch auction. | +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [AssetProxyOwnerEvents](#enumeration-assetproxyownerevents) | - | The AssetProxyOwner contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | **Returns:** *string* -The hex encoded assetData string. +Subscription token used later to unsubscribe -
+___ -> # Class: ERC20ProxyWrapper +### unsubscribe -This class includes the functionality related to interacting with the ERC20Proxy contract. +▸ **unsubscribe**(`subscriptionToken`: string): *void* -## Hierarchy +*Defined in [generated-wrappers/asset_proxy_owner.ts:3926](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3926)* -* **ERC20ProxyWrapper** +Cancel a subscription -## Index +**Parameters:** -### Constructors +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | -* [constructor](#constructor) +**Returns:** *void* -### Properties +___ -* [abi](#abi) -* [address](#address) +### unsubscribeAll -### Methods +▸ **unsubscribeAll**(): *void* -* [getAuthorizedAddressesAsync](#getauthorizedaddressesasync) -* [getProxyIdAsync](#getproxyidasync) -* [isAuthorizedAsync](#isauthorizedasync) +*Defined in [generated-wrappers/asset_proxy_owner.ts:3932](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3932)* -## Constructors +Cancels all existing subscriptions -### constructor +**Returns:** *void* -\+ **new ERC20ProxyWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[ERC20ProxyWrapper](#class-erc20proxywrapper)* +___ -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L18)* +### `Static` ABI -Instantiate ERC20ProxyWrapper +▸ **ABI**(): *`ContractAbi`* -**Parameters:** +*Defined in [generated-wrappers/asset_proxy_owner.ts:3189](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3189)* -Name | Type | Description | ------- | ------ | ------ | -`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | -`networkId` | number | Desired networkId | -`address?` | undefined \| string | The address of the ERC20Proxy contract. If undefined, will default to the known address corresponding to the networkId. | +**Returns:** *`ContractAbi`* -**Returns:** *[ERC20ProxyWrapper](#class-erc20proxywrapper)* +The contract ABI -## Properties +___ -### abi +### `Static` deployAsync -• **abi**: *`ContractAbi`* = ERC20Proxy.compilerOutput.abi +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_owners`: string[], `_assetProxyContracts`: string[], `_required`: `BigNumber`, `_secondsTimeLocked`: `BigNumber`): *`Promise`* -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L15)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:3139](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3139)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_owners` | string[] | +`_assetProxyContracts` | string[] | +`_required` | `BigNumber` | +`_secondsTimeLocked` | `BigNumber` | + +**Returns:** *`Promise`* ___ -### address +### `Static` deployFrom0xArtifactAsync -• **address**: *string* +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_owners`: string[], `_assetProxyContracts`: string[], `_required`: `BigNumber`, `_secondsTimeLocked`: `BigNumber`): *`Promise`* -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L16)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:3100](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3100)* -## Methods +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_owners` | string[] | +`_assetProxyContracts` | string[] | +`_required` | `BigNumber` | +`_secondsTimeLocked` | `BigNumber` | -### getAuthorizedAddressesAsync +**Returns:** *`Promise`* -▸ **getAuthorizedAddressesAsync**(): *`Promise`* +___ -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L61)* +### `Static` strictArgumentEncodingCheck -Get the list of all Exchange contract addresses authorized by the ERC20Proxy contract. +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* -**Returns:** *`Promise`* +*Inherited from void* -The list of authorized addresses. -___ -### getProxyIdAsync +**Parameters:** -▸ **getProxyIdAsync**(): *`Promise`* +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L39)* +**Returns:** *string* -Get the 4 bytes ID of this asset proxy +## Object literals -**Returns:** *`Promise`* +### MAX_OWNER_COUNT -Proxy id +### ▪ **MAX_OWNER_COUNT**: *object* -___ +*Defined in [generated-wrappers/asset_proxy_owner.ts:2633](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2633)* -### isAuthorizedAsync +### callAsync -▸ **isAuthorizedAsync**(`exchangeContractAddress`: string): *`Promise`* +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [contract_wrappers/erc20_proxy_wrapper.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_proxy_wrapper.ts#L51)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2639)* -Check if the Exchange contract address is authorized by the ERC20Proxy contract. +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** -Name | Type | Description | +Name | Type | Default | ------ | ------ | ------ | -`exchangeContractAddress` | string | The hex encoded address of the Exchange contract to call. | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -Whether the exchangeContractAddress is authorized. +### getABIDecodedReturnData -
+▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* -> # Class: ERC20TokenWrapper +*Defined in [generated-wrappers/asset_proxy_owner.ts:2687](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2687)* -This class includes all the functionality related to interacting with ERC20 token contracts. -All ERC20 method calls are supported, along with some convenience methods for getting/setting allowances -to the 0x ERC20 Proxy smart contract. +**Parameters:** -## Hierarchy +Name | Type | +------ | ------ | +`returnData` | string | -* **ERC20TokenWrapper** +**Returns:** *`BigNumber`* -## Index +### getABIDecodedTransactionData -### Constructors +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* -* [constructor](#constructor) +*Defined in [generated-wrappers/asset_proxy_owner.ts:2680](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2680)* -### Properties +**Parameters:** -* [UNLIMITED_ALLOWANCE_IN_BASE_UNITS](#unlimited_allowance_in_base_units) -* [abi](#abi) +Name | Type | +------ | ------ | +`callData` | string | -### Methods +**Returns:** *`BigNumber`* -* [getAllowanceAsync](#getallowanceasync) -* [getBalanceAsync](#getbalanceasync) -* [getLogsAsync](#getlogsasync) -* [getProxyAllowanceAsync](#getproxyallowanceasync) -* [setAllowanceAsync](#setallowanceasync) -* [setProxyAllowanceAsync](#setproxyallowanceasync) -* [setUnlimitedAllowanceAsync](#setunlimitedallowanceasync) -* [setUnlimitedProxyAllowanceAsync](#setunlimitedproxyallowanceasync) -* [subscribe](#subscribe) -* [transferAsync](#transferasync) -* [transferFromAsync](#transferfromasync) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) +### getABIEncodedTransactionData -## Constructors +▸ **getABIEncodedTransactionData**(): *string* -### constructor +*Defined in [generated-wrappers/asset_proxy_owner.ts:2675](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2675)* -\+ **new ERC20TokenWrapper**(`web3Wrapper`: `Web3Wrapper`, `erc20ProxyWrapper`: [ERC20ProxyWrapper](#class-erc20tokenwrapper)* +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -*Defined in [contract_wrappers/erc20_token_wrapper.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L38)* +**Returns:** *string* -Instantiate ERC20TokenWrapper +___ -**Parameters:** +### addOwner -Name | Type | Description | ------- | ------ | ------ | -`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | -`erc20ProxyWrapper` | [ERC20ProxyWrapper](#class-erc20proxywrapper) | The ERC20ProxyWrapper instance to use | -`blockPollingIntervalMs?` | undefined \| number | - | +### ▪ **addOwner**: *object* -**Returns:** *[ERC20TokenWrapper](#class-erc20tokenwrapper)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1145](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1145)* -## Properties +Allows to add a new owner. Transaction has to be sent by wallet. -### UNLIMITED_ALLOWANCE_IN_BASE_UNITS +### awaitTransactionSuccessAsync -• **UNLIMITED_ALLOWANCE_IN_BASE_UNITS**: *`BigNumber`* = constants.UNLIMITED_ALLOWANCE_IN_BASE_UNITS +▸ **awaitTransactionSuccessAsync**(`owner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L33)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1181)* -___ +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. -### abi +**Parameters:** -• **abi**: *`ContractAbi`* = ERC20Token.compilerOutput.abi +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of new owner. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | -*Defined in [contract_wrappers/erc20_token_wrapper.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L32)* +**Returns:** *`PromiseWithTransactionHash`* -## Methods +A promise that resolves when the transaction is successful -### getAllowanceAsync +### callAsync -▸ **getAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `spenderAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +▸ **callAsync**(`owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:155](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L155)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1233)* -Retrieves the owners allowance in baseUnits set to the spender's address. +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address whose allowance to spenderAddress you would like to retrieve. | -`spenderAddress` | string | - | The hex encoded user Ethereum address who can spend the allowance you are fetching. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +`owner` | string | - | Address of new owner. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *`Promise`* - -___ +**Returns:** *`Promise`* -### getBalanceAsync +### estimateGasAsync -▸ **getBalanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +▸ **estimateGasAsync**(`owner`: string, `txData?`: `Partial` | undefined): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L61)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1208](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1208)* -Retrieves an owner's ERC20 token balance. +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address whose balance you would like to check. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of new owner. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -The owner's ERC20 token balance in base units. +The hash of the transaction -___ +### getABIDecodedReturnData -### getLogsAsync +▸ **getABIDecodedReturnData**(`returnData`: string): *void* -▸ **getLogsAsync**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC20TokenEvents`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1284](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1284)* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L409)* +**Parameters:** -Gets historical logs without creating a subscription +Name | Type | +------ | ------ | +`returnData` | string | -**Type parameters:** +**Returns:** *void* -▪ **ArgsType**: *`ERC20TokenEventArgs`* +### getABIDecodedTransactionData -**Parameters:** +▸ **getABIDecodedTransactionData**(`callData`: string): *void* -Name | Type | Description | ------- | ------ | ------ | -`tokenAddress` | string | An address of the token that emitted the logs. | -`eventName` | `ERC20TokenEvents` | The token contract event you would like to subscribe to. | -`blockRange` | [BlockRange](#interface-blockrange) | Block range to get logs from. | -`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | +*Defined in [generated-wrappers/asset_proxy_owner.ts:1277](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1277)* -**Returns:** *`Promise>>`* +**Parameters:** -Array of logs that match the parameters +Name | Type | +------ | ------ | +`callData` | string | -___ +**Returns:** *void* -### getProxyAllowanceAsync +### getABIEncodedTransactionData -▸ **getProxyAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +▸ **getABIEncodedTransactionData**(`owner`: string): *string* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:188](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L188)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1271](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1271)* -Retrieves the owner's allowance in baseUnits set to the 0x proxy contract. +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address whose proxy contract allowance we are retrieving. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | - -**Returns:** *`Promise`* +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of new owner. | -___ +**Returns:** *string* -### setAllowanceAsync +### sendTransactionAsync -▸ **setAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `spenderAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +▸ **sendTransactionAsync**(`owner`: string, `txData?`: `Partial` | undefined): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L91)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1153)* -Sets the spender's allowance to a specified number of baseUnits on behalf of the owner address. -Equivalent to the ERC20 spec method `approve`. +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address who would like to set an allowance for spenderAddress. | -`spenderAddress` | string | - | The hex encoded user Ethereum address who will be able to spend the set allowance. | -`amountInBaseUnits` | `BigNumber` | - | The allowance amount you would like to set. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of new owner. | +`txData?` | `Partial` \| undefined | Additional data for transaction | **Returns:** *`Promise`* -Transaction hash. +The hash of the transaction ___ -### setProxyAllowanceAsync +### changeRequirement -▸ **setProxyAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +### ▪ **changeRequirement**: *object* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L207)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2048](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2048)* -Sets the 0x proxy contract's allowance to a specified number of a tokens' baseUnits on behalf -of an owner address. +Allows to change the number of required confirmations. Transaction has to be sent by wallet. -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address who is setting an allowance for the Proxy contract. | -`amountInBaseUnits` | `BigNumber` | - | The allowance amount specified in baseUnits. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | - -**Returns:** *`Promise`* - -Transaction hash. +### awaitTransactionSuccessAsync -___ - -### setUnlimitedAllowanceAsync +▸ **awaitTransactionSuccessAsync**(`_required`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* -▸ **setUnlimitedAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `spenderAddress`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2084](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2084)* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:132](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L132)* - -Sets the spender's allowance to an unlimited number of baseUnits on behalf of the owner address. -Equivalent to the ERC20 spec method `approve`. -Setting an unlimited allowance will lower the gas cost for filling orders involving tokens that forego updating -allowances set to the max amount (e.g ZRX, WETH) +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address who would like to set an allowance for spenderAddress. | -`spenderAddress` | string | - | The hex encoded user Ethereum address who will be able to spend the set allowance. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | - -**Returns:** *`Promise`* +Name | Type | Description | +------ | ------ | ------ | +`_required` | `BigNumber` | Number of required confirmations. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | -Transaction hash. +**Returns:** *`PromiseWithTransactionHash`* -___ +A promise that resolves when the transaction is successful -### setUnlimitedProxyAllowanceAsync +### callAsync -▸ **setUnlimitedProxyAllowanceAsync**(`tokenAddress`: string, `ownerAddress`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +▸ **callAsync**(`_required`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:234](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L234)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2136)* -Sets the 0x proxy contract's allowance to a unlimited number of a tokens' baseUnits on behalf -of an owner address. -Setting an unlimited allowance will lower the gas cost for filling orders involving tokens that forego updating -allowances set to the max amount (e.g ZRX, WETH) +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address who is setting an allowance for the Proxy contract. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | +`_required` | `BigNumber` | - | Number of required confirmations. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -Transaction hash. +### estimateGasAsync -___ +▸ **estimateGasAsync**(`_required`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -### subscribe +*Defined in [generated-wrappers/asset_proxy_owner.ts:2111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2111)* -▸ **subscribe**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC20TokenEvents`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. -*Defined in [contract_wrappers/erc20_token_wrapper.ts:363](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L363)* +**Parameters:** -Subscribe to an event type emitted by the Token contract. +Name | Type | Description | +------ | ------ | ------ | +`_required` | `BigNumber` | Number of required confirmations. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -**Type parameters:** +**Returns:** *`Promise`* -▪ **ArgsType**: *`ERC20TokenEventArgs`* +The hash of the transaction -**Parameters:** +### getABIDecodedReturnData -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded address where the ERC20 token is deployed. | -`eventName` | `ERC20TokenEvents` | - | The token contract event you would like to subscribe to. | -`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +▸ **getABIDecodedReturnData**(`returnData`: string): *void* -**Returns:** *string* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2191)* -Subscription token used later to unsubscribe +**Parameters:** -___ +Name | Type | +------ | ------ | +`returnData` | string | -### transferAsync +**Returns:** *void* -▸ **transferAsync**(`tokenAddress`: string, `fromAddress`: string, `toAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +### getABIDecodedTransactionData -*Defined in [contract_wrappers/erc20_token_wrapper.ts:256](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L256)* +▸ **getABIDecodedTransactionData**(`callData`: string): *void* -Transfers `amountInBaseUnits` ERC20 tokens from `fromAddress` to `toAddress`. +*Defined in [generated-wrappers/asset_proxy_owner.ts:2184](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2184)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | -`fromAddress` | string | - | The hex encoded user Ethereum address that will send the funds. | -`toAddress` | string | - | The hex encoded user Ethereum address that will receive the funds. | -`amountInBaseUnits` | `BigNumber` | - | The amount (specified in baseUnits) of the token to transfer. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | - -**Returns:** *`Promise`* - -Transaction hash. +Name | Type | +------ | ------ | +`callData` | string | -___ +**Returns:** *void* -### transferFromAsync +### getABIEncodedTransactionData -▸ **transferFromAsync**(`tokenAddress`: string, `fromAddress`: string, `toAddress`: string, `senderAddress`: string, `amountInBaseUnits`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +▸ **getABIEncodedTransactionData**(`_required`: `BigNumber`): *string* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L305)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2178](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2178)* -Transfers `amountInBaseUnits` ERC20 tokens from `fromAddress` to `toAddress`. -Requires the fromAddress to have sufficient funds and to have approved an allowance of -`amountInBaseUnits` to `senderAddress`. +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC20 token is deployed. | -`fromAddress` | string | - | The hex encoded user Ethereum address whose funds are being sent. | -`toAddress` | string | - | The hex encoded user Ethereum address that will receive the funds. | -`senderAddress` | string | - | The hex encoded user Ethereum address whose initiates the fund transfer. The `fromAddress` must have set an allowance to the `senderAddress` before this call. | -`amountInBaseUnits` | `BigNumber` | - | The amount (specified in baseUnits) of the token to transfer. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | - -**Returns:** *`Promise`* - -Transaction hash. +Name | Type | Description | +------ | ------ | ------ | +`_required` | `BigNumber` | Number of required confirmations. | -___ +**Returns:** *string* -### unsubscribe +### sendTransactionAsync -▸ **unsubscribe**(`subscriptionToken`: string): *void* +▸ **sendTransactionAsync**(`_required`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:390](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L390)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2056](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2056)* -Cancel a subscription +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | +`_required` | `BigNumber` | Number of required confirmations. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -**Returns:** *void* +**Returns:** *`Promise`* + +The hash of the transaction ___ -### unsubscribeAll +### changeTimeLock -▸ **unsubscribeAll**(): *void* +### ▪ **changeTimeLock**: *object* -*Defined in [contract_wrappers/erc20_token_wrapper.ts:397](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc20_token_wrapper.ts#L397)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1369](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1369)* -Cancels all existing subscriptions +Changes the duration of the time lock for transactions. -**Returns:** *void* +### awaitTransactionSuccessAsync -
+▸ **awaitTransactionSuccessAsync**(`_secondsTimeLocked`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* -> # Class: ERC721ProxyWrapper +*Defined in [generated-wrappers/asset_proxy_owner.ts:1410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1410)* -This class includes the functionality related to interacting with the ERC721Proxy contract. +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. -## Hierarchy +**Parameters:** -* **ERC721ProxyWrapper** +Name | Type | Description | +------ | ------ | ------ | +`_secondsTimeLocked` | `BigNumber` | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | -## Index +**Returns:** *`PromiseWithTransactionHash`* -### Constructors +A promise that resolves when the transaction is successful -* [constructor](#constructor) +### callAsync -### Properties +▸ **callAsync**(`_secondsTimeLocked`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -* [abi](#abi) -* [address](#address) +*Defined in [generated-wrappers/asset_proxy_owner.ts:1464](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1464)* -### Methods +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. -* [getAuthorizedAddressesAsync](#getauthorizedaddressesasync) -* [getProxyIdAsync](#getproxyidasync) -* [isAuthorizedAsync](#isauthorizedasync) +**Parameters:** -## Constructors +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_secondsTimeLocked` | `BigNumber` | - | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -### constructor +**Returns:** *`Promise`* + +### estimateGasAsync -\+ **new ERC721ProxyWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[ERC721ProxyWrapper](#class-erc721proxywrapper)* +▸ **estimateGasAsync**(`_secondsTimeLocked`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L18)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1438)* -Instantiate ERC721ProxyWrapper +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | -`networkId` | number | Desired networkId | -`address?` | undefined \| string | The address of the ERC721Proxy contract. If undefined, will default to the known address corresponding to the networkId. | - -**Returns:** *[ERC721ProxyWrapper](#class-erc721proxywrapper)* - -## Properties - -### abi +`_secondsTimeLocked` | `BigNumber` | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -• **abi**: *`ContractAbi`* = ERC721Proxy.compilerOutput.abi +**Returns:** *`Promise`* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L15)* +The hash of the transaction -___ +### getABIDecodedReturnData -### address +▸ **getABIDecodedReturnData**(`returnData`: string): *void* -• **address**: *string* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1522](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1522)* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L16)* +**Parameters:** -## Methods +Name | Type | +------ | ------ | +`returnData` | string | -### getAuthorizedAddressesAsync +**Returns:** *void* -▸ **getAuthorizedAddressesAsync**(): *`Promise`* +### getABIDecodedTransactionData -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L61)* +▸ **getABIDecodedTransactionData**(`callData`: string): *void* -Get the list of all Exchange contract addresses authorized by the ERC721Proxy contract. +*Defined in [generated-wrappers/asset_proxy_owner.ts:1515](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1515)* -**Returns:** *`Promise`* +**Parameters:** -The list of authorized addresses. +Name | Type | +------ | ------ | +`callData` | string | -___ +**Returns:** *void* -### getProxyIdAsync +### getABIEncodedTransactionData -▸ **getProxyIdAsync**(): *`Promise`* +▸ **getABIEncodedTransactionData**(`_secondsTimeLocked`: `BigNumber`): *string* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L39)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1507](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1507)* -Get the 4 bytes ID of this asset proxy +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -**Returns:** *`Promise`* +**Parameters:** -Proxy id +Name | Type | Description | +------ | ------ | ------ | +`_secondsTimeLocked` | `BigNumber` | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | -___ +**Returns:** *string* -### isAuthorizedAsync +### sendTransactionAsync -▸ **isAuthorizedAsync**(`exchangeContractAddress`: string): *`Promise`* +▸ **sendTransactionAsync**(`_secondsTimeLocked`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -*Defined in [contract_wrappers/erc721_proxy_wrapper.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_proxy_wrapper.ts#L51)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1378](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1378)* -Check if the Exchange contract address is authorized by the ERC721Proxy contract. +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`exchangeContractAddress` | string | The hex encoded address of the Exchange contract to call. | +`_secondsTimeLocked` | `BigNumber` | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -Whether the exchangeContractAddress is authorized. +The hash of the transaction -
+___ -> # Class: ERC721TokenWrapper +### confirmTransaction -This class includes all the functionality related to interacting with ERC721 token contracts. -All ERC721 method calls are supported, along with some convenience methods for getting/setting allowances -to the 0x ERC721 Proxy smart contract. +### ▪ **confirmTransaction**: *object* -## Hierarchy +*Defined in [generated-wrappers/asset_proxy_owner.ts:2202](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2202)* -* **ERC721TokenWrapper** +Allows an owner to confirm a transaction. -## Index +### awaitTransactionSuccessAsync -### Constructors +▸ **awaitTransactionSuccessAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* -* [constructor](#constructor) +*Defined in [generated-wrappers/asset_proxy_owner.ts:2238](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2238)* -### Properties +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. -* [abi](#abi) +**Parameters:** -### Methods +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | -* [getApprovedIfExistsAsync](#getapprovedifexistsasync) -* [getLogsAsync](#getlogsasync) -* [getOwnerOfAsync](#getownerofasync) -* [getTokenCountAsync](#gettokencountasync) -* [isApprovedForAllAsync](#isapprovedforallasync) -* [isProxyApprovedAsync](#isproxyapprovedasync) -* [isProxyApprovedForAllAsync](#isproxyapprovedforallasync) -* [setApprovalAsync](#setapprovalasync) -* [setApprovalForAllAsync](#setapprovalforallasync) -* [setProxyApprovalAsync](#setproxyapprovalasync) -* [setProxyApprovalForAllAsync](#setproxyapprovalforallasync) -* [subscribe](#subscribe) -* [transferFromAsync](#transferfromasync) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) +**Returns:** *`PromiseWithTransactionHash`* -## Constructors +A promise that resolves when the transaction is successful -### constructor +### callAsync -\+ **new ERC721TokenWrapper**(`web3Wrapper`: `Web3Wrapper`, `erc721ProxyWrapper`: [ERC721ProxyWrapper](#class-erc721tokenwrapper)* +▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L37)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2290](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2290)* -Instantiate ERC721TokenWrapper +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** -Name | Type | Description | ------- | ------ | ------ | -`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | -`erc721ProxyWrapper` | [ERC721ProxyWrapper](#class-erc721proxywrapper) | The ERC721ProxyWrapper instance to use | -`blockPollingIntervalMs?` | undefined \| number | - | +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`transactionId` | `BigNumber` | - | Transaction ID. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *[ERC721TokenWrapper](#class-erc721tokenwrapper)* +**Returns:** *`Promise`* -## Properties +### estimateGasAsync -### abi +▸ **estimateGasAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -• **abi**: *`ContractAbi`* = ERC721Token.compilerOutput.abi +*Defined in [generated-wrappers/asset_proxy_owner.ts:2265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2265)* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L32)* +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. -## Methods +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -### getApprovedIfExistsAsync +**Returns:** *`Promise`* -▸ **getApprovedIfExistsAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +The hash of the transaction -*Defined in [contract_wrappers/erc721_token_wrapper.ts:170](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L170)* +### getABIDecodedReturnData -Get the approved address for a single NFT. Returns undefined if no approval was set -Throws if `_tokenId` is not a valid NFT +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2347)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`tokenId` | `BigNumber` | - | The identifier for an NFT | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +Name | Type | +------ | ------ | +`returnData` | string | -**Returns:** *`Promise`* +**Returns:** *void* -The approved address for this NFT, or the undefined if there is none +### getABIDecodedTransactionData -___ +▸ **getABIDecodedTransactionData**(`callData`: string): *void* -### getLogsAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:2340](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2340)* -▸ **getLogsAsync**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC721TokenEvents`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* +**Parameters:** -*Defined in [contract_wrappers/erc721_token_wrapper.ts:436](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L436)* +Name | Type | +------ | ------ | +`callData` | string | -Gets historical logs without creating a subscription +**Returns:** *void* -**Type parameters:** +### getABIEncodedTransactionData -▪ **ArgsType**: *`ERC721TokenEventArgs`* +▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2332](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2332)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`tokenAddress` | string | An address of the token that emitted the logs. | -`eventName` | `ERC721TokenEvents` | The token contract event you would like to subscribe to. | -`blockRange` | [BlockRange](#interface-blockrange) | Block range to get logs from. | -`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* +`transactionId` | `BigNumber` | Transaction ID. | -Array of logs that match the parameters - -___ +**Returns:** *string* -### getOwnerOfAsync +### sendTransactionAsync -▸ **getOwnerOfAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +▸ **sendTransactionAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:88](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L88)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2210](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2210)* -Find the owner of an NFT -NFTs assigned to zero address are considered invalid, and queries about them do throw. +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`tokenId` | `BigNumber` | - | The identifier for an NFT | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` \| undefined | Additional data for transaction | **Returns:** *`Promise`* -The address of the owner of the NFT +The hash of the transaction ___ -### getTokenCountAsync +### confirmationTimes -▸ **getTokenCountAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +### ▪ **confirmationTimes**: *object* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L61)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2565](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2565)* -Count all NFTs assigned to an owner -NFTs assigned to the zero address are considered invalid, and this function throws for queries about the zero address. +### callAsync -**Parameters:** +▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address whose balance you would like to check. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +*Defined in [generated-wrappers/asset_proxy_owner.ts:2571](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2571)* -**Returns:** *`Promise`* +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. -The number of NFTs owned by `ownerAddress`, possibly zero +**Parameters:** -___ +Name | Type | Default | +------ | ------ | ------ | +`index_0` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | -### isApprovedForAllAsync +**Returns:** *`Promise`* -▸ **isApprovedForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `operatorAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +### getABIDecodedReturnData -*Defined in [contract_wrappers/erc721_token_wrapper.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L116)* +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* -Query if an address is an authorized operator for all NFT's of `ownerAddress` +*Defined in [generated-wrappers/asset_proxy_owner.ts:2625](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2625)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address of the token owner. | -`operatorAddress` | string | - | The hex encoded user Ethereum address of the operator you'd like to check if approved. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +Name | Type | +------ | ------ | +`returnData` | string | -**Returns:** *`Promise`* +**Returns:** *`BigNumber`* -True if `operatorAddress` is an approved operator for `ownerAddress`, false otherwise +### getABIDecodedTransactionData -___ +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* -### isProxyApprovedAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:2618](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2618)* -▸ **isProxyApprovedAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +**Parameters:** -*Defined in [contract_wrappers/erc721_token_wrapper.ts:197](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L197)* +Name | Type | +------ | ------ | +`callData` | string | -Checks if 0x proxy is approved for a single NFT -Throws if `_tokenId` is not a valid NFT +**Returns:** *`BigNumber`* -**Parameters:** +### getABIEncodedTransactionData -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`tokenId` | `BigNumber` | - | The identifier for an NFT | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* -**Returns:** *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2612](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2612)* -True if 0x proxy is approved +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -___ +**Parameters:** -### isProxyApprovedForAllAsync +Name | Type | +------ | ------ | +`index_0` | `BigNumber` | -▸ **isProxyApprovedForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +**Returns:** *string* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:148](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L148)* +___ -Query if 0x proxy is an authorized operator for all NFT's of `ownerAddress` +### confirmations -**Parameters:** +### ▪ **confirmations**: *object* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address of the token owner. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +*Defined in [generated-wrappers/asset_proxy_owner.ts:564](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L564)* -**Returns:** *`Promise`* +### callAsync -True if `operatorAddress` is an approved operator for `ownerAddress`, false otherwise +▸ **callAsync**(`index_0`: `BigNumber`, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -___ +*Defined in [generated-wrappers/asset_proxy_owner.ts:570](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L570)* -### setApprovalAsync +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. -▸ **setApprovalAsync**(`tokenAddress`: string, `approvedAddress`: string, `tokenId`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +**Parameters:** -*Defined in [contract_wrappers/erc721_token_wrapper.ts:280](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L280)* +Name | Type | Default | +------ | ------ | ------ | +`index_0` | `BigNumber` | - | +`index_1` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | -Set or reaffirm the approved address for an NFT -The zero address indicates there is no approved address. Throws unless `msg.sender` is the current NFT owner, -or an authorized operator of the current owner. -Throws if `_tokenId` is not a valid NFT -Emits the Approval event. +**Returns:** *`Promise`* -**Parameters:** +### getABIDecodedReturnData -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`approvedAddress` | string | - | The hex encoded user Ethereum address you'd like to set approval for. | -`tokenId` | `BigNumber` | - | The identifier for an NFT | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* -**Returns:** *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:633](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L633)* -Transaction hash. +**Parameters:** -___ +Name | Type | +------ | ------ | +`returnData` | string | -### setApprovalForAllAsync +**Returns:** *boolean* -▸ **setApprovalForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `operatorAddress`: string, `isApproved`: boolean, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +### getABIDecodedTransactionData -*Defined in [contract_wrappers/erc721_token_wrapper.ts:218](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L218)* +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* -Enable or disable approval for a third party ("operator") to manage all of `ownerAddress`'s assets. -Throws if `_tokenId` is not a valid NFT -Emits the ApprovalForAll event. +*Defined in [generated-wrappers/asset_proxy_owner.ts:626](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L626)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address of the token owner. | -`operatorAddress` | string | - | The hex encoded user Ethereum address of the operator you'd like to set approval for. | -`isApproved` | boolean | - | The boolean variable to set the approval to. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | +Name | Type | +------ | ------ | +`callData` | string | -**Returns:** *`Promise`* +**Returns:** *boolean* -Transaction hash. +### getABIEncodedTransactionData -___ +▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`, `index_1`: string): *string* -### setProxyApprovalAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:616](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L616)* -▸ **setProxyApprovalAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -*Defined in [contract_wrappers/erc721_token_wrapper.ts:318](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L318)* +**Parameters:** -Set or reaffirm 0x proxy as an approved address for an NFT -Throws unless `msg.sender` is the current NFT owner, or an authorized operator of the current owner. -Throws if `_tokenId` is not a valid NFT -Emits the Approval event. +Name | Type | +------ | ------ | +`index_0` | `BigNumber` | +`index_1` | string | -**Parameters:** +**Returns:** *string* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`tokenId` | `BigNumber` | - | The identifier for an NFT | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | +___ -**Returns:** *`Promise`* +### executeRemoveAuthorizedAddressAtIndex -Transaction hash. +### ▪ **executeRemoveAuthorizedAddressAtIndex**: *object* -___ +*Defined in [generated-wrappers/asset_proxy_owner.ts:644](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L644)* + +Allows execution of `removeAuthorizedAddressAtIndex` without time lock. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:682](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L682)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. -### setProxyApprovalForAllAsync +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | -▸ **setProxyApprovalForAllAsync**(`tokenAddress`: string, `ownerAddress`: string, `isApproved`: boolean, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +**Returns:** *`PromiseWithTransactionHash`* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:258](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L258)* +A promise that resolves when the transaction is successful -Enable or disable approval for a third party ("operator") to manage all of `ownerAddress`'s assets. -Throws if `_tokenId` is not a valid NFT -Emits the ApprovalForAll event. +### callAsync + +▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L739)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`ownerAddress` | string | - | The hex encoded user Ethereum address of the token owner. | -`isApproved` | boolean | - | The boolean variable to set the approval to. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | +`transactionId` | `BigNumber` | - | Transaction ID. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -Transaction hash. +### estimateGasAsync -___ +▸ **estimateGasAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -### subscribe +*Defined in [generated-wrappers/asset_proxy_owner.ts:712](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L712)* -▸ **subscribe**<**ArgsType**>(`tokenAddress`: string, `eventName`: `ERC721TokenEvents`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. -*Defined in [contract_wrappers/erc721_token_wrapper.ts:390](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L390)* +**Parameters:** -Subscribe to an event type emitted by the Token contract. +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -**Type parameters:** +**Returns:** *`Promise`* -▪ **ArgsType**: *`ERC721TokenEventArgs`* +The hash of the transaction -**Parameters:** +### getABIDecodedReturnData -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded address where the ERC721 token is deployed. | -`eventName` | `ERC721TokenEvents` | - | The token contract event you would like to subscribe to. | -`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +▸ **getABIDecodedReturnData**(`returnData`: string): *void* -**Returns:** *string* +*Defined in [generated-wrappers/asset_proxy_owner.ts:799](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L799)* -Subscription token used later to unsubscribe +**Parameters:** -___ +Name | Type | +------ | ------ | +`returnData` | string | -### transferFromAsync +**Returns:** *void* -▸ **transferFromAsync**(`tokenAddress`: string, `receiverAddress`: string, `senderAddress`: string, `tokenId`: `BigNumber`, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +### getABIDecodedTransactionData -*Defined in [contract_wrappers/erc721_token_wrapper.ts:338](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L338)* +▸ **getABIDecodedTransactionData**(`callData`: string): *void* -Enable or disable approval for a third party ("operator") to manage all of `ownerAddress`'s assets. -Throws if `_tokenId` is not a valid NFT -Emits the ApprovalForAll event. +*Defined in [generated-wrappers/asset_proxy_owner.ts:792](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L792)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`tokenAddress` | string | - | The hex encoded contract Ethereum address where the ERC721 token is deployed. | -`receiverAddress` | string | - | The hex encoded Ethereum address of the user to send the NFT to. | -`senderAddress` | string | - | The hex encoded Ethereum address of the user to send the NFT to. | -`tokenId` | `BigNumber` | - | The identifier for an NFT | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | +Name | Type | +------ | ------ | +`callData` | string | -**Returns:** *`Promise`* +**Returns:** *void* -Transaction hash. +### getABIEncodedTransactionData -___ +▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* -### unsubscribe +*Defined in [generated-wrappers/asset_proxy_owner.ts:783](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L783)* -▸ **unsubscribe**(`subscriptionToken`: string): *void* +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -*Defined in [contract_wrappers/erc721_token_wrapper.ts:417](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L417)* +**Parameters:** -Cancel a subscription +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:652](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L652)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -**Returns:** *void* +**Returns:** *`Promise`* + +The hash of the transaction ___ -### unsubscribeAll +### executeTransaction -▸ **unsubscribeAll**(): *void* +### ▪ **executeTransaction**: *object* -*Defined in [contract_wrappers/erc721_token_wrapper.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/erc721_token_wrapper.ts#L424)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2946](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2946)* -Cancels all existing subscriptions +Allows anyone to execute a confirmed transaction. -**Returns:** *void* +### awaitTransactionSuccessAsync -
+▸ **awaitTransactionSuccessAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* -> # Class: EtherTokenWrapper +*Defined in [generated-wrappers/asset_proxy_owner.ts:2982](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2982)* -This class includes all the functionality related to interacting with a wrapped Ether ERC20 token contract. -The caller can convert ETH into the equivalent number of wrapped ETH ERC20 tokens and back. +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. -## Hierarchy +**Parameters:** -* **EtherTokenWrapper** +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | -## Index +**Returns:** *`PromiseWithTransactionHash`* -### Constructors +A promise that resolves when the transaction is successful -* [constructor](#constructor) +### callAsync -### Properties +▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -* [abi](#abi) +*Defined in [generated-wrappers/asset_proxy_owner.ts:3034](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3034)* -### Methods +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. -* [depositAsync](#depositasync) -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [withdrawAsync](#withdrawasync) +**Parameters:** -## Constructors +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`transactionId` | `BigNumber` | - | Transaction ID. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -### constructor +**Returns:** *`Promise`* + +### estimateGasAsync -\+ **new EtherTokenWrapper**(`web3Wrapper`: `Web3Wrapper`, `erc20TokenWrapper`: [ERC20TokenWrapper](#class-ethertokenwrapper)* +▸ **estimateGasAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -*Defined in [contract_wrappers/ether_token_wrapper.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L28)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:3009](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3009)* -Instantiate EtherTokenWrapper. +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use | -`erc20TokenWrapper` | [ERC20TokenWrapper](#class-erc20tokenwrapper) | The ERC20TokenWrapper instance to use | -`blockPollingIntervalMs?` | undefined \| number | - | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -**Returns:** *[EtherTokenWrapper](#class-ethertokenwrapper)* +**Returns:** *`Promise`* -## Properties +The hash of the transaction -### abi +### getABIDecodedReturnData -• **abi**: *`ContractAbi`* = WETH9.compilerOutput.abi +▸ **getABIDecodedReturnData**(`returnData`: string): *void* -*Defined in [contract_wrappers/ether_token_wrapper.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L21)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:3091](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3091)* -## Methods +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | -### depositAsync +**Returns:** *void* -▸ **depositAsync**(`etherTokenAddress`: string, `amountInWei`: `BigNumber`, `depositor`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +### getABIDecodedTransactionData -*Defined in [contract_wrappers/ether_token_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L53)* +▸ **getABIDecodedTransactionData**(`callData`: string): *void* -Deposit ETH into the Wrapped ETH smart contract and issues the equivalent number of wrapped ETH tokens -to the depositor address. These wrapped ETH tokens can be used in 0x trades and are redeemable for 1-to-1 -for ETH. +*Defined in [generated-wrappers/asset_proxy_owner.ts:3084](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3084)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`etherTokenAddress` | string | - | EtherToken address you wish to deposit into. | -`amountInWei` | `BigNumber` | - | Amount of ETH in Wei the caller wishes to deposit. | -`depositor` | string | - | The hex encoded user Ethereum address that would like to make the deposit. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | +Name | Type | +------ | ------ | +`callData` | string | -**Returns:** *`Promise`* +**Returns:** *void* -Transaction hash. +### getABIEncodedTransactionData -___ +▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* -### getLogsAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:3076](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3076)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -▸ **getLogsAsync**<**ArgsType**>(`etherTokenAddress`: string, `eventName`: `WETH9Events`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* +**Parameters:** -*Defined in [contract_wrappers/ether_token_wrapper.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L131)* +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | -Gets historical logs without creating a subscription +**Returns:** *string* -**Type parameters:** +### sendTransactionAsync + +▸ **sendTransactionAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2954](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2954)* -▪ **ArgsType**: *`WETH9EventArgs`* +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`etherTokenAddress` | string | An address of the ether token that emitted the logs. | -`eventName` | `WETH9Events` | The ether token contract event you would like to subscribe to. | -`blockRange` | [BlockRange](#interface-blockrange) | Block range to get logs from. | -`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_owner: aUserAddressHex}` | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -**Returns:** *`Promise>>`* +**Returns:** *`Promise`* -Array of logs that match the parameters +The hash of the transaction ___ -### subscribe +### getConfirmationCount -▸ **subscribe**<**ArgsType**>(`etherTokenAddress`: string, `eventName`: `WETH9Events`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* +### ▪ **getConfirmationCount**: *object* -*Defined in [contract_wrappers/ether_token_wrapper.ts:161](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L161)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1603](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1603)* -Subscribe to an event type emitted by the Token contract. +Returns number of confirmations of a transaction. -**Type parameters:** +### callAsync + +▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -▪ **ArgsType**: *`WETH9EventArgs`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1611](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1611)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`etherTokenAddress` | string | - | The hex encoded address where the ether token is deployed. | -`eventName` | `WETH9Events` | - | The ether token contract event you would like to subscribe to. | -`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_owner: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`transactionId` | `BigNumber` | - | Transaction ID. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *string* +**Returns:** *`Promise`* -Subscription token used later to unsubscribe +Number of confirmations. -___ +### getABIDecodedReturnData -### unsubscribe +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* -▸ **unsubscribe**(`subscriptionToken`: string): *void* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1668](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1668)* + +**Parameters:** -*Defined in [contract_wrappers/ether_token_wrapper.ts:188](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L188)* +Name | Type | +------ | ------ | +`returnData` | string | -Cancel a subscription +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1661](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1661)* **Parameters:** -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | +Name | Type | +------ | ------ | +`callData` | string | -**Returns:** *void* +**Returns:** *`BigNumber`* -___ +### getABIEncodedTransactionData -### unsubscribeAll +▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* -▸ **unsubscribeAll**(): *void* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1653](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1653)* -*Defined in [contract_wrappers/ether_token_wrapper.ts:195](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L195)* +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -Cancels all existing subscriptions +**Parameters:** -**Returns:** *void* +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | + +**Returns:** *string* ___ -### withdrawAsync +### getConfirmations + +### ▪ **getConfirmations**: *object* -▸ **withdrawAsync**(`etherTokenAddress`: string, `amountInWei`: `BigNumber`, `withdrawer`: string, `txOpts`: [TransactionOpts](#interface-transactionopts)): *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1912](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1912)* -*Defined in [contract_wrappers/ether_token_wrapper.ts:89](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts#L89)* +Returns array with owner addresses, which confirmed transaction. -Withdraw ETH to the withdrawer's address from the wrapped ETH smart contract in exchange for the -equivalent number of wrapped ETH tokens. +### callAsync + +▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1920](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1920)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`etherTokenAddress` | string | - | EtherToken address you wish to withdraw from. | -`amountInWei` | `BigNumber` | - | Amount of ETH in Wei the caller wishes to withdraw. | -`withdrawer` | string | - | The hex encoded user Ethereum address that would like to make the withdrawal. | -`txOpts` | [TransactionOpts](#interface-transactionopts) | {} | Transaction parameters. | - -**Returns:** *`Promise`* +`transactionId` | `BigNumber` | - | Transaction ID. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -Transaction hash. +**Returns:** *`Promise`* -
+Returns array of owner addresses. -> # Class: ExchangeWrapper +### getABIDecodedReturnData -This class includes all the functionality related to calling methods, sending transactions and subscribing to -events of the 0x V2 Exchange smart contract. +▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* -## Hierarchy +*Defined in [generated-wrappers/asset_proxy_owner.ts:1975](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1975)* -* **ExchangeWrapper** +**Parameters:** -## Index +Name | Type | +------ | ------ | +`returnData` | string | -### Constructors +**Returns:** *string[]* -* [constructor](#constructor) +### getABIDecodedTransactionData -### Properties +▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* -* [abi](#abi) -* [address](#address) -* [zrxTokenAddress](#zrxtokenaddress) +*Defined in [generated-wrappers/asset_proxy_owner.ts:1968](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1968)* -### Methods +**Parameters:** -* [batchCancelOrdersAsync](#batchcancelordersasync) -* [batchFillOrKillOrdersAsync](#batchfillorkillordersasync) -* [batchFillOrdersAsync](#batchfillordersasync) -* [batchFillOrdersNoThrowAsync](#batchfillordersnothrowasync) -* [cancelOrderAsync](#cancelorderasync) -* [cancelOrdersUpToAsync](#cancelordersuptoasync) -* [executeTransactionAsync](#executetransactionasync) -* [fillOrKillOrderAsync](#fillorkillorderasync) -* [fillOrderAsync](#fillorderasync) -* [fillOrderNoThrowAsync](#fillordernothrowasync) -* [getAssetProxyBySignatureAsync](#getassetproxybysignatureasync) -* [getFilledTakerAssetAmountAsync](#getfilledtakerassetamountasync) -* [getLogsAsync](#getlogsasync) -* [getOrderEpochAsync](#getorderepochasync) -* [getOrderInfoAsync](#getorderinfoasync) -* [getOrdersInfoAsync](#getordersinfoasync) -* [getVersionAsync](#getversionasync) -* [getZRXAssetData](#getzrxassetdata) -* [isAllowedValidatorAsync](#isallowedvalidatorasync) -* [isCancelledAsync](#iscancelledasync) -* [isPreSignedAsync](#ispresignedasync) -* [isTransactionExecutedAsync](#istransactionexecutedasync) -* [isValidSignatureAsync](#isvalidsignatureasync) -* [marketBuyOrdersAsync](#marketbuyordersasync) -* [marketBuyOrdersNoThrowAsync](#marketbuyordersnothrowasync) -* [marketSellOrdersAsync](#marketsellordersasync) -* [marketSellOrdersNoThrowAsync](#marketsellordersnothrowasync) -* [matchOrdersAsync](#matchordersasync) -* [preSignAsync](#presignasync) -* [setSignatureValidatorApprovalAsync](#setsignaturevalidatorapprovalasync) -* [subscribe](#subscribe) -* [transactionEncoderAsync](#transactionencoderasync) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [validateFillOrderThrowIfInvalidAsync](#validatefillorderthrowifinvalidasync) -* [validateMakerTransferThrowIfInvalidAsync](#validatemakertransferthrowifinvalidasync) -* [validateOrderFillableOrThrowAsync](#validateorderfillableorthrowasync) +Name | Type | +------ | ------ | +`callData` | string | -## Constructors +**Returns:** *string[]* -### constructor +### getABIEncodedTransactionData -\+ **new ExchangeWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `erc20TokenWrapper`: [ERC20TokenWrapper](#class-exchangewrapper)* +▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* -*Defined in [contract_wrappers/exchange_wrapper.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L55)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1962](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1962)* -Instantiate ExchangeWrapper +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use. | -`networkId` | number | Desired networkId. | -`erc20TokenWrapper` | [ERC20TokenWrapper](#class-erc20tokenwrapper) | ERC20TokenWrapper instance to use. | -`erc721TokenWrapper` | [ERC721TokenWrapper](#class-erc721tokenwrapper) | ERC721TokenWrapper instance to use. | -`address?` | undefined \| string | The address of the Exchange contract. If undefined, will default to the known address corresponding to the networkId. | -`zrxTokenAddress?` | undefined \| string | The address of the ZRXToken contract. If undefined, will default to the known address corresponding to the networkId. | -`blockPollingIntervalMs?` | undefined \| number | The block polling interval to use for active subscriptions. | +`transactionId` | `BigNumber` | Transaction ID. | -**Returns:** *[ExchangeWrapper](#class-exchangewrapper)* - -## Properties +**Returns:** *string* -### abi +___ -• **abi**: *`ContractAbi`* = Exchange.compilerOutput.abi +### getOwners -*Defined in [contract_wrappers/exchange_wrapper.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L48)* +### ▪ **getOwners**: *object* -___ +*Defined in [generated-wrappers/asset_proxy_owner.ts:1749](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1749)* -### address +Returns list of owners. -• **address**: *string* +### callAsync -*Defined in [contract_wrappers/exchange_wrapper.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L49)* +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -___ +*Defined in [generated-wrappers/asset_proxy_owner.ts:1756](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1756)* -### zrxTokenAddress +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. -• **zrxTokenAddress**: *string* +**Parameters:** -*Defined in [contract_wrappers/exchange_wrapper.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L50)* +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | -## Methods +**Returns:** *`Promise`* -### batchCancelOrdersAsync +List of owner addresses. -▸ **batchCancelOrdersAsync**(`orders`: `Array`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +### getABIDecodedReturnData -*Defined in [contract_wrappers/exchange_wrapper.ts:713](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L713)* +▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* -Batch version of cancelOrderAsync. Executes multiple cancels atomically in a single transaction. +*Defined in [generated-wrappers/asset_proxy_owner.ts:1804](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1804)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | An array of orders to cancel. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +Name | Type | +------ | ------ | +`returnData` | string | -**Returns:** *`Promise`* +**Returns:** *string[]* -Transaction hash. +### getABIDecodedTransactionData -___ +▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* -### batchFillOrKillOrdersAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:1797](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1797)* -▸ **batchFillOrKillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +**Parameters:** -*Defined in [contract_wrappers/exchange_wrapper.ts:665](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L665)* +Name | Type | +------ | ------ | +`callData` | string | -Batch version of fillOrKillOrderAsync. Executes multiple fills atomically in a single transaction. +**Returns:** *string[]* -**Parameters:** +### getABIEncodedTransactionData -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | -`takerAssetFillAmounts` | `BigNumber`[] | - | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | -`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +▸ **getABIEncodedTransactionData**(): *string* -**Returns:** *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1792](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1792)* -Transaction hash. +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* ___ -### batchFillOrdersAsync +### getTransactionCount -▸ **batchFillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +### ▪ **getTransactionCount**: *object* -*Defined in [contract_wrappers/exchange_wrapper.ts:382](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L382)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:872](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L872)* -Batch version of fillOrderAsync. Executes multiple fills atomically in a single transaction. +Returns total number of transactions after filers are applied. + +### callAsync + +▸ **callAsync**(`pending`: boolean, `executed`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:881](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L881)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | -`takerAssetFillAmounts` | `BigNumber`[] | - | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | -`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +`pending` | boolean | - | Include pending transactions. | +`executed` | boolean | - | Include executed transactions. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -Transaction hash. +Total number of transactions after filters are applied. -___ +### getABIDecodedReturnData -### batchFillOrdersNoThrowAsync +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* -▸ **batchFillOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L943)* -*Defined in [contract_wrappers/exchange_wrapper.ts:614](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L614)* +**Parameters:** -No throw version of batchFillOrdersAsync +Name | Type | +------ | ------ | +`returnData` | string | -**Parameters:** +**Returns:** *`BigNumber`* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | -`takerAssetFillAmounts` | `BigNumber`[] | - | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | -`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +### getABIDecodedTransactionData -**Returns:** *`Promise`* +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* -Transaction hash. +*Defined in [generated-wrappers/asset_proxy_owner.ts:936](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L936)* -___ +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | -### cancelOrderAsync +**Returns:** *`BigNumber`* -▸ **cancelOrderAsync**(`order`: `Order` | `SignedOrder`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +### getABIEncodedTransactionData -*Defined in [contract_wrappers/exchange_wrapper.ts:986](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L986)* +▸ **getABIEncodedTransactionData**(`pending`: boolean, `executed`: boolean): *string* -Cancel a given order. +*Defined in [generated-wrappers/asset_proxy_owner.ts:926](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L926)* -**Parameters:** +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`order` | `Order` \| `SignedOrder` | - | An object that conforms to the Order or SignedOrder interface. The order you would like to cancel. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +**Parameters:** -**Returns:** *`Promise`* +Name | Type | Description | +------ | ------ | ------ | +`pending` | boolean | Include pending transactions. | +`executed` | boolean | Include executed transactions. | -Transaction hash. +**Returns:** *string* ___ -### cancelOrdersUpToAsync +### getTransactionIds -▸ **cancelOrdersUpToAsync**(`targetOrderEpoch`: `BigNumber`, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +### ▪ **getTransactionIds**: *object* -*Defined in [contract_wrappers/exchange_wrapper.ts:1061](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1061)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1815](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1815)* -Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch -and senderAddress equal to msg.sender (or null address if msg.sender == makerAddress). +Returns list of transaction IDs in defined range. + +### callAsync + +▸ **callAsync**(`from`: `BigNumber`, `to`: `BigNumber`, `pending`: boolean, `executed`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1826](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1826)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`targetOrderEpoch` | `BigNumber` | - | Target order epoch. | -`senderAddress` | string | - | Address that should send the transaction. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +`from` | `BigNumber` | - | Index start position of transaction array. | +`to` | `BigNumber` | - | Index end position of transaction array. | +`pending` | boolean | - | Include pending transactions. | +`executed` | boolean | - | Include executed transactions. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -Transaction hash. +Returns array of transaction IDs. -___ +### getABIDecodedReturnData -### executeTransactionAsync +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`[]* -▸ **executeTransactionAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1901](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1901)* -*Defined in [contract_wrappers/exchange_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L334)* +**Parameters:** -Executes a 0x transaction. Transaction messages exist for the purpose of calling methods on the Exchange contract -in the context of another address (see [ZEIP18](https://github.com/0xProject/ZEIPs/issues/18)). -This is especially useful for implementing filter contracts. +Name | Type | +------ | ------ | +`returnData` | string | -**Parameters:** +**Returns:** *`BigNumber`[]* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`salt` | `BigNumber` | - | Salt | -`signerAddress` | string | - | Signer address | -`data` | string | - | Transaction data | -`signature` | string | - | Signature | -`senderAddress` | string | - | Sender address | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +### getABIDecodedTransactionData -**Returns:** *`Promise`* +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`[]* -Transaction hash. +*Defined in [generated-wrappers/asset_proxy_owner.ts:1894](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1894)* -___ +**Parameters:** -### fillOrKillOrderAsync +Name | Type | +------ | ------ | +`callData` | string | -▸ **fillOrKillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +**Returns:** *`BigNumber`[]* -*Defined in [contract_wrappers/exchange_wrapper.ts:283](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L283)* +### getABIEncodedTransactionData -Attempts to fill a specific amount of an order. If the entire amount specified cannot be filled, -the fill order is abandoned. +▸ **getABIEncodedTransactionData**(`from`: `BigNumber`, `to`: `BigNumber`, `pending`: boolean, `executed`: boolean): *string* -**Parameters:** +*Defined in [generated-wrappers/asset_proxy_owner.ts:1882](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1882)* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrder` | `SignedOrder` | - | An object that conforms to the SignedOrder interface. | -`takerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | -`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -**Returns:** *`Promise`* +**Parameters:** -Transaction hash. +Name | Type | Description | +------ | ------ | ------ | +`from` | `BigNumber` | Index start position of transaction array. | +`to` | `BigNumber` | Index end position of transaction array. | +`pending` | boolean | Include pending transactions. | +`executed` | boolean | Include executed transactions. | + +**Returns:** *string* ___ -### fillOrderAsync +### isAssetProxyRegistered -▸ **fillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +### ▪ **isAssetProxyRegistered**: *object* -*Defined in [contract_wrappers/exchange_wrapper.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L190)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1530](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1530)* -Fills a signed order with an amount denominated in baseUnits of the taker asset. +### callAsync -**Parameters:** +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrder` | `SignedOrder` | - | An object that conforms to the SignedOrder interface. | -`takerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | -`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +*Defined in [generated-wrappers/asset_proxy_owner.ts:1536](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1536)* -**Returns:** *`Promise`* +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. -Transaction hash. +**Parameters:** -___ +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | -### fillOrderNoThrowAsync +**Returns:** *`Promise`* -▸ **fillOrderNoThrowAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +### getABIDecodedReturnData -*Defined in [contract_wrappers/exchange_wrapper.ts:234](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L234)* +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* -No-throw version of fillOrderAsync. This version will not throw if the fill fails. This allows the caller to save gas at the expense of not knowing the reason the fill failed. +*Defined in [generated-wrappers/asset_proxy_owner.ts:1592](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1592)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrder` | `SignedOrder` | - | An object that conforms to the SignedOrder interface. | -`takerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | -`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +Name | Type | +------ | ------ | +`returnData` | string | -**Returns:** *`Promise`* +**Returns:** *boolean* -Transaction hash. +### getABIDecodedTransactionData -___ +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* -### getAssetProxyBySignatureAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:1585](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1585)* -▸ **getAssetProxyBySignatureAsync**(`proxyId`: `AssetProxyId`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +**Parameters:** -*Defined in [contract_wrappers/exchange_wrapper.ts:97](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L97)* +Name | Type | +------ | ------ | +`callData` | string | -Retrieve the address of an asset proxy by signature. +**Returns:** *boolean* -**Parameters:** +### getABIEncodedTransactionData -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`proxyId` | `AssetProxyId` | - | The 4 bytes signature of an asset proxy | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* -**Returns:** *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1577](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1577)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | -The address of an asset proxy for a given signature +**Returns:** *string* ___ -### getFilledTakerAssetAmountAsync +### isConfirmed + +### ▪ **isConfirmed**: *object* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1295](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1295)* -▸ **getFilledTakerAssetAmountAsync**(`orderHash`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +Returns the confirmation status of a transaction. -*Defined in [contract_wrappers/exchange_wrapper.ts:115](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L115)* +### callAsync -Retrieve the takerAssetAmount of an order that has already been filled. +▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1303](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1303)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`orderHash` | string | - | The hex encoded orderHash for which you would like to retrieve the filled takerAssetAmount. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +`transactionId` | `BigNumber` | - | Transaction ID. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -The amount of the order (in taker asset base units) that has already been filled. +Confirmation status. -___ +### getABIDecodedReturnData -### getLogsAsync +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* -▸ **getLogsAsync**<**ArgsType**>(`eventName`: `ExchangeEvents`, `blockRange`: [BlockRange](#interface-blockrange), `indexFilterValues`: [IndexedFilterValues](#interface-indexedfiltervalues)): *`Promise>>`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1358](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1358)* -*Defined in [contract_wrappers/exchange_wrapper.ts:1135](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1135)* +**Parameters:** -Gets historical logs without creating a subscription +Name | Type | +------ | ------ | +`returnData` | string | -**Type parameters:** +**Returns:** *boolean* -▪ **ArgsType**: *`ExchangeEventArgs`* +### getABIDecodedTransactionData -**Parameters:** +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* -Name | Type | Description | ------- | ------ | ------ | -`eventName` | `ExchangeEvents` | The exchange contract event you would like to subscribe to. | -`blockRange` | [BlockRange](#interface-blockrange) | Block range to get logs from. | -`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | +*Defined in [generated-wrappers/asset_proxy_owner.ts:1351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1351)* -**Returns:** *`Promise>>`* +**Parameters:** -Array of logs that match the parameters +Name | Type | +------ | ------ | +`callData` | string | -___ +**Returns:** *boolean* -### getOrderEpochAsync +### getABIEncodedTransactionData -▸ **getOrderEpochAsync**(`makerAddress`: string, `senderAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* -*Defined in [contract_wrappers/exchange_wrapper.ts:146](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L146)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1345)* -Retrieve the set order epoch for a given makerAddress & senderAddress pair. -Orders can be bulk cancelled by setting the order epoch to a value lower then the salt value of orders one wishes to cancel. +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`makerAddress` | string | - | Maker address | -`senderAddress` | string | - | Sender address | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | - -**Returns:** *`Promise`* +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | -Order epoch. Defaults to 0. +**Returns:** *string* ___ -### getOrderInfoAsync +### isOwner -▸ **getOrderInfoAsync**(`order`: `Order` | `SignedOrder`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +### ▪ **isOwner**: *object* -*Defined in [contract_wrappers/exchange_wrapper.ts:947](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L947)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:496](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L496)* -Get order info +### callAsync -**Parameters:** +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`order` | `Order` \| `SignedOrder` | - | Order | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +*Defined in [generated-wrappers/asset_proxy_owner.ts:502](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L502)* -**Returns:** *`Promise`* +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. -Order info +**Parameters:** -___ +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | -### getOrdersInfoAsync +**Returns:** *`Promise`* -▸ **getOrdersInfoAsync**(`orders`: `Array`, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +### getABIDecodedReturnData -*Defined in [contract_wrappers/exchange_wrapper.ts:963](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L963)* +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* -Get order info for multiple orders +*Defined in [generated-wrappers/asset_proxy_owner.ts:556](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L556)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Orders | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | - -**Returns:** *`Promise`* - -Array of Order infos - -___ +Name | Type | +------ | ------ | +`returnData` | string | -### getVersionAsync +**Returns:** *boolean* -▸ **getVersionAsync**(`methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +### getABIDecodedTransactionData -*Defined in [contract_wrappers/exchange_wrapper.ts:132](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L132)* +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* -Retrieve the exchange contract version +*Defined in [generated-wrappers/asset_proxy_owner.ts:549](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L549)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +Name | Type | +------ | ------ | +`callData` | string | -**Returns:** *`Promise`* +**Returns:** *boolean* -Version +### getABIEncodedTransactionData -___ +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* -### getZRXAssetData +*Defined in [generated-wrappers/asset_proxy_owner.ts:543](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L543)* -▸ **getZRXAssetData**(): *string* +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). -*Defined in [contract_wrappers/exchange_wrapper.ts:1259](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1259)* +**Parameters:** -Returns the ZRX asset data used by the exchange contract. +Name | Type | +------ | ------ | +`index_0` | string | **Returns:** *string* -ZRX asset data - ___ -### isAllowedValidatorAsync +### owners -▸ **isAllowedValidatorAsync**(`signerAddress`: string, `validatorAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +### ▪ **owners**: *object* -*Defined in [contract_wrappers/exchange_wrapper.ts:874](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L874)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L120)* -Checks if the validator is allowed by the signer. +### callAsync -**Parameters:** +▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signerAddress` | string | - | Address of a signer | -`validatorAddress` | string | - | Address of a validator | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +*Defined in [generated-wrappers/asset_proxy_owner.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L126)* -**Returns:** *`Promise`* +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. -If the validator is allowed +**Parameters:** -___ +Name | Type | Default | +------ | ------ | ------ | +`index_0` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | -### isCancelledAsync +**Returns:** *`Promise`* -▸ **isCancelledAsync**(`orderHash`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +### getABIDecodedReturnData -*Defined in [contract_wrappers/exchange_wrapper.ts:169](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L169)* +▸ **getABIDecodedReturnData**(`returnData`: string): *string* -Check if an order has been cancelled. Order cancellations are binary +*Defined in [generated-wrappers/asset_proxy_owner.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L180)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orderHash` | string | - | The hex encoded orderHash for which you would like to retrieve the cancelled takerAmount. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +Name | Type | +------ | ------ | +`returnData` | string | -**Returns:** *`Promise`* +**Returns:** *string* -Whether the order has been cancelled. +### getABIDecodedTransactionData -___ +▸ **getABIDecodedTransactionData**(`callData`: string): *string* -### isPreSignedAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:173](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L173)* -▸ **isPreSignedAsync**(`hash`: string, `signerAddress`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +**Parameters:** -*Defined in [contract_wrappers/exchange_wrapper.ts:903](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L903)* +Name | Type | +------ | ------ | +`callData` | string | -Check whether the hash is pre-signed on-chain. +**Returns:** *string* -**Parameters:** +### getABIEncodedTransactionData -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`hash` | string | - | Hash to check if pre-signed | -`signerAddress` | string | - | Address that should have signed the given hash. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* -**Returns:** *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:167](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L167)* -Whether the hash is pre-signed. +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | `BigNumber` | + +**Returns:** *string* ___ -### isTransactionExecutedAsync +### registerAssetProxy -▸ **isTransactionExecutedAsync**(`transactionHash`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +### ▪ **registerAssetProxy**: *object* -*Defined in [contract_wrappers/exchange_wrapper.ts:927](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L927)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:955](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L955)* -Checks if transaction is already executed. +Registers or deregisters an AssetProxy to be able to execute +`removeAuthorizedAddressAtIndex` without a timelock. -**Parameters:** +### awaitTransactionSuccessAsync -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transactionHash` | string | - | Transaction hash to check | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +▸ **awaitTransactionSuccessAsync**(`assetProxyContract`: string, `isRegistered`: boolean, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* -**Returns:** *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1001](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1001)* -If transaction is already executed. +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. -___ +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxyContract` | string | Address of AssetProxy contract. | +`isRegistered` | boolean | Status of approval for AssetProxy contract. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | -### isValidSignatureAsync +**Returns:** *`PromiseWithTransactionHash`* -▸ **isValidSignatureAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `methodOpts`: [MethodOpts](#interface-methodopts)): *`Promise`* +A promise that resolves when the transaction is successful -*Defined in [contract_wrappers/exchange_wrapper.ts:846](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L846)* +### callAsync -Checks if the signature is valid. +▸ **callAsync**(`assetProxyContract`: string, `isRegistered`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1069](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1069)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`hash` | string | - | Hash to pre-sign | -`signerAddress` | string | - | Address that should have signed the given hash. | -`signature` | string | - | Proof that the hash has been signed by signer. | -`methodOpts` | [MethodOpts](#interface-methodopts) | {} | Optional arguments this method accepts. | +`assetProxyContract` | string | - | Address of AssetProxy contract. | +`isRegistered` | boolean | - | Status of approval for AssetProxy contract. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -If the signature is valid +### estimateGasAsync -___ +▸ **estimateGasAsync**(`assetProxyContract`: string, `isRegistered`: boolean, `txData?`: `Partial` | undefined): *`Promise`* -### marketBuyOrdersAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:1035](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1035)* -▸ **marketBuyOrdersAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. -*Defined in [contract_wrappers/exchange_wrapper.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L428)* +**Parameters:** -Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. +Name | Type | Description | +------ | ------ | ------ | +`assetProxyContract` | string | Address of AssetProxy contract. | +`isRegistered` | boolean | Status of approval for AssetProxy contract. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -**Parameters:** +**Returns:** *`Promise`* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | -`makerAssetFillAmount` | `BigNumber` | - | Maker asset fill amount. | -`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +The hash of the transaction -**Returns:** *`Promise`* +### getABIDecodedReturnData -Transaction hash. +▸ **getABIDecodedReturnData**(`returnData`: string): *void* -___ +*Defined in [generated-wrappers/asset_proxy_owner.ts:1134](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1134)* -### marketBuyOrdersNoThrowAsync +**Parameters:** -▸ **marketBuyOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +Name | Type | +------ | ------ | +`returnData` | string | -*Defined in [contract_wrappers/exchange_wrapper.ts:516](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L516)* +**Returns:** *void* -No throw version of marketBuyOrdersAsync +### getABIDecodedTransactionData -**Parameters:** +▸ **getABIDecodedTransactionData**(`callData`: string): *void* -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | -`makerAssetFillAmount` | `BigNumber` | - | Maker asset fill amount. | -`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +*Defined in [generated-wrappers/asset_proxy_owner.ts:1127](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1127)* -**Returns:** *`Promise`* +**Parameters:** -Transaction hash. +Name | Type | +------ | ------ | +`callData` | string | -___ +**Returns:** *void* -### marketSellOrdersAsync +### getABIEncodedTransactionData -▸ **marketSellOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +▸ **getABIEncodedTransactionData**(`assetProxyContract`: string, `isRegistered`: boolean): *string* -*Defined in [contract_wrappers/exchange_wrapper.ts:472](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L472)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:1117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1117)* -Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | -`takerAssetFillAmount` | `BigNumber` | - | Taker asset fill amount. | -`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +Name | Type | Description | +------ | ------ | ------ | +`assetProxyContract` | string | Address of AssetProxy contract. | +`isRegistered` | boolean | Status of approval for AssetProxy contract. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`assetProxyContract`: string, `isRegistered`: boolean, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:964](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L964)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxyContract` | string | Address of AssetProxy contract. | +`isRegistered` | boolean | Status of approval for AssetProxy contract. | +`txData?` | `Partial` \| undefined | Additional data for transaction | **Returns:** *`Promise`* -Transaction hash. +The hash of the transaction ___ -### marketSellOrdersNoThrowAsync +### removeOwner -▸ **marketSellOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +### ▪ **removeOwner**: *object* -*Defined in [contract_wrappers/exchange_wrapper.ts:565](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L565)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L191)* -No throw version of marketSellOrdersAsync +Allows to remove an owner. Transaction has to be sent by wallet. -**Parameters:** +### awaitTransactionSuccessAsync -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrders` | `SignedOrder`[] | - | An array of signed orders to fill. | -`takerAssetFillAmount` | `BigNumber` | - | Taker asset fill amount. | -`takerAddress` | string | - | The user Ethereum address who would like to fill these orders. Must be available via the supplied Provider provided at instantiation. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +▸ **awaitTransactionSuccessAsync**(`owner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* -**Returns:** *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L227)* -Transaction hash. +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. -___ +**Parameters:** -### matchOrdersAsync +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of owner. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | -▸ **matchOrdersAsync**(`leftSignedOrder`: `SignedOrder`, `rightSignedOrder`: `SignedOrder`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +**Returns:** *`PromiseWithTransactionHash`* -*Defined in [contract_wrappers/exchange_wrapper.ts:752](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L752)* +A promise that resolves when the transaction is successful -Match two complementary orders that have a profitable spread. -Each order is filled at their respective price point. However, the calculations are carried out as though -the orders are both being filled at the right order's price point. -The profit made by the left order goes to the taker (whoever matched the two orders). +### callAsync + +▸ **callAsync**(`owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:279](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L279)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`leftSignedOrder` | `SignedOrder` | - | First order to match. | -`rightSignedOrder` | `SignedOrder` | - | Second order to match. | -`takerAddress` | string | - | The address that sends the transaction and gets the spread. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +`owner` | string | - | Address of owner. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* -Transaction hash. +### estimateGasAsync -___ +▸ **estimateGasAsync**(`owner`: string, `txData?`: `Partial` | undefined): *`Promise`* -### preSignAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L254)* -▸ **preSignAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. -*Defined in [contract_wrappers/exchange_wrapper.ts:808](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L808)* +**Parameters:** -Approves a hash on-chain using any valid signature type. -After presigning a hash, the preSign signature type will become valid for that hash and signer. +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of owner. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:332](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L332)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`hash` | string | - | Hash to pre-sign | -`signerAddress` | string | - | Address that should have signed the given hash. | -`signature` | string | - | Proof that the hash has been signed by signer. | -`senderAddress` | string | - | Address that should send the transaction. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +Name | Type | +------ | ------ | +`returnData` | string | -**Returns:** *`Promise`* +**Returns:** *void* -Transaction hash. +### getABIDecodedTransactionData -___ +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:325](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L325)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | -### setSignatureValidatorApprovalAsync +**Returns:** *void* + +### getABIEncodedTransactionData -▸ **setSignatureValidatorApprovalAsync**(`validatorAddress`: string, `isApproved`: boolean, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +▸ **getABIEncodedTransactionData**(`owner`: string): *string* -*Defined in [contract_wrappers/exchange_wrapper.ts:1020](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1020)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L317)* -Sets the signature validator approval +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`validatorAddress` | string | - | Validator contract address. | -`isApproved` | boolean | - | Boolean value to set approval to. | -`senderAddress` | string | - | Sender address. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Optional arguments this method accepts. | +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of owner. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`owner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:199](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L199)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of owner. | +`txData?` | `Partial` \| undefined | Additional data for transaction | **Returns:** *`Promise`* -Transaction hash. +The hash of the transaction ___ -### subscribe +### replaceOwner -▸ **subscribe**<**ArgsType**>(`eventName`: `ExchangeEvents`, `indexFilterValues`: [IndexedFilterValues](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean): *string* +### ▪ **replaceOwner**: *object* -*Defined in [contract_wrappers/exchange_wrapper.ts:1096](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1096)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2760)* -Subscribe to an event type emitted by the Exchange contract. +Allows to replace an owner with a new owner. Transaction has to be sent by wallet. -**Type parameters:** +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`owner`: string, `newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2806](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2806)* -▪ **ArgsType**: *`ExchangeEventArgs`* +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of owner to be replaced. | +`newOwner` | string | Address of new owner. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`owner`: string, `newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2870](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2870)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`eventName` | `ExchangeEvents` | - | The exchange contract event you would like to subscribe to. | -`indexFilterValues` | [IndexedFilterValues](#interface-indexedfiltervalues) | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`owner` | string | - | Address of owner to be replaced. | +`newOwner` | string | - | Address of new owner. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *string* +**Returns:** *`Promise`* -Subscription token used later to unsubscribe +### estimateGasAsync -___ +▸ **estimateGasAsync**(`owner`: string, `newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2840](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2840)* -### transactionEncoderAsync +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. -▸ **transactionEncoderAsync**(): *`Promise`* +**Parameters:** -*Defined in [contract_wrappers/exchange_wrapper.ts:1268](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1268)* +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of owner to be replaced. | +`newOwner` | string | Address of new owner. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -Returns a Transaction Encoder. Transaction messages exist for the purpose of calling methods on the Exchange contract -in the context of another address. +**Returns:** *`Promise`* -**Returns:** *`Promise`* +The hash of the transaction -TransactionEncoder +### getABIDecodedReturnData -___ +▸ **getABIDecodedReturnData**(`returnData`: string): *void* -### unsubscribe +*Defined in [generated-wrappers/asset_proxy_owner.ts:2935](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2935)* -▸ **unsubscribe**(`subscriptionToken`: string): *void* +**Parameters:** -*Defined in [contract_wrappers/exchange_wrapper.ts:1118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1118)* +Name | Type | +------ | ------ | +`returnData` | string | -Cancel a subscription +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2928](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2928)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`owner`: string, `newOwner`: string): *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2918](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2918)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | +`owner` | string | Address of owner to be replaced. | +`newOwner` | string | Address of new owner. | -**Returns:** *void* +**Returns:** *string* -___ +### sendTransactionAsync -### unsubscribeAll +▸ **sendTransactionAsync**(`owner`: string, `newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* -▸ **unsubscribeAll**(): *void* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2769](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2769)* -*Defined in [contract_wrappers/exchange_wrapper.ts:1124](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1124)* +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. -Cancels all existing subscriptions +**Parameters:** -**Returns:** *void* +Name | Type | Description | +------ | ------ | ------ | +`owner` | string | Address of owner to be replaced. | +`newOwner` | string | Address of new owner. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction ___ -### validateFillOrderThrowIfInvalidAsync +### required + +### ▪ **required**: *object* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2695](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2695)* + +### callAsync -▸ **validateFillOrderThrowIfInvalidAsync**(`signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `takerAddress`: string): *`Promise`* +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:1231](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1231)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:2701](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2701)* -Validate a call to FillOrder and throw if it wouldn't succeed +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** -Name | Type | Description | +Name | Type | Default | ------ | ------ | ------ | -`signedOrder` | `SignedOrder` | SignedOrder of interest | -`fillTakerAssetAmount` | `BigNumber` | Amount we'd like to fill the order for | -`takerAddress` | string | The taker of the order | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2749](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2749)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2742](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2742)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2737](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2737)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* ___ -### validateMakerTransferThrowIfInvalidAsync +### revokeConfirmation + +### ▪ **revokeConfirmation**: *object* -▸ **validateMakerTransferThrowIfInvalidAsync**(`signedOrder`: `SignedOrder`, `makerAssetAmount`: `BigNumber`, `takerAddress?`: undefined | string): *`Promise`* +*Defined in [generated-wrappers/asset_proxy_owner.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L343)* -*Defined in [contract_wrappers/exchange_wrapper.ts:1211](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1211)* +Allows an owner to revoke a confirmation for a transaction. -Validate the transfer from the maker to the taker. This is simulated on-chain -via an eth_call. If this call fails, the asset is currently nontransferable. +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:379](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L379)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`signedOrder` | `SignedOrder` | SignedOrder of interest | -`makerAssetAmount` | `BigNumber` | Amount to transfer from the maker | -`takerAddress?` | undefined \| string | The address to transfer to, defaults to signedOrder.takerAddress | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | -**Returns:** *`Promise`* +**Returns:** *`PromiseWithTransactionHash`* -___ +A promise that resolves when the transaction is successful -### validateOrderFillableOrThrowAsync +### callAsync -▸ **validateOrderFillableOrThrowAsync**(`signedOrder`: `SignedOrder`, `opts`: [ValidateOrderFillableOpts](#interface-validateorderfillableopts)): *`Promise`* +▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [contract_wrappers/exchange_wrapper.ts:1153](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts#L1153)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:431](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L431)* -Validate if the supplied order is fillable, and throw if it isn't +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. **Parameters:** Name | Type | Default | Description | ------ | ------ | ------ | ------ | -`signedOrder` | `SignedOrder` | - | SignedOrder of interest | -`opts` | [ValidateOrderFillableOpts](#interface-validateorderfillableopts) | {} | ValidateOrderFillableOpts options (e.g expectedFillTakerTokenAmount. If it isn't supplied, we check if the order is fillable for the remaining amount. To check if the order is fillable for a non-zero amount, set `validateRemainingOrderAmountIsFillable` to false.) | +`transactionId` | `BigNumber` | - | Transaction ID. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | **Returns:** *`Promise`* -
+### estimateGasAsync -> # Class: ForwarderWrapper +▸ **estimateGasAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -This class includes the functionality related to interacting with the Forwarder contract. +*Defined in [generated-wrappers/asset_proxy_owner.ts:406](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L406)* -## Hierarchy +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** -* **ForwarderWrapper** +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -## Index +**Returns:** *`Promise`* -### Constructors +The hash of the transaction -* [constructor](#constructor) +### getABIDecodedReturnData -### Properties +▸ **getABIDecodedReturnData**(`returnData`: string): *void* -* [abi](#abi) -* [address](#address) -* [etherTokenAddress](#ethertokenaddress) -* [zrxTokenAddress](#zrxtokenaddress) +*Defined in [generated-wrappers/asset_proxy_owner.ts:488](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L488)* -### Methods +**Parameters:** -* [marketBuyOrdersWithEthAsync](#marketbuyorderswithethasync) -* [marketSellOrdersWithEthAsync](#marketsellorderswithethasync) +Name | Type | +------ | ------ | +`returnData` | string | -## Constructors +**Returns:** *void* -### constructor +### getABIDecodedTransactionData -\+ **new ForwarderWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string, `zrxTokenAddress?`: undefined | string, `etherTokenAddress?`: undefined | string): *[ForwarderWrapper](#class-forwarderwrapper)* +▸ **getABIDecodedTransactionData**(`callData`: string): *void* -*Defined in [contract_wrappers/forwarder_wrapper.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L29)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:481](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L481)* -Instantiate ForwarderWrapper +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:473](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L473)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). **Parameters:** Name | Type | Description | ------ | ------ | ------ | -`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use. | -`networkId` | number | Desired networkId. | -`address?` | undefined \| string | The address of the Exchange contract. If undefined, will default to the known address corresponding to the networkId. | -`zrxTokenAddress?` | undefined \| string | The address of the ZRXToken contract. If undefined, will default to the known address corresponding to the networkId. | -`etherTokenAddress?` | undefined \| string | The address of a WETH (Ether token) contract. If undefined, will default to the known address corresponding to the networkId. | +`transactionId` | `BigNumber` | Transaction ID. | -**Returns:** *[ForwarderWrapper](#class-forwarderwrapper)* +**Returns:** *string* -## Properties +### sendTransactionAsync -### abi +▸ **sendTransactionAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* -• **abi**: *`ContractAbi`* = Forwarder.compilerOutput.abi +*Defined in [generated-wrappers/asset_proxy_owner.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L351)* -*Defined in [contract_wrappers/forwarder_wrapper.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L24)* +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. -___ +**Parameters:** -### address +Name | Type | Description | +------ | ------ | ------ | +`transactionId` | `BigNumber` | Transaction ID. | +`txData?` | `Partial` \| undefined | Additional data for transaction | -• **address**: *string* +**Returns:** *`Promise`* -*Defined in [contract_wrappers/forwarder_wrapper.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L25)* +The hash of the transaction ___ -### etherTokenAddress +### secondsTimeLocked -• **etherTokenAddress**: *string* +### ▪ **secondsTimeLocked**: *object* -*Defined in [contract_wrappers/forwarder_wrapper.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L27)* +*Defined in [generated-wrappers/asset_proxy_owner.ts:807](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L807)* -___ +### callAsync -### zrxTokenAddress +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -• **zrxTokenAddress**: *string* +*Defined in [generated-wrappers/asset_proxy_owner.ts:813](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L813)* -*Defined in [contract_wrappers/forwarder_wrapper.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L26)* +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. -## Methods +**Parameters:** -### marketBuyOrdersWithEthAsync +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | -▸ **marketBuyOrdersWithEthAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `ethAmount`: `BigNumber`, `signedFeeOrders`: `SignedOrder`[], `feePercentage`: number, `feeRecipientAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +**Returns:** *`Promise`* -*Defined in [contract_wrappers/forwarder_wrapper.ts:168](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L168)* +### getABIDecodedReturnData -Attempt to purchase makerAssetFillAmount of makerAsset by selling ethAmount provided with transaction. -Any ZRX required to pay fees for primary orders will automatically be purchased by the contract. -Any ETH not spent will be refunded to sender. +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:861](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L861)* **Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrders` | `SignedOrder`[] | - | An array of objects that conform to the SignedOrder interface. All orders must specify the same makerAsset. All orders must specify WETH as the takerAsset | -`makerAssetFillAmount` | `BigNumber` | - | The amount of the order (in taker asset baseUnits) that you wish to fill. | -`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | -`ethAmount` | `BigNumber` | - | The amount of eth to send with the transaction (in wei). | -`signedFeeOrders` | `SignedOrder`[] | [] | An array of objects that conform to the SignedOrder interface. All orders must specify ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feePercentage` | number | 0 | The percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. Defaults to 0. | -`feeRecipientAddress` | string | constants.NULL_ADDRESS | The address that will receive ETH when signedFeeOrders are filled. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Transaction parameters. | +Name | Type | +------ | ------ | +`returnData` | string | -**Returns:** *`Promise`* +**Returns:** *`BigNumber`* -Transaction hash. +### getABIDecodedTransactionData -___ +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* -### marketSellOrdersWithEthAsync +*Defined in [generated-wrappers/asset_proxy_owner.ts:854](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L854)* -▸ **marketSellOrdersWithEthAsync**(`signedOrders`: `SignedOrder`[], `takerAddress`: string, `ethAmount`: `BigNumber`, `signedFeeOrders`: `SignedOrder`[], `feePercentage`: number, `feeRecipientAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* +**Parameters:** -*Defined in [contract_wrappers/forwarder_wrapper.ts:82](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts#L82)* +Name | Type | +------ | ------ | +`callData` | string | -Purchases as much of orders' makerAssets as possible by selling up to 95% of transaction's ETH value. -Any ZRX required to pay fees for primary orders will automatically be purchased by this contract. -5% of ETH value is reserved for paying fees to order feeRecipients (in ZRX) and forwarding contract feeRecipient (in ETH). -Any ETH not spent will be refunded to sender. +**Returns:** *`BigNumber`* -**Parameters:** +### getABIEncodedTransactionData -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`signedOrders` | `SignedOrder`[] | - | An array of objects that conform to the SignedOrder interface. All orders must specify the same makerAsset. All orders must specify WETH as the takerAsset | -`takerAddress` | string | - | The user Ethereum address who would like to fill this order. Must be available via the supplied Provider provided at instantiation. | -`ethAmount` | `BigNumber` | - | The amount of eth to send with the transaction (in wei). | -`signedFeeOrders` | `SignedOrder`[] | [] | An array of objects that conform to the SignedOrder interface. All orders must specify ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feePercentage` | number | 0 | The percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. Defaults to 0. | -`feeRecipientAddress` | string | constants.NULL_ADDRESS | The address that will receive ETH when signedFeeOrders are filled. | -`orderTransactionOpts` | [OrderTransactionOpts](#interface-ordertransactionopts) | { shouldValidate: true } | Transaction parameters. | +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:849](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L849)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### submitTransaction + +### ▪ **submitTransaction**: *object* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2358](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2358)* + +Allows an owner to submit and confirm a transaction. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`destination`: string, `value`: `BigNumber`, `data`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2409](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2409)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`destination` | string | Transaction target address. | +`value` | `BigNumber` | Transaction ether value. | +`data` | string | Transaction data payload. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`destination`: string, `value`: `BigNumber`, `data`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2486](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2486)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`destination` | string | - | Transaction target address. | +`value` | `BigNumber` | - | Transaction ether value. | +`data` | string | - | Transaction data payload. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Returns transaction ID. + +### estimateGasAsync + +▸ **estimateGasAsync**(`destination`: string, `value`: `BigNumber`, `data`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2447)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`destination` | string | Transaction target address. | +`value` | `BigNumber` | Transaction ether value. | +`data` | string | Transaction data payload. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2557](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2557)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2550](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2550)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`destination`: string, `value`: `BigNumber`, `data`: string): *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2538](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2538)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`destination` | string | Transaction target address. | +`value` | `BigNumber` | Transaction ether value. | +`data` | string | Transaction data payload. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`destination`: string, `value`: `BigNumber`, `data`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2368](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2368)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`destination` | string | Transaction target address. | +`value` | `BigNumber` | Transaction ether value. | +`data` | string | Transaction data payload. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transactionCount + +### ▪ **transactionCount**: *object* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1983](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1983)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1989](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1989)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2037](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2037)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2030](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2030)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:2025](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2025)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### transactions + +### ▪ **transactions**: *object* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1676](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1676)* + +### callAsync + +▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[string, BigNumber, string, boolean]>`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1682](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1682)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise<[string, BigNumber, string, boolean]>`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *[string, `BigNumber`, string, boolean]* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1736](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1736)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *[string, `BigNumber`, string, boolean]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *[string, `BigNumber`, string, boolean]* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1729](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1729)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *[string, `BigNumber`, string, boolean]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:1723](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1723)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | `BigNumber` | + +**Returns:** *string* + +
+ +> # Class: CoordinatorContract + +## Hierarchy + +* `BaseContract` + + * **CoordinatorContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [EIP712_COORDINATOR_DOMAIN_HASH](#eip712_coordinator_domain_hash) +* [EIP712_EXCHANGE_DOMAIN_HASH](#eip712_exchange_domain_hash) +* [assertValidCoordinatorApprovals](#assertvalidcoordinatorapprovals) +* [decodeOrdersFromFillData](#decodeordersfromfilldata) +* [executeTransaction](#executetransaction) +* [getCoordinatorApprovalHash](#getcoordinatorapprovalhash) +* [getSignerAddress](#getsigneraddress) +* [getTransactionHash](#gettransactionhash) + +## Constructors + +### constructor + +\+ **new CoordinatorContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[CoordinatorContract](#class-coordinatorcontract)* + +*Overrides void* + +*Defined in [generated-wrappers/coordinator.ts:1363](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L1363)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[CoordinatorContract](#class-coordinatorcontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/coordinator.ts:1069](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L1069)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:1022](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L1022)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_exchange` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:989](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L989)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_exchange` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### EIP712_COORDINATOR_DOMAIN_HASH + +### ▪ **EIP712_COORDINATOR_DOMAIN_HASH**: *object* + +*Defined in [generated-wrappers/coordinator.ts:927](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L927)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:933](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L933)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:981](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L981)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:974](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L974)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/coordinator.ts:969](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L969)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### EIP712_EXCHANGE_DOMAIN_HASH + +### ▪ **EIP712_EXCHANGE_DOMAIN_HASH**: *object* + +*Defined in [generated-wrappers/coordinator.ts:571](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L571)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:577](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L577)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:625](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L625)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:618](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L618)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/coordinator.ts:613](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L613)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### assertValidCoordinatorApprovals + +### ▪ **assertValidCoordinatorApprovals**: *object* + +*Defined in [generated-wrappers/coordinator.ts:637](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L637)* + +Validates that the 0x transaction has been approved by all of the feeRecipients +that correspond to each order in the transaction's Exchange calldata. + +### callAsync + +▸ **callAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:652](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L652)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`transaction` | object | - | 0x transaction containing salt, signerAddress, and data. | +`txOrigin` | string | - | Required signer of Ethereum transaction calling this function. | +`transactionSignature` | string | - | Proof that the transaction has been signed by the signer. | +`approvalExpirationTimeSeconds` | `BigNumber`[] | - | Array of expiration times in seconds for which each corresponding approval signature expires. | +`approvalSignatures` | string[] | - | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/coordinator.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L753)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/coordinator.ts:744](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L744)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[]): *string* + +*Defined in [generated-wrappers/coordinator.ts:720](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L720)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`transaction` | object | 0x transaction containing salt, signerAddress, and data. | +`txOrigin` | string | Required signer of Ethereum transaction calling this function. | +`transactionSignature` | string | Proof that the transaction has been signed by the signer. | +`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | +`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | + +**Returns:** *string* + +___ + +### decodeOrdersFromFillData + +### ▪ **decodeOrdersFromFillData**: *object* + +*Defined in [generated-wrappers/coordinator.ts:766](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L766)* + +Decodes the orders from Exchange calldata representing any fill method. + +### callAsync + +▸ **callAsync**(`data`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise>`* + +*Defined in [generated-wrappers/coordinator.ts:774](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L774)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`data` | string | - | Exchange calldata representing a fill method. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise>`* + +The orders from the Exchange calldata. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`Array`* + +*Defined in [generated-wrappers/coordinator.ts:889](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L889)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`Array`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`Array`* + +*Defined in [generated-wrappers/coordinator.ts:852](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L852)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`Array`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`data`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:846](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L846)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`data` | string | Exchange calldata representing a fill method. | + +**Returns:** *string* + +___ + +### executeTransaction + +### ▪ **executeTransaction**: *object* + +*Defined in [generated-wrappers/coordinator.ts:281](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L281)* + +Executes a 0x transaction that has been signed by the feeRecipients that correspond to each order in the transaction's Exchange calldata. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/coordinator.ts:359](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L359)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`transaction` | object | 0x transaction containing salt, signerAddress, and data. | +`txOrigin` | string | Required signer of Ethereum transaction calling this function. | +`transactionSignature` | string | Proof that the transaction has been signed by the signer. | +`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | +`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:460](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L460)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`transaction` | object | - | 0x transaction containing salt, signerAddress, and data. | +`txOrigin` | string | - | Required signer of Ethereum transaction calling this function. | +`transactionSignature` | string | - | Proof that the transaction has been signed by the signer. | +`approvalExpirationTimeSeconds` | `BigNumber`[] | - | Array of expiration times in seconds for which each corresponding approval signature expires. | +`approvalSignatures` | string[] | - | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:408](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L408)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`transaction` | object | 0x transaction containing salt, signerAddress, and data. | +`txOrigin` | string | Required signer of Ethereum transaction calling this function. | +`transactionSignature` | string | Proof that the transaction has been signed by the signer. | +`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | +`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/coordinator.ts:561](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L561)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/coordinator.ts:552](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L552)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[]): *string* + +*Defined in [generated-wrappers/coordinator.ts:528](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L528)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`transaction` | object | 0x transaction containing salt, signerAddress, and data. | +`txOrigin` | string | Required signer of Ethereum transaction calling this function. | +`transactionSignature` | string | Proof that the transaction has been signed by the signer. | +`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | +`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:297](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L297)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`transaction` | object | 0x transaction containing salt, signerAddress, and data. | +`txOrigin` | string | Required signer of Ethereum transaction calling this function. | +`transactionSignature` | string | Proof that the transaction has been signed by the signer. | +`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | +`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### getCoordinatorApprovalHash + +### ▪ **getCoordinatorApprovalHash**: *object* + +*Defined in [generated-wrappers/coordinator.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L191)* + +Calculated the EIP712 hash of the Coordinator approval mesasage using the domain separator of this contract. + +### callAsync + +▸ **callAsync**(`approval`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:200](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L200)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`approval` | object | - | Coordinator approval message containing the transaction hash, transaction signature, and expiration of the approval. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +EIP712 hash of the Coordinator approval message with the domain separator of this contract. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:270](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L270)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:263](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L263)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`approval`: object): *string* + +*Defined in [generated-wrappers/coordinator.ts:250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L250)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`approval` | object | Coordinator approval message containing the transaction hash, transaction signature, and expiration of the approval. | + +**Returns:** *string* + +___ + +### getSignerAddress + +### ▪ **getSignerAddress**: *object* + +*Defined in [generated-wrappers/coordinator.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L33)* + +Recovers the address of a signer given a hash and signature. + +### callAsync + +▸ **callAsync**(`hash`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L41)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`hash` | string | - | Any 32 byte hash. | +`signature` | string | - | Proof that the hash has been signed by signer. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:103](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L103)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L96)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`hash`: string, `signature`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:86](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L86)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | Any 32 byte hash. | +`signature` | string | Proof that the hash has been signed by signer. | + +**Returns:** *string* + +___ + +### getTransactionHash + +### ▪ **getTransactionHash**: *object* + +*Defined in [generated-wrappers/coordinator.ts:114](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L114)* + +Calculates the EIP712 hash of a 0x transaction using the domain separator of the Exchange contract. + +### callAsync + +▸ **callAsync**(`transaction`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/coordinator.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L122)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`transaction` | object | - | 0x transaction containing salt, signerAddress, and data. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +EIP712 hash of the transaction with the domain separator of this contract. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L180)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/coordinator.ts:173](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L173)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`transaction`: object): *string* + +*Defined in [generated-wrappers/coordinator.ts:165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L165)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`transaction` | object | 0x transaction containing salt, signerAddress, and data. | + +**Returns:** *string* + +
+ +> # Class: CoordinatorRegistryContract + +## Hierarchy + +* `BaseContract` + + * **CoordinatorRegistryContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [getCoordinatorEndpoint](#getcoordinatorendpoint) +* [setCoordinatorEndpoint](#setcoordinatorendpoint) + +## Constructors + +### constructor + +\+ **new CoordinatorRegistryContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[CoordinatorRegistryContract](#class-coordinatorregistrycontract)* + +*Overrides void* + +*Defined in [generated-wrappers/coordinator_registry.ts:486](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L486)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[CoordinatorRegistryContract](#class-coordinatorregistrycontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [CoordinatorRegistryEvents](#enumeration-coordinatorregistryevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/coordinator_registry.ts:470](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L470)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[CoordinatorRegistryEventArgs](#coordinatorregistryeventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [CoordinatorRegistryEvents](#enumeration-coordinatorregistryevents) | The CoordinatorRegistry contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [CoordinatorRegistryEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/coordinator_registry.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L428)* + +Subscribe to an event type emitted by the CoordinatorRegistry contract. + +**Type parameters:** + +▪ **ArgsType**: *[CoordinatorRegistryEventArgs](#coordinatorregistryeventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [CoordinatorRegistryEvents](#enumeration-coordinatorregistryevents) | - | The CoordinatorRegistry contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/coordinator_registry.ts:453](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L453)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/coordinator_registry.ts:459](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L459)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/coordinator_registry.ts:356](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L356)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/coordinator_registry.ts:314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L314)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/coordinator_registry.ts:283](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L283)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### getCoordinatorEndpoint + +### ▪ **getCoordinatorEndpoint**: *object* + +*Defined in [generated-wrappers/coordinator_registry.ts:208](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L208)* + +Gets the endpoint for a Coordinator. + +### callAsync + +▸ **callAsync**(`coordinatorOperator`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/coordinator_registry.ts:215](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L215)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`coordinatorOperator` | string | - | operator of the Coordinator endpoint. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/coordinator_registry.ts:274](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L274)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/coordinator_registry.ts:267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L267)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`coordinatorOperator`: string): *string* + +*Defined in [generated-wrappers/coordinator_registry.ts:259](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L259)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`coordinatorOperator` | string | operator of the Coordinator endpoint. | + +**Returns:** *string* + +___ + +### setCoordinatorEndpoint + +### ▪ **setCoordinatorEndpoint**: *object* + +*Defined in [generated-wrappers/coordinator_registry.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L52)* + +Called by a Coordinator operator to set the endpoint of their Coordinator. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`coordinatorEndpoint`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/coordinator_registry.ts:88](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L88)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`coordinatorEndpoint` | string | endpoint of the Coordinator. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`coordinatorEndpoint`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/coordinator_registry.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L140)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`coordinatorEndpoint` | string | - | endpoint of the Coordinator. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`coordinatorEndpoint`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/coordinator_registry.ts:115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L115)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`coordinatorEndpoint` | string | endpoint of the Coordinator. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/coordinator_registry.ts:197](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L197)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/coordinator_registry.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L190)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`coordinatorEndpoint`: string): *string* + +*Defined in [generated-wrappers/coordinator_registry.ts:182](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L182)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`coordinatorEndpoint` | string | endpoint of the Coordinator. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`coordinatorEndpoint`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/coordinator_registry.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L60)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`coordinatorEndpoint` | string | endpoint of the Coordinator. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: DummyERC20TokenContract + +## Hierarchy + +* `BaseContract` + + * **DummyERC20TokenContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [MAX_MINT_AMOUNT](#max_mint_amount) +* [allowance](#allowance) +* [approve](#approve) +* [balanceOf](#balanceof) +* [decimals](#decimals) +* [mint](#mint) +* [name](#name) +* [owner](#owner) +* [setBalance](#setbalance) +* [symbol](#symbol) +* [totalSupply](#totalsupply) +* [transfer](#transfer) +* [transferFrom](#transferfrom) +* [transferOwnership](#transferownership) + +## Constructors + +### constructor + +\+ **new DummyERC20TokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[DummyERC20TokenContract](#class-dummyerc20tokencontract)* + +*Overrides void* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:2117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2117)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[DummyERC20TokenContract](#class-dummyerc20tokencontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [DummyERC20TokenEvents](#enumeration-dummyerc20tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:2101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2101)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[DummyERC20TokenEventArgs](#dummyerc20tokeneventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [DummyERC20TokenEvents](#enumeration-dummyerc20tokenevents) | The DummyERC20Token contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [DummyERC20TokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:2059](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2059)* + +Subscribe to an event type emitted by the DummyERC20Token contract. + +**Type parameters:** + +▪ **ArgsType**: *[DummyERC20TokenEventArgs](#dummyerc20tokeneventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [DummyERC20TokenEvents](#enumeration-dummyerc20tokenevents) | - | The DummyERC20Token contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:2084](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2084)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:2090](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2090)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1730](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1730)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_name`: string, `_symbol`: string, `_decimals`: `BigNumber`, `_totalSupply`: `BigNumber`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1680](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1680)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_name` | string | +`_symbol` | string | +`_decimals` | `BigNumber` | +`_totalSupply` | `BigNumber` | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_name`: string, `_symbol`: string, `_decimals`: `BigNumber`, `_totalSupply`: `BigNumber`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1641](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1641)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_name` | string | +`_symbol` | string | +`_decimals` | `BigNumber` | +`_totalSupply` | `BigNumber` | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### MAX_MINT_AMOUNT + +### ▪ **MAX_MINT_AMOUNT**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1578](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1578)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1584](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1584)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1632](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1632)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1625](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1625)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1620](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1620)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### allowance + +### ▪ **allowance**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1166](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1166)* + +### callAsync + +▸ **callAsync**(`_owner`: string, `_spender`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1175](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1175)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_owner` | string | - | The address of the account owning tokens | +`_spender` | string | - | The address of the account able to transfer the tokens | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amount of remaining tokens allowed to spent + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1240](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1240)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1233)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string, `_spender`: string): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1223)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | The address of the account owning tokens | +`_spender` | string | The address of the account able to transfer the tokens | + +**Returns:** *string* + +___ + +### approve + +### ▪ **approve**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L122)* + +`msg.sender` approves `_spender` to spend `_value` tokens + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:168](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L168)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | The amount of wei to be approved for transfer | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_spender`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L233)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_spender` | string | - | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | - | The amount of wei to be approved for transfer | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Always true if the call has enough gas to complete execution + +### estimateGasAsync + +▸ **estimateGasAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:198](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L198)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | The amount of wei to be approved for transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:298](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L298)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L291)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_spender`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:281](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L281)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | The amount of wei to be approved for transfer | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:131](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L131)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | The amount of wei to be approved for transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### balanceOf + +### ▪ **balanceOf**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:647](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L647)* + +Query the balance of owner + +### callAsync + +▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:655](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L655)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_owner` | string | - | The address from which the balance will be retrieved | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Balance of owner + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:710](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L710)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:703](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L703)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:697](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L697)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | The address from which the balance will be retrieved | + +**Returns:** *string* + +___ + +### decimals + +### ▪ **decimals**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:582](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L582)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:588](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L588)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:636](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L636)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:629](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L629)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:624](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L624)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### mint + +### ▪ **mint**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:845](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L845)* + +Mints new tokens for sender + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:881](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L881)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_value` | `BigNumber` | Amount of tokens to mint | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:933](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L933)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_value` | `BigNumber` | - | Amount of tokens to mint | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:908](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L908)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_value` | `BigNumber` | Amount of tokens to mint | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:984](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L984)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:977](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L977)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:971](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L971)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_value` | `BigNumber` | Amount of tokens to mint | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:853](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L853)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_value` | `BigNumber` | Amount of tokens to mint | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### name + +### ▪ **name**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L57)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L63)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L111)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L104)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L99)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### owner + +### ▪ **owner**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:718](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L718)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:724](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L724)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:772](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L772)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:765](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L765)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L760)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### setBalance + +### ▪ **setBalance**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1251](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1251)* + +Sets the balance of target address + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_target`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1297](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1297)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_target` | string | Address or which balance will be updated | +`_value` | `BigNumber` | New balance of target address | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_target`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1361](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1361)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_target` | string | - | Address or which balance will be updated | +`_value` | `BigNumber` | - | New balance of target address | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_target`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1327](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1327)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_target` | string | Address or which balance will be updated | +`_value` | `BigNumber` | New balance of target address | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1426)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1419](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1419)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_target`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1409](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1409)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_target` | string | Address or which balance will be updated | +`_value` | `BigNumber` | New balance of target address | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_target`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1260](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1260)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_target` | string | Address or which balance will be updated | +`_value` | `BigNumber` | New balance of target address | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### symbol + +### ▪ **symbol**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:780](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L780)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:786](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L786)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:834](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L834)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:827](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L827)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:822](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L822)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### totalSupply + +### ▪ **totalSupply**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:309](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L309)* + +Query total supply of token + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:316](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L316)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Total supply of token + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:364](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L364)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L357)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:352](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L352)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### transfer + +### ▪ **transfer**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:995](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L995)* + +send `value` token to `to` from `msg.sender` + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1038](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1038)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1096](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1096)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_to` | string | - | The address of the recipient | +`_value` | `BigNumber` | - | The amount of token to be transferred | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +True if transfer was successful + +### estimateGasAsync + +▸ **estimateGasAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1068](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1068)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1158)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1151](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1151)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_to`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1141)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1004](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1004)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferFrom + +### ▪ **transferFrom**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:375](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L375)* + +ERC20 transferFrom, modified such that an allowance of MAX_UINT represents an unlimited allowance. See https://github.com/ethereum/EIPs/issues/717 + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L426)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | Address to transfer from. | +`_to` | string | Address to transfer to. | +`_value` | `BigNumber` | Amount to transfer. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:503](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L503)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_from` | string | - | Address to transfer from. | +`_to` | string | - | Address to transfer to. | +`_value` | `BigNumber` | - | Amount to transfer. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Success of transfer. + +### estimateGasAsync + +▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:464](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L464)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | Address to transfer from. | +`_to` | string | Address to transfer to. | +`_value` | `BigNumber` | Amount to transfer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:574](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L574)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:567](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L567)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:555](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L555)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | Address to transfer from. | +`_to` | string | Address to transfer to. | +`_value` | `BigNumber` | Amount to transfer. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L385)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | Address to transfer from. | +`_to` | string | Address to transfer to. | +`_value` | `BigNumber` | Amount to transfer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferOwnership + +### ▪ **transferOwnership**: *object* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1434](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1434)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1468](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1468)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1518](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1518)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`newOwner` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1494](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1494)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1570](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1570)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1563](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1563)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1555](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1555)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`newOwner` | string | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc20_token.ts:1441](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1441)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: DummyERC721TokenContract + +## Hierarchy + +* `BaseContract` + + * **DummyERC721TokenContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [approve](#approve) +* [balanceOf](#balanceof) +* [burn](#burn) +* [getApproved](#getapproved) +* [isApprovedForAll](#isapprovedforall) +* [mint](#mint) +* [name](#name) +* [owner](#owner) +* [ownerOf](#ownerof) +* [safeTransferFrom1](#safetransferfrom1) +* [safeTransferFrom2](#safetransferfrom2) +* [setApprovalForAll](#setapprovalforall) +* [symbol](#symbol) +* [transferFrom](#transferfrom) +* [transferOwnership](#transferownership) + +## Constructors + +### constructor + +\+ **new DummyERC721TokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[DummyERC721TokenContract](#class-dummyerc721tokencontract)* + +*Overrides void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2617](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2617)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[DummyERC721TokenContract](#class-dummyerc721tokencontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [DummyERC721TokenEvents](#enumeration-dummyerc721tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2601](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2601)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[DummyERC721TokenEventArgs](#dummyerc721tokeneventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [DummyERC721TokenEvents](#enumeration-dummyerc721tokenevents) | The DummyERC721Token contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [DummyERC721TokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2559](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2559)* + +Subscribe to an event type emitted by the DummyERC721Token contract. + +**Type parameters:** + +▪ **ArgsType**: *[DummyERC721TokenEventArgs](#dummyerc721tokeneventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [DummyERC721TokenEvents](#enumeration-dummyerc721tokenevents) | - | The DummyERC721Token contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2584](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2584)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2590](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2590)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2182](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2182)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_name`: string, `_symbol`: string): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2134](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2134)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_name` | string | +`_symbol` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_name`: string, `_symbol`: string): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2099](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2099)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_name` | string | +`_symbol` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### approve + +### ▪ **approve**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:208](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L208)* + +The zero address indicates there is no approved address. +Throws unless `msg.sender` is the current NFT owner, or an authorized +operator of the current owner. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L254)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_approved` | string | The new approved NFT controller | +`_tokenId` | `BigNumber` | The NFT to approve | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:318](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L318)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_approved` | string | - | The new approved NFT controller | +`_tokenId` | `BigNumber` | - | The NFT to approve | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:284](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L284)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_approved` | string | The new approved NFT controller | +`_tokenId` | `BigNumber` | The NFT to approve | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L383)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:376](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L376)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_approved`: string, `_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:366](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L366)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_approved` | string | The new approved NFT controller | +`_tokenId` | `BigNumber` | The NFT to approve | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:217](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L217)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_approved` | string | The new approved NFT controller | +`_tokenId` | `BigNumber` | The NFT to approve | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### balanceOf + +### ▪ **balanceOf**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1070](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1070)* + +NFTs assigned to the zero address are considered invalid, and this +function throws for queries about the zero address. + +### callAsync + +▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1078](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1078)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_owner` | string | - | An address for whom to query the balance | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +The number of NFTs owned by `_owner`, possibly zero + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1133)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1126)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1120)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | An address for whom to query the balance | + +**Returns:** *string* + +___ + +### burn + +### ▪ **burn**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1269](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1269)* + +Function to burn a token +Reverts if the given token ID doesn't exist or not called by contract owner + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_owner`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1312](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1312)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | Owner of token with given token ID | +`_tokenId` | `BigNumber` | ID of the token to be burned by the msg.sender | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_owner`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1373](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1373)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_owner` | string | - | Owner of token with given token ID | +`_tokenId` | `BigNumber` | - | ID of the token to be burned by the msg.sender | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_owner`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1342](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1342)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | Owner of token with given token ID | +`_tokenId` | `BigNumber` | ID of the token to be burned by the msg.sender | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1435](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1435)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1428)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string, `_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1418](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1418)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | Owner of token with given token ID | +`_tokenId` | `BigNumber` | ID of the token to be burned by the msg.sender | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_owner`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1278](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1278)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | Owner of token with given token ID | +`_tokenId` | `BigNumber` | ID of the token to be burned by the msg.sender | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### getApproved + +### ▪ **getApproved**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:132](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L132)* + +Throws if `_tokenId` is not a valid NFT. + +### callAsync + +▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L140)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_tokenId` | `BigNumber` | - | The NFT to find the approved address for | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +The approved address for this NFT, or the zero address if there is none + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:195](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L195)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:188](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L188)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:182](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L182)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_tokenId` | `BigNumber` | The NFT to find the approved address for | + +**Returns:** *string* + +___ + +### isApprovedForAll + +### ▪ **isApprovedForAll**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1872](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1872)* + +### callAsync + +▸ **callAsync**(`_owner`: string, `_operator`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1881](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1881)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_owner` | string | - | The address that owns the NFTs | +`_operator` | string | - | The address that acts on behalf of the owner | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +True if `_operator` is an approved operator for `_owner`, false otherwise + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1946](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1946)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1939](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1939)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string, `_operator`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1929](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1929)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | The address that owns the NFTs | +`_operator` | string | The address that acts on behalf of the owner | + +**Returns:** *string* + +___ + +### mint + +### ▪ **mint**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:607](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L607)* + +Function to mint a new token +Reverts if the given token ID already exists + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:650](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L650)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | Address of the beneficiary that will own the minted token | +`_tokenId` | `BigNumber` | ID of the token to be minted by the msg.sender | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:711](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L711)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_to` | string | - | Address of the beneficiary that will own the minted token | +`_tokenId` | `BigNumber` | - | ID of the token to be minted by the msg.sender | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:680](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L680)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | Address of the beneficiary that will own the minted token | +`_tokenId` | `BigNumber` | ID of the token to be minted by the msg.sender | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:773](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L773)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:766](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L766)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_to`: string, `_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:756](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L756)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | Address of the beneficiary that will own the minted token | +`_tokenId` | `BigNumber` | ID of the token to be minted by the msg.sender | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:616](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L616)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | Address of the beneficiary that will own the minted token | +`_tokenId` | `BigNumber` | ID of the token to be minted by the msg.sender | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### name + +### ▪ **name**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L67)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L73)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L121)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:114](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L114)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:109](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L109)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### owner + +### ▪ **owner**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1141)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1147](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1147)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1195](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1195)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1188](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1188)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1183](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1183)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### ownerOf + +### ▪ **ownerOf**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:995](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L995)* + +NFTs assigned to zero address are considered invalid, and queries +about them do throw. + +### callAsync + +▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1003](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1003)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_tokenId` | `BigNumber` | - | The identifier for an NFT | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +The address of the owner of the NFT + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1058](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1058)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1051](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1051)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1045](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1045)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_tokenId` | `BigNumber` | The identifier for an NFT | + +**Returns:** *string* + +___ + +### safeTransferFrom1 + +### ▪ **safeTransferFrom1**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:785](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L785)* + +This works identically to the other function with an extra data parameter, +except this function just sets data to "". + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:836](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L836)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:912](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L912)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_from` | string | - | The current owner of the NFT | +`_to` | string | - | The new owner | +`_tokenId` | `BigNumber` | - | The NFT to transfer | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:874](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L874)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:983](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L983)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:976](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L976)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:964](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L964)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:795](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L795)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### safeTransferFrom2 + +### ▪ **safeTransferFrom2**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1643)* + +Throws unless `msg.sender` is the current owner, an authorized +operator, or the approved address for this NFT. Throws if `_from` is +not the current owner. Throws if `_to` is the zero address. Throws if +`_tokenId` is not a valid NFT. When transfer is complete, this function +checks if `_to` is a smart contract (code size > 0). If so, it calls +`onERC721Received` on `_to` and throws if the return value is not +`bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1705](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1705)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`_data` | string | Additional data with no specified format, sent in call to `_to` | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1789](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1789)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_from` | string | - | The current owner of the NFT | +`_to` | string | - | The new owner | +`_tokenId` | `BigNumber` | - | The NFT to transfer | +`_data` | string | - | Additional data with no specified format, sent in call to `_to` | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1747](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1747)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`_data` | string | Additional data with no specified format, sent in call to `_to` | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1864](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1864)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1857](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1857)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1845](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1845)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`_data` | string | Additional data with no specified format, sent in call to `_to` | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1654](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1654)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`_data` | string | Additional data with no specified format, sent in call to `_to` | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### setApprovalForAll + +### ▪ **setApprovalForAll**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1447)* + +Emits the ApprovalForAll event. The contract MUST allow +multiple operators per owner. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1493](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1493)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_operator` | string | Address to add to the set of authorized operators | +`_approved` | boolean | True if the operator is approved, false to revoke approval | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_operator`: string, `_approved`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1561](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1561)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_operator` | string | - | Address to add to the set of authorized operators | +`_approved` | boolean | - | True if the operator is approved, false to revoke approval | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1527](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1527)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_operator` | string | Address to add to the set of authorized operators | +`_approved` | boolean | True if the operator is approved, false to revoke approval | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1626](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1626)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1619](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1619)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_operator`: string, `_approved`: boolean): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1609](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1609)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_operator` | string | Address to add to the set of authorized operators | +`_approved` | boolean | True if the operator is approved, false to revoke approval | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1456](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1456)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_operator` | string | Address to add to the set of authorized operators | +`_approved` | boolean | True if the operator is approved, false to revoke approval | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### symbol + +### ▪ **symbol**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1203)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1209](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1209)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1257)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1250)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1245)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### transferFrom + +### ▪ **transferFrom**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:397](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L397)* + +Throws unless `msg.sender` is the current owner, an authorized +operator, or the approved address for this NFT. Throws if `_from` is +not the current owner. Throws if `_to` is the zero address. Throws if +`_tokenId` is not a valid NFT. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:448](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L448)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:524](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L524)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_from` | string | - | The current owner of the NFT | +`_to` | string | - | The new owner | +`_tokenId` | `BigNumber` | - | The NFT to transfer | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:486](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L486)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:595](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L595)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:588](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L588)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:576](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L576)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:407](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L407)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferOwnership + +### ▪ **transferOwnership**: *object* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1954](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1954)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1988](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1988)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2038](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2038)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`newOwner` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2014](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2014)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2090](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2090)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2083](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2083)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:2075](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2075)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`newOwner` | string | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:1961](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1961)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: DutchAuctionContract + +## Hierarchy + +* `BaseContract` + + * **DutchAuctionContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [getAuctionDetails](#getauctiondetails) +* [matchOrders](#matchorders) + +## Constructors + +### constructor + +\+ **new DutchAuctionContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[DutchAuctionContract](#class-dutchauctioncontract)* + +*Overrides void* + +*Defined in [generated-wrappers/dutch_auction.ts:1151](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L1151)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[DutchAuctionContract](#class-dutchauctioncontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/dutch_auction.ts:859](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L859)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise`* + +*Defined in [generated-wrappers/dutch_auction.ts:812](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L812)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_exchange` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise`* + +*Defined in [generated-wrappers/dutch_auction.ts:779](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L779)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_exchange` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### getAuctionDetails + +### ▪ **getAuctionDetails**: *object* + +*Defined in [generated-wrappers/dutch_auction.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L33)* + +Calculates the Auction Details for the given order + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`order`: object, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dutch_auction.ts:87](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L87)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | The sell order | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`order`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dutch_auction.ts:170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L170)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`order` | object | - | The sell order | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +AuctionDetails + +### estimateGasAsync + +▸ **estimateGasAsync**(`order`: object, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dutch_auction.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L126)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | The sell order | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/dutch_auction.ts:289](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L289)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/dutch_auction.ts:264](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L264)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`order`: object): *string* + +*Defined in [generated-wrappers/dutch_auction.ts:243](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L243)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | The sell order | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`order`: object, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dutch_auction.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L41)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | The sell order | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### matchOrders + +### ▪ **matchOrders**: *object* + +*Defined in [generated-wrappers/dutch_auction.ts:332](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L332)* + +Matches the buy and sell orders at an amount given the following: the current block time, the auction +start time and the auction begin amount. The sell order is a an order at the lowest amount +at the end of the auction. Excess from the match is transferred to the seller. +Over time the price moves from beginAmount to endAmount given the current block.timestamp. +sellOrder.expiryTimeSeconds is the end time of the auction. +sellOrder.takerAssetAmount is the end amount of the auction (lowest possible amount). +sellOrder.makerAssetData is the ABI encoded Asset Proxy data with the following data appended +buyOrder.makerAssetData is the buyers bid on the auction, must meet the amount for the current block timestamp +(uint256 beginTimeSeconds, uint256 beginAmount). +This function reverts in the following scenarios: +* Auction has not started (auctionDetails.currentTimeSeconds < auctionDetails.beginTimeSeconds) +* Auction has expired (auctionDetails.endTimeSeconds < auctionDetails.currentTimeSeconds) +* Amount is invalid: Buy order amount is too low (buyOrder.makerAssetAmount < auctionDetails.currentAmount) +* Amount is invalid: Invalid begin amount (auctionDetails.beginAmount > auctionDetails.endAmount) +* Any failure in the 0x Match Orders + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/dutch_auction.ts:414](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L414)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`buyOrder` | object | The Buyer's order. This order is for the current expected price of the auction. | +`sellOrder` | object | The Seller's order. This order is for the lowest amount (at the end of the auction). | +`buySignature` | string | Proof that order was created by the buyer. | +`sellSignature` | string | Proof that order was created by the seller. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/dutch_auction.ts:549](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L549)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`buyOrder` | object | - | The Buyer's order. This order is for the current expected price of the auction. | +`sellOrder` | object | - | The Seller's order. This order is for the lowest amount (at the end of the auction). | +`buySignature` | string | - | Proof that order was created by the buyer. | +`sellSignature` | string | - | Proof that order was created by the seller. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +matchedFillResults amounts filled and fees paid by maker and taker of matched orders. + +### estimateGasAsync + +▸ **estimateGasAsync**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dutch_auction.ts:482](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L482)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`buyOrder` | object | The Buyer's order. This order is for the current expected price of the auction. | +`sellOrder` | object | The Seller's order. This order is for the lowest amount (at the end of the auction). | +`buySignature` | string | Proof that order was created by the buyer. | +`sellSignature` | string | Proof that order was created by the seller. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/dutch_auction.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L739)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/dutch_auction.ts:700](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L700)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string): *string* + +*Defined in [generated-wrappers/dutch_auction.ts:659](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L659)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`buyOrder` | object | The Buyer's order. This order is for the current expected price of the auction. | +`sellOrder` | object | The Seller's order. This order is for the lowest amount (at the end of the auction). | +`buySignature` | string | Proof that order was created by the buyer. | +`sellSignature` | string | Proof that order was created by the seller. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/dutch_auction.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L345)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`buyOrder` | object | The Buyer's order. This order is for the current expected price of the auction. | +`sellOrder` | object | The Seller's order. This order is for the lowest amount (at the end of the auction). | +`buySignature` | string | Proof that order was created by the buyer. | +`sellSignature` | string | Proof that order was created by the seller. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: ERC20ProxyContract + +## Hierarchy + +* `BaseContract` + + * **ERC20ProxyContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [addAuthorizedAddress](#addauthorizedaddress) +* [authorities](#authorities) +* [authorized](#authorized) +* [getAuthorizedAddresses](#getauthorizedaddresses) +* [getProxyId](#getproxyid) +* [owner](#owner) +* [removeAuthorizedAddress](#removeauthorizedaddress) +* [removeAuthorizedAddressAtIndex](#removeauthorizedaddressatindex) +* [transferOwnership](#transferownership) + +## Constructors + +### constructor + +\+ **new ERC20ProxyContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ERC20ProxyContract](#class-erc20proxycontract)* + +*Overrides void* + +*Defined in [generated-wrappers/erc20_proxy.ts:1350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1350)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[ERC20ProxyContract](#class-erc20proxycontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC20ProxyEvents](#enumeration-erc20proxyevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/erc20_proxy.ts:1334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1334)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[ERC20ProxyEventArgs](#erc20proxyeventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [ERC20ProxyEvents](#enumeration-erc20proxyevents) | The ERC20Proxy contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [ERC20ProxyEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:1292](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1292)* + +Subscribe to an event type emitted by the ERC20Proxy contract. + +**Type parameters:** + +▪ **ArgsType**: *[ERC20ProxyEventArgs](#erc20proxyeventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [ERC20ProxyEvents](#enumeration-erc20proxyevents) | - | The ERC20Proxy contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:1317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1317)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:1323](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1323)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/erc20_proxy.ts:1095](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1095)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:1053](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1053)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:1028](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1028)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### addAuthorizedAddress + +### ▪ **addAuthorizedAddress**: *object* + +*Defined in [generated-wrappers/erc20_proxy.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L60)* + +Authorizes an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc20_proxy.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L96)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:148](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L148)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to authorize. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L123)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:201](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L201)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L194)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:186](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L186)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L68)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### authorities + +### ▪ **authorities**: *object* + +*Defined in [generated-wrappers/erc20_proxy.ts:209](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L209)* + +### callAsync + +▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:215](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L215)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:269](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L269)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:262](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L262)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:256](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L256)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | `BigNumber` | + +**Returns:** *string* + +___ + +### authorized + +### ▪ **authorized**: *object* + +*Defined in [generated-wrappers/erc20_proxy.ts:747](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L747)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L753)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/erc20_proxy.ts:809](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L809)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/erc20_proxy.ts:802](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L802)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:794](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L794)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | + +**Returns:** *string* + +___ + +### getAuthorizedAddresses + +### ▪ **getAuthorizedAddresses**: *object* + +*Defined in [generated-wrappers/erc20_proxy.ts:820](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L820)* + +Gets all authorized addresses. + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:827](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L827)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Array of authorized addresses. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* + +*Defined in [generated-wrappers/erc20_proxy.ts:875](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L875)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string[]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* + +*Defined in [generated-wrappers/erc20_proxy.ts:868](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L868)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string[]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:863](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L863)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### getProxyId + +### ▪ **getProxyId**: *object* + +*Defined in [generated-wrappers/erc20_proxy.ts:684](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L684)* + +Gets the proxy id associated with the proxy address. + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:691](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L691)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Proxy id. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L739)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:732](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L732)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L727)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### owner + +### ▪ **owner**: *object* + +*Defined in [generated-wrappers/erc20_proxy.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L429)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:435](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L435)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:483](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L483)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:476](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L476)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:471](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L471)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### removeAuthorizedAddress + +### ▪ **removeAuthorizedAddress**: *object* + +*Defined in [generated-wrappers/erc20_proxy.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L280)* + +Removes authorizion of an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc20_proxy.ts:316](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L316)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:368](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L368)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to remove authorization from. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L343)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:421](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L421)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:414](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L414)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:406](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L406)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:288](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L288)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### removeAuthorizedAddressAtIndex + +### ▪ **removeAuthorizedAddressAtIndex**: *object* + +*Defined in [generated-wrappers/erc20_proxy.ts:494](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L494)* + +Removes authorizion of an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc20_proxy.ts:540](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L540)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `index`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:608](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L608)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to remove authorization from. | +`index` | `BigNumber` | - | Index of target in authorities array. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:574](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L574)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L673)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:666](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L666)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string, `index`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:656](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L656)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:503](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L503)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferOwnership + +### ▪ **transferOwnership**: *object* + +*Defined in [generated-wrappers/erc20_proxy.ts:883](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L883)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc20_proxy.ts:917](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L917)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:967](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L967)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`newOwner` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L943)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:1019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1019)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc20_proxy.ts:1012](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1012)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* + +*Defined in [generated-wrappers/erc20_proxy.ts:1004](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1004)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`newOwner` | string | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_proxy.ts:890](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L890)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: ERC20TokenContract + +## Hierarchy + +* `BaseContract` + + * **ERC20TokenContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [allowance](#allowance) +* [approve](#approve) +* [balanceOf](#balanceof) +* [totalSupply](#totalsupply) +* [transfer](#transfer) +* [transferFrom](#transferfrom) + +## Constructors + +### constructor + +\+ **new ERC20TokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ERC20TokenContract](#class-erc20tokencontract)* + +*Overrides void* + +*Defined in [generated-wrappers/erc20_token.ts:1165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1165)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[ERC20TokenContract](#class-erc20tokencontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC20TokenEvents](#enumeration-erc20tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/erc20_token.ts:1149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1149)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[ERC20TokenEventArgs](#erc20tokeneventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [ERC20TokenEvents](#enumeration-erc20tokenevents) | The ERC20Token contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [ERC20TokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/erc20_token.ts:1107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1107)* + +Subscribe to an event type emitted by the ERC20Token contract. + +**Type parameters:** + +▪ **ArgsType**: *[ERC20TokenEventArgs](#erc20tokeneventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [ERC20TokenEvents](#enumeration-erc20tokenevents) | - | The ERC20Token contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/erc20_token.ts:1132](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1132)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/erc20_token.ts:1138](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1138)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/erc20_token.ts:918](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L918)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:876](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L876)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:851](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L851)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### allowance + +### ▪ **allowance**: *object* + +*Defined in [generated-wrappers/erc20_token.ts:768](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L768)* + +### callAsync + +▸ **callAsync**(`_owner`: string, `_spender`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:777](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L777)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_owner` | string | - | The address of the account owning tokens | +`_spender` | string | - | The address of the account able to transfer the tokens | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amount of remaining tokens allowed to spent + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/erc20_token.ts:842](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L842)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/erc20_token.ts:835](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L835)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string, `_spender`: string): *string* + +*Defined in [generated-wrappers/erc20_token.ts:825](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L825)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | The address of the account owning tokens | +`_spender` | string | The address of the account able to transfer the tokens | + +**Returns:** *string* + +___ + +### approve + +### ▪ **approve**: *object* + +*Defined in [generated-wrappers/erc20_token.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L60)* + +`msg.sender` approves `_spender` to spend `_value` tokens + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc20_token.ts:106](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L106)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | The amount of wei to be approved for transfer | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_spender`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:171](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L171)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_spender` | string | - | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | - | The amount of wei to be approved for transfer | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Always true if the call has enough gas to complete execution + +### estimateGasAsync + +▸ **estimateGasAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L136)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | The amount of wei to be approved for transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/erc20_token.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L236)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/erc20_token.ts:229](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L229)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_spender`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc20_token.ts:219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L219)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | The amount of wei to be approved for transfer | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L69)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | The address of the account able to transfer the tokens | +`_value` | `BigNumber` | The amount of wei to be approved for transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### balanceOf + +### ▪ **balanceOf**: *object* + +*Defined in [generated-wrappers/erc20_token.ts:523](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L523)* + +Query the balance of owner + +### callAsync + +▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:531](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L531)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_owner` | string | - | The address from which the balance will be retrieved | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Balance of owner + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/erc20_token.ts:586](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L586)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/erc20_token.ts:579](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L579)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string): *string* + +*Defined in [generated-wrappers/erc20_token.ts:573](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L573)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | The address from which the balance will be retrieved | + +**Returns:** *string* + +___ + +### totalSupply + +### ▪ **totalSupply**: *object* + +*Defined in [generated-wrappers/erc20_token.ts:247](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L247)* + +Query total supply of token + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L254)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Total supply of token + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/erc20_token.ts:302](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L302)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/erc20_token.ts:295](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L295)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/erc20_token.ts:290](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L290)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### transfer + +### ▪ **transfer**: *object* + +*Defined in [generated-wrappers/erc20_token.ts:597](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L597)* + +send `value` token to `to` from `msg.sender` + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc20_token.ts:640](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L640)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:698](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L698)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_to` | string | - | The address of the recipient | +`_value` | `BigNumber` | - | The amount of token to be transferred | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +True if transfer was successful + +### estimateGasAsync + +▸ **estimateGasAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:670](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L670)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/erc20_token.ts:760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L760)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/erc20_token.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L753)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_to`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc20_token.ts:743](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L743)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:606](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L606)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferFrom + +### ▪ **transferFrom**: *object* + +*Defined in [generated-wrappers/erc20_token.ts:313](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L313)* + +send `value` token to `to` from `from` on the condition it is approved by `from` + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc20_token.ts:364](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L364)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The address of the sender | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:441](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L441)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_from` | string | - | The address of the sender | +`_to` | string | - | The address of the recipient | +`_value` | `BigNumber` | - | The amount of token to be transferred | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +True if transfer was successful + +### estimateGasAsync + +▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:402](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L402)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The address of the sender | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/erc20_token.ts:512](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L512)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/erc20_token.ts:505](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L505)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc20_token.ts:493](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L493)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The address of the sender | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc20_token.ts:323](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L323)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The address of the sender | +`_to` | string | The address of the recipient | +`_value` | `BigNumber` | The amount of token to be transferred | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: ERC721ProxyContract + +## Hierarchy + +* `BaseContract` + + * **ERC721ProxyContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [addAuthorizedAddress](#addauthorizedaddress) +* [authorities](#authorities) +* [authorized](#authorized) +* [getAuthorizedAddresses](#getauthorizedaddresses) +* [getProxyId](#getproxyid) +* [owner](#owner) +* [removeAuthorizedAddress](#removeauthorizedaddress) +* [removeAuthorizedAddressAtIndex](#removeauthorizedaddressatindex) +* [transferOwnership](#transferownership) + +## Constructors + +### constructor + +\+ **new ERC721ProxyContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ERC721ProxyContract](#class-erc721proxycontract)* + +*Overrides void* + +*Defined in [generated-wrappers/erc721_proxy.ts:1350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1350)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[ERC721ProxyContract](#class-erc721proxycontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC721ProxyEvents](#enumeration-erc721proxyevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/erc721_proxy.ts:1334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1334)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[ERC721ProxyEventArgs](#erc721proxyeventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [ERC721ProxyEvents](#enumeration-erc721proxyevents) | The ERC721Proxy contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [ERC721ProxyEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:1292](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1292)* + +Subscribe to an event type emitted by the ERC721Proxy contract. + +**Type parameters:** + +▪ **ArgsType**: *[ERC721ProxyEventArgs](#erc721proxyeventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [ERC721ProxyEvents](#enumeration-erc721proxyevents) | - | The ERC721Proxy contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:1317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1317)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:1323](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1323)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/erc721_proxy.ts:1095](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1095)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:1053](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1053)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:1028](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1028)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### addAuthorizedAddress + +### ▪ **addAuthorizedAddress**: *object* + +*Defined in [generated-wrappers/erc721_proxy.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L60)* + +Authorizes an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc721_proxy.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L96)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:148](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L148)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to authorize. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L123)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:201](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L201)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L194)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:186](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L186)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L68)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### authorities + +### ▪ **authorities**: *object* + +*Defined in [generated-wrappers/erc721_proxy.ts:209](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L209)* + +### callAsync + +▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:215](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L215)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:269](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L269)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:262](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L262)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:256](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L256)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | `BigNumber` | + +**Returns:** *string* + +___ + +### authorized + +### ▪ **authorized**: *object* + +*Defined in [generated-wrappers/erc721_proxy.ts:747](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L747)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L753)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/erc721_proxy.ts:809](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L809)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/erc721_proxy.ts:802](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L802)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:794](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L794)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | + +**Returns:** *string* + +___ + +### getAuthorizedAddresses + +### ▪ **getAuthorizedAddresses**: *object* + +*Defined in [generated-wrappers/erc721_proxy.ts:820](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L820)* + +Gets all authorized addresses. + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:827](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L827)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Array of authorized addresses. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* + +*Defined in [generated-wrappers/erc721_proxy.ts:875](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L875)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string[]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* + +*Defined in [generated-wrappers/erc721_proxy.ts:868](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L868)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string[]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:863](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L863)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### getProxyId + +### ▪ **getProxyId**: *object* + +*Defined in [generated-wrappers/erc721_proxy.ts:684](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L684)* + +Gets the proxy id associated with the proxy address. + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:691](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L691)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Proxy id. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L739)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:732](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L732)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L727)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### owner + +### ▪ **owner**: *object* + +*Defined in [generated-wrappers/erc721_proxy.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L429)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:435](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L435)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:483](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L483)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:476](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L476)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:471](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L471)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### removeAuthorizedAddress + +### ▪ **removeAuthorizedAddress**: *object* + +*Defined in [generated-wrappers/erc721_proxy.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L280)* + +Removes authorizion of an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc721_proxy.ts:316](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L316)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:368](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L368)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to remove authorization from. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L343)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:421](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L421)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:414](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L414)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:406](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L406)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:288](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L288)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### removeAuthorizedAddressAtIndex + +### ▪ **removeAuthorizedAddressAtIndex**: *object* + +*Defined in [generated-wrappers/erc721_proxy.ts:494](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L494)* + +Removes authorizion of an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc721_proxy.ts:540](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L540)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `index`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:608](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L608)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to remove authorization from. | +`index` | `BigNumber` | - | Index of target in authorities array. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:574](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L574)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L673)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:666](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L666)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string, `index`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:656](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L656)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:503](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L503)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferOwnership + +### ▪ **transferOwnership**: *object* + +*Defined in [generated-wrappers/erc721_proxy.ts:883](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L883)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc721_proxy.ts:917](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L917)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:967](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L967)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`newOwner` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L943)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:1019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1019)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc721_proxy.ts:1012](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1012)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:1004](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1004)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`newOwner` | string | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_proxy.ts:890](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L890)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: ERC721TokenContract + +## Hierarchy + +* `BaseContract` + + * **ERC721TokenContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [approve](#approve) +* [balanceOf](#balanceof) +* [getApproved](#getapproved) +* [isApprovedForAll](#isapprovedforall) +* [ownerOf](#ownerof) +* [safeTransferFrom1](#safetransferfrom1) +* [safeTransferFrom2](#safetransferfrom2) +* [setApprovalForAll](#setapprovalforall) +* [transferFrom](#transferfrom) + +## Constructors + +### constructor + +\+ **new ERC721TokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ERC721TokenContract](#class-erc721tokencontract)* + +*Overrides void* + +*Defined in [generated-wrappers/erc721_token.ts:1807](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1807)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[ERC721TokenContract](#class-erc721tokencontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC721TokenEvents](#enumeration-erc721tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/erc721_token.ts:1791](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1791)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[ERC721TokenEventArgs](#erc721tokeneventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [ERC721TokenEvents](#enumeration-erc721tokenevents) | The ERC721Token contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [ERC721TokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/erc721_token.ts:1749](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1749)* + +Subscribe to an event type emitted by the ERC721Token contract. + +**Type parameters:** + +▪ **ArgsType**: *[ERC721TokenEventArgs](#erc721tokeneventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [ERC721TokenEvents](#enumeration-erc721tokenevents) | - | The ERC721Token contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:1774](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1774)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/erc721_token.ts:1780](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1780)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/erc721_token.ts:1480](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1480)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:1438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1438)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:1413](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1413)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### approve + +### ▪ **approve**: *object* + +*Defined in [generated-wrappers/erc721_token.ts:146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L146)* + +The zero address indicates there is no approved address. +Throws unless `msg.sender` is the current NFT owner, or an authorized +operator of the current owner. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc721_token.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L192)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_approved` | string | The new approved NFT controller | +`_tokenId` | `BigNumber` | The NFT to approve | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:256](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L256)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_approved` | string | - | The new approved NFT controller | +`_tokenId` | `BigNumber` | - | The NFT to approve | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L222)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_approved` | string | The new approved NFT controller | +`_tokenId` | `BigNumber` | The NFT to approve | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:321](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L321)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L314)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_approved`: string, `_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc721_token.ts:304](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L304)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_approved` | string | The new approved NFT controller | +`_tokenId` | `BigNumber` | The NFT to approve | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:155](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L155)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_approved` | string | The new approved NFT controller | +`_tokenId` | `BigNumber` | The NFT to approve | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### balanceOf + +### ▪ **balanceOf**: *object* + +*Defined in [generated-wrappers/erc721_token.ts:830](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L830)* + +NFTs assigned to the zero address are considered invalid, and this +function throws for queries about the zero address. + +### callAsync + +▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:838](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L838)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_owner` | string | - | An address for whom to query the balance | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +The number of NFTs owned by `_owner`, possibly zero + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/erc721_token.ts:893](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L893)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/erc721_token.ts:886](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L886)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string): *string* + +*Defined in [generated-wrappers/erc721_token.ts:880](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L880)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | An address for whom to query the balance | + +**Returns:** *string* + +___ + +### getApproved + +### ▪ **getApproved**: *object* + +*Defined in [generated-wrappers/erc721_token.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L70)* + +Throws if `_tokenId` is not a valid NFT. + +### callAsync + +▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:78](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L78)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_tokenId` | `BigNumber` | - | The NFT to find the approved address for | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +The approved address for this NFT, or the zero address if there is none + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/erc721_token.ts:133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L133)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/erc721_token.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L126)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc721_token.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L120)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_tokenId` | `BigNumber` | The NFT to find the approved address for | + +**Returns:** *string* + +___ + +### isApprovedForAll + +### ▪ **isApprovedForAll**: *object* + +*Defined in [generated-wrappers/erc721_token.ts:1330](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1330)* + +### callAsync + +▸ **callAsync**(`_owner`: string, `_operator`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:1339](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1339)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_owner` | string | - | The address that owns the NFTs | +`_operator` | string | - | The address that acts on behalf of the owner | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +True if `_operator` is an approved operator for `_owner`, false otherwise + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/erc721_token.ts:1404](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1404)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/erc721_token.ts:1397](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1397)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string, `_operator`: string): *string* + +*Defined in [generated-wrappers/erc721_token.ts:1387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1387)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_owner` | string | The address that owns the NFTs | +`_operator` | string | The address that acts on behalf of the owner | + +**Returns:** *string* + +___ + +### ownerOf + +### ▪ **ownerOf**: *object* + +*Defined in [generated-wrappers/erc721_token.ts:755](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L755)* + +NFTs assigned to zero address are considered invalid, and queries +about them do throw. + +### callAsync + +▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:763](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L763)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_tokenId` | `BigNumber` | - | The identifier for an NFT | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +The address of the owner of the NFT + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/erc721_token.ts:818](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L818)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/erc721_token.ts:811](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L811)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc721_token.ts:805](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L805)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_tokenId` | `BigNumber` | The identifier for an NFT | + +**Returns:** *string* + +___ + +### safeTransferFrom1 + +### ▪ **safeTransferFrom1**: *object* + +*Defined in [generated-wrappers/erc721_token.ts:545](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L545)* + +This works identically to the other function with an extra data parameter, +except this function just sets data to "". + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc721_token.ts:596](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L596)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:672](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L672)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_from` | string | - | The current owner of the NFT | +`_to` | string | - | The new owner | +`_tokenId` | `BigNumber` | - | The NFT to transfer | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:634](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L634)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:743](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L743)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:736](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L736)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc721_token.ts:724](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L724)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:555](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L555)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### safeTransferFrom2 + +### ▪ **safeTransferFrom2**: *object* + +*Defined in [generated-wrappers/erc721_token.ts:1101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1101)* + +Throws unless `msg.sender` is the current owner, an authorized +operator, or the approved address for this NFT. Throws if `_from` is +not the current owner. Throws if `_to` is the zero address. Throws if +`_tokenId` is not a valid NFT. When transfer is complete, this function +checks if `_to` is a smart contract (code size > 0). If so, it calls +`onERC721Received` on `_to` and throws if the return value is not +`bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc721_token.ts:1163](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1163)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`_data` | string | Additional data with no specified format, sent in call to `_to` | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:1247](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1247)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_from` | string | - | The current owner of the NFT | +`_to` | string | - | The new owner | +`_tokenId` | `BigNumber` | - | The NFT to transfer | +`_data` | string | - | Additional data with no specified format, sent in call to `_to` | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:1205](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1205)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`_data` | string | Additional data with no specified format, sent in call to `_to` | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:1322](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1322)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:1315](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1315)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string): *string* + +*Defined in [generated-wrappers/erc721_token.ts:1303](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1303)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`_data` | string | Additional data with no specified format, sent in call to `_to` | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:1112](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1112)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`_data` | string | Additional data with no specified format, sent in call to `_to` | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### setApprovalForAll + +### ▪ **setApprovalForAll**: *object* + +*Defined in [generated-wrappers/erc721_token.ts:905](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L905)* + +Emits the ApprovalForAll event. The contract MUST allow +multiple operators per owner. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc721_token.ts:951](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L951)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_operator` | string | Address to add to the set of authorized operators | +`_approved` | boolean | True if the operator is approved, false to revoke approval | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_operator`: string, `_approved`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:1019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1019)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_operator` | string | - | Address to add to the set of authorized operators | +`_approved` | boolean | - | True if the operator is approved, false to revoke approval | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:985](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L985)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_operator` | string | Address to add to the set of authorized operators | +`_approved` | boolean | True if the operator is approved, false to revoke approval | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:1084](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1084)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:1077](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1077)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_operator`: string, `_approved`: boolean): *string* + +*Defined in [generated-wrappers/erc721_token.ts:1067](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1067)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_operator` | string | Address to add to the set of authorized operators | +`_approved` | boolean | True if the operator is approved, false to revoke approval | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:914](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L914)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_operator` | string | Address to add to the set of authorized operators | +`_approved` | boolean | True if the operator is approved, false to revoke approval | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferFrom + +### ▪ **transferFrom**: *object* + +*Defined in [generated-wrappers/erc721_token.ts:335](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L335)* + +Throws unless `msg.sender` is the current owner, an authorized +operator, or the approved address for this NFT. Throws if `_from` is +not the current owner. Throws if `_to` is the zero address. Throws if +`_tokenId` is not a valid NFT. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/erc721_token.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L386)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:462](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L462)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_from` | string | - | The current owner of the NFT | +`_to` | string | - | The new owner | +`_tokenId` | `BigNumber` | - | The NFT to transfer | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L424)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:533](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L533)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/erc721_token.ts:526](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L526)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/erc721_token.ts:514](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L514)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/erc721_token.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L345)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | The current owner of the NFT | +`_to` | string | The new owner | +`_tokenId` | `BigNumber` | The NFT to transfer | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: EthBalanceCheckerContract + +## Hierarchy + +* `BaseContract` + + * **EthBalanceCheckerContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [getEthBalances](#getethbalances) + +## Constructors + +### constructor + +\+ **new EthBalanceCheckerContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[EthBalanceCheckerContract](#class-ethbalancecheckercontract)* + +*Overrides void* + +*Defined in [generated-wrappers/eth_balance_checker.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L194)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[EthBalanceCheckerContract](#class-ethbalancecheckercontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/eth_balance_checker.ts:171](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L171)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/eth_balance_checker.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L129)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/eth_balance_checker.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L104)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### getEthBalances + +### ▪ **getEthBalances**: *object* + +*Defined in [generated-wrappers/eth_balance_checker.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L33)* + +Batch fetches ETH balances + +### callAsync + +▸ **callAsync**(`addresses`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/eth_balance_checker.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L41)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`addresses` | string[] | - | Array of addresses. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Array of ETH balances. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`[]* + +*Defined in [generated-wrappers/eth_balance_checker.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L96)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`[]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`[]* + +*Defined in [generated-wrappers/eth_balance_checker.ts:89](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L89)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`[]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`addresses`: string[]): *string* + +*Defined in [generated-wrappers/eth_balance_checker.ts:83](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L83)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`addresses` | string[] | Array of addresses. | + +**Returns:** *string* + +
+ +> # Class: ExchangeContract + +## Hierarchy + +* `BaseContract` + + * **ExchangeContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [EIP712_DOMAIN_HASH](#eip712_domain_hash) +* [VERSION](#version) +* [ZRX_ASSET_DATA](#zrx_asset_data) +* [allowedValidators](#allowedvalidators) +* [assetProxies](#assetproxies) +* [batchCancelOrders](#batchcancelorders) +* [batchFillOrKillOrders](#batchfillorkillorders) +* [batchFillOrders](#batchfillorders) +* [batchFillOrdersNoThrow](#batchfillordersnothrow) +* [cancelOrder](#cancelorder) +* [cancelOrdersUpTo](#cancelordersupto) +* [cancelled](#cancelled) +* [currentContextAddress](#currentcontextaddress) +* [executeTransaction](#executetransaction) +* [fillOrKillOrder](#fillorkillorder) +* [fillOrder](#fillorder) +* [fillOrderNoThrow](#fillordernothrow) +* [filled](#filled) +* [getAssetProxy](#getassetproxy) +* [getOrderInfo](#getorderinfo) +* [getOrdersInfo](#getordersinfo) +* [isValidSignature](#isvalidsignature) +* [marketBuyOrders](#marketbuyorders) +* [marketBuyOrdersNoThrow](#marketbuyordersnothrow) +* [marketSellOrders](#marketsellorders) +* [marketSellOrdersNoThrow](#marketsellordersnothrow) +* [matchOrders](#matchorders) +* [orderEpoch](#orderepoch) +* [owner](#owner) +* [preSign](#presign) +* [preSigned](#presigned) +* [registerAssetProxy](#registerassetproxy) +* [setSignatureValidatorApproval](#setsignaturevalidatorapproval) +* [transactions](#transactions) +* [transferOwnership](#transferownership) + +## Constructors + +### constructor + +\+ **new ExchangeContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ExchangeContract](#class-exchangecontract)* + +*Overrides void* + +*Defined in [generated-wrappers/exchange.ts:8605](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8605)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[ExchangeContract](#class-exchangecontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ExchangeEvents](#enumeration-exchangeevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/exchange.ts:8589](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8589)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[ExchangeEventArgs](#exchangeeventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [ExchangeEvents](#enumeration-exchangeevents) | The Exchange contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [ExchangeEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/exchange.ts:8547](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8547)* + +Subscribe to an event type emitted by the Exchange contract. + +**Type parameters:** + +▪ **ArgsType**: *[ExchangeEventArgs](#exchangeeventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [ExchangeEvents](#enumeration-exchangeevents) | - | The Exchange contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:8572](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8572)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/exchange.ts:8578](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8578)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/exchange.ts:6562](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6562)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_zrxAssetData`: string): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:6515](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6515)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_zrxAssetData` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_zrxAssetData`: string): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:6482](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6482)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_zrxAssetData` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### EIP712_DOMAIN_HASH + +### ▪ **EIP712_DOMAIN_HASH**: *object* + +*Defined in [generated-wrappers/exchange.ts:5836](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5836)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5842](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5842)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:5890](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5890)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:5883](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5883)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/exchange.ts:5878](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5878)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### VERSION + +### ▪ **VERSION**: *object* + +*Defined in [generated-wrappers/exchange.ts:6419](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6419)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:6425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6425)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:6473](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6473)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:6466](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6466)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/exchange.ts:6461](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6461)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### ZRX_ASSET_DATA + +### ▪ **ZRX_ASSET_DATA**: *object* + +*Defined in [generated-wrappers/exchange.ts:5458](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5458)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5464](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5464)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:5512](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5512)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:5505](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5505)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/exchange.ts:5500](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5500)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### allowedValidators + +### ▪ **allowedValidators**: *object* + +*Defined in [generated-wrappers/exchange.ts:3265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3265)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3271](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3271)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`index_1` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:3334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3334)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:3327](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3327)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:3317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3317)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | +`index_1` | string | + +**Returns:** *string* + +___ + +### assetProxies + +### ▪ **assetProxies**: *object* + +*Defined in [generated-wrappers/exchange.ts:1508](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1508)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1514](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1514)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:1564](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1564)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:1557](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1557)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:1551](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1551)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | + +**Returns:** *string* + +___ + +### batchCancelOrders + +### ▪ **batchCancelOrders**: *object* + +*Defined in [generated-wrappers/exchange.ts:1575](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1575)* + +Synchronously cancels multiple orders in a single transaction. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:1630](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1630)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1714](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1714)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1670](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1670)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:1807](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1807)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:1798](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1798)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`): *string* + +*Defined in [generated-wrappers/exchange.ts:1774](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1774)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1583](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1583)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### batchFillOrKillOrders + +### ▪ **batchFillOrKillOrders**: *object* + +*Defined in [generated-wrappers/exchange.ts:1820](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1820)* + +Synchronously executes multiple calls of fillOrKill. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:1885](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1885)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1989](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1989)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | - | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | - | Proofs that orders have been created by makers. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amounts filled and fees paid by makers and taker. NOTE: makerAssetFilledAmount and takerAssetFilledAmount may include amounts filled of different assets. + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1937](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1937)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:2115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2115)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:2094](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2094)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[]): *string* + +*Defined in [generated-wrappers/exchange.ts:2066](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2066)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1831](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1831)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### batchFillOrders + +### ▪ **batchFillOrders**: *object* + +*Defined in [generated-wrappers/exchange.ts:164](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L164)* + +Synchronously executes multiple calls of fillOrder. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:229](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L229)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:333](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L333)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | - | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | - | Proofs that orders have been created by makers. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amounts filled and fees paid by makers and taker. NOTE: makerAssetFilledAmount and takerAssetFilledAmount may include amounts filled of different assets. + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:281](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L281)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:459](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L459)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L438)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[]): *string* + +*Defined in [generated-wrappers/exchange.ts:410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L410)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:175](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L175)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### batchFillOrdersNoThrow + +### ▪ **batchFillOrdersNoThrow**: *object* + +*Defined in [generated-wrappers/exchange.ts:2303](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2303)* + +Fills an order with specified parameters and ECDSA signature. +Returns false if the transaction would otherwise revert. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:2368](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2368)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2472](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2472)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | - | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | - | Proofs that orders have been created by makers. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amounts filled and fees paid by makers and taker. NOTE: makerAssetFilledAmount and takerAssetFilledAmount may include amounts filled of different assets. + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2420](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2420)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:2598](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2598)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:2577](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2577)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[]): *string* + +*Defined in [generated-wrappers/exchange.ts:2549](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2549)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2314)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### cancelOrder + +### ▪ **cancelOrder**: *object* + +*Defined in [generated-wrappers/exchange.ts:5146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5146)* + +After calling, the order can not be filled anymore. +Throws if order is invalid or sender does not have permission to cancel. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`order`: object, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:5200](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5200)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order to cancel. Order must be OrderStatus.FILLABLE. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`order`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5282](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5282)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`order` | object | - | Order to cancel. Order must be OrderStatus.FILLABLE. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`order`: object, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5239](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5239)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order to cancel. Order must be OrderStatus.FILLABLE. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:5371](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5371)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:5362](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5362)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`order`: object): *string* + +*Defined in [generated-wrappers/exchange.ts:5341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5341)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order to cancel. Order must be OrderStatus.FILLABLE. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`order`: object, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5154](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5154)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order to cancel. Order must be OrderStatus.FILLABLE. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### cancelOrdersUpTo + +### ▪ **cancelOrdersUpTo**: *object* + +*Defined in [generated-wrappers/exchange.ts:2141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2141)* + +Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch +and senderAddress equal to msg.sender (or null address if msg.sender == makerAddress). + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:2179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2179)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`targetOrderEpoch`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2233)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`targetOrderEpoch` | `BigNumber` | - | Orders created with a salt less or equal to this value will be cancelled. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2207](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2207)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:2291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2291)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:2284](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2284)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`targetOrderEpoch`: `BigNumber`): *string* + +*Defined in [generated-wrappers/exchange.ts:2276](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2276)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2150](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2150)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### cancelled + +### ▪ **cancelled**: *object* + +*Defined in [generated-wrappers/exchange.ts:481](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L481)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:487](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L487)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:541](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L541)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:534](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L534)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:528](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L528)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | + +**Returns:** *string* + +___ + +### currentContextAddress + +### ▪ **currentContextAddress**: *object* + +*Defined in [generated-wrappers/exchange.ts:6213](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6213)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:6219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6219)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:6267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6267)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:6260](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6260)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/exchange.ts:6255](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6255)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### executeTransaction + +### ▪ **executeTransaction**: *object* + +*Defined in [generated-wrappers/exchange.ts:4636](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4636)* + +Executes an exchange method call in the context of signer. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:4692](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4692)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`salt` | `BigNumber` | Arbitrary number to ensure uniqueness of transaction hash. | +`signerAddress` | string | Address of transaction signer. | +`data` | string | AbiV2 encoded calldata. | +`signature` | string | Proof of signer transaction by signer. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4776](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4776)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`salt` | `BigNumber` | - | Arbitrary number to ensure uniqueness of transaction hash. | +`signerAddress` | string | - | Address of transaction signer. | +`data` | string | - | AbiV2 encoded calldata. | +`signature` | string | - | Proof of signer transaction by signer. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4734](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4734)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`salt` | `BigNumber` | Arbitrary number to ensure uniqueness of transaction hash. | +`signerAddress` | string | Address of transaction signer. | +`data` | string | AbiV2 encoded calldata. | +`signature` | string | Proof of signer transaction by signer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:4851](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4851)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:4844](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4844)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:4832](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4832)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`salt` | `BigNumber` | Arbitrary number to ensure uniqueness of transaction hash. | +`signerAddress` | string | Address of transaction signer. | +`data` | string | AbiV2 encoded calldata. | +`signature` | string | Proof of signer transaction by signer. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4647](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4647)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`salt` | `BigNumber` | Arbitrary number to ensure uniqueness of transaction hash. | +`signerAddress` | string | Address of transaction signer. | +`data` | string | AbiV2 encoded calldata. | +`signature` | string | Proof of signer transaction by signer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### fillOrKillOrder + +### ▪ **fillOrKillOrder**: *object* + +*Defined in [generated-wrappers/exchange.ts:2765](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2765)* + +Fills the input order. Reverts if exact takerAssetFillAmount not filled. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:2827](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2827)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2926](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2926)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`order` | object | - | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | +`signature` | string | - | Proof that order has been created by maker. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2877](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2877)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:3049](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3049)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:3028](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3028)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:3001](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3001)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2775](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2775)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### fillOrder + +### ▪ **fillOrder**: *object* + +*Defined in [generated-wrappers/exchange.ts:4331](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4331)* + +Fills the input order. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:4393](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4393)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4488](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4488)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`order` | object | - | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | +`signature` | string | - | Proof that order has been created by maker. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amounts filled and fees paid by maker and taker. + +### estimateGasAsync + +▸ **estimateGasAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4438)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:4611](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4611)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:4590](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4590)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:4563](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4563)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4341)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### fillOrderNoThrow + +### ▪ **fillOrderNoThrow**: *object* + +*Defined in [generated-wrappers/exchange.ts:1201](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1201)* + +Fills the input order. +Returns false if the transaction would otherwise revert. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:1263](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1263)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1363](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1363)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`order` | object | - | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | +`signature` | string | - | Proof that order has been created by maker. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amounts filled and fees paid by maker and taker. + +### estimateGasAsync + +▸ **estimateGasAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1313](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1313)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:1486](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1486)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:1465](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1465)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:1438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1438)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:1211](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1211)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order struct containing order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signature` | string | Proof that order has been created by maker. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### filled + +### ▪ **filled**: *object* + +*Defined in [generated-wrappers/exchange.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L93)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L99)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/exchange.ts:153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L153)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/exchange.ts:146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L146)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L140)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | + +**Returns:** *string* + +___ + +### getAssetProxy + +### ▪ **getAssetProxy**: *object* + +*Defined in [generated-wrappers/exchange.ts:2623](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2623)* + +Gets an asset proxy. + +### callAsync + +▸ **callAsync**(`assetProxyId`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2631](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2631)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`assetProxyId` | string | - | Id of the asset proxy. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:2686](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2686)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:2679](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2679)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`assetProxyId`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:2673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2673)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxyId` | string | Id of the asset proxy. | + +**Returns:** *string* + +___ + +### getOrderInfo + +### ▪ **getOrderInfo**: *object* + +*Defined in [generated-wrappers/exchange.ts:5019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5019)* + +Gets information about an order: status, hash, and amount filled. + +### callAsync + +▸ **callAsync**(`order`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5027](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5027)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`order` | object | - | Order to gather information on. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +OrderInfo Information about the order and its state. See LibOrder.OrderInfo for a complete description. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:5126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5126)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:5111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5111)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`order`: object): *string* + +*Defined in [generated-wrappers/exchange.ts:5090](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5090)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`order` | object | Order to gather information on. | + +**Returns:** *string* + +___ + +### getOrdersInfo + +### ▪ **getOrdersInfo**: *object* + +*Defined in [generated-wrappers/exchange.ts:3660](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3660)* + +Fetches information for all passed in orders. + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise>`* + +*Defined in [generated-wrappers/exchange.ts:3668](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3668)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise>`* + +Array of OrderInfo instances that correspond to each order. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`Array`* + +*Defined in [generated-wrappers/exchange.ts:3767](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3767)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`Array`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`Array`* + +*Defined in [generated-wrappers/exchange.ts:3754](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3754)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`Array`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`): *string* + +*Defined in [generated-wrappers/exchange.ts:3730](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3730)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | + +**Returns:** *string* + +___ + +### isValidSignature + +### ▪ **isValidSignature**: *object* + +*Defined in [generated-wrappers/exchange.ts:3923](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3923)* + +Verifies that a hash has been signed by the given signer. + +### callAsync + +▸ **callAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3933](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3933)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`hash` | string | - | Any 32 byte hash. | +`signerAddress` | string | - | Address that should have signed the given hash. | +`signature` | string | - | Proof that the hash has been signed by signer. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +True if the address recovered from the provided signature matches the input signer address. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:4004](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4004)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:3997](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3997)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`hash`: string, `signerAddress`: string, `signature`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:3985](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3985)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | Any 32 byte hash. | +`signerAddress` | string | Address that should have signed the given hash. | +`signature` | string | Proof that the hash has been signed by signer. | + +**Returns:** *string* + +___ + +### marketBuyOrders + +### ▪ **marketBuyOrders**: *object* + +*Defined in [generated-wrappers/exchange.ts:5901](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5901)* + +Synchronously executes multiple calls of fillOrder until total amount of makerAsset is bought by taker. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:5964](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5964)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | +`signatures` | string[] | Proofs that orders have been signed by makers. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:6066](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6066)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | - | Desired amount of makerAsset to buy. | +`signatures` | string[] | - | Proofs that orders have been signed by makers. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amounts filled and fees paid by makers and taker. + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:6015](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6015)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | +`signatures` | string[] | Proofs that orders have been signed by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:6191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6191)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:6170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6170)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string* + +*Defined in [generated-wrappers/exchange.ts:6142](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6142)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | +`signatures` | string[] | Proofs that orders have been signed by makers. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5911](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5911)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | +`signatures` | string[] | Proofs that orders have been signed by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### marketBuyOrdersNoThrow + +### ▪ **marketBuyOrdersNoThrow**: *object* + +*Defined in [generated-wrappers/exchange.ts:4016](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4016)* + +Synchronously executes multiple fill orders in a single transaction until total amount is bought by taker. +Returns false if the transaction would otherwise revert. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:4079](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4079)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | +`signatures` | string[] | Proofs that orders have been signed by makers. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4181)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | - | Desired amount of makerAsset to buy. | +`signatures` | string[] | - | Proofs that orders have been signed by makers. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amounts filled and fees paid by makers and taker. + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4130](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4130)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | +`signatures` | string[] | Proofs that orders have been signed by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:4306](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4306)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:4285](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4285)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string* + +*Defined in [generated-wrappers/exchange.ts:4257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4257)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | +`signatures` | string[] | Proofs that orders have been signed by makers. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4026](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4026)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | +`signatures` | string[] | Proofs that orders have been signed by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### marketSellOrders + +### ▪ **marketSellOrders**: *object* + +*Defined in [generated-wrappers/exchange.ts:3345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3345)* + +Synchronously executes multiple calls of fillOrder until total amount of takerAsset is sold by taker. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:3408](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3408)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3510](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3510)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | +`signatures` | string[] | - | Proofs that orders have been created by makers. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amounts filled and fees paid by makers and taker. + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3459](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3459)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:3635](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3635)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:3614](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3614)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string* + +*Defined in [generated-wrappers/exchange.ts:3586](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3586)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signatures` | string[] | Proofs that orders have been created by makers. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3355)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### marketSellOrdersNoThrow + +### ▪ **marketSellOrdersNoThrow**: *object* + +*Defined in [generated-wrappers/exchange.ts:5524](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5524)* + +Synchronously executes multiple calls of fillOrder until total amount of takerAsset is sold by taker. +Returns false if the transaction would otherwise revert. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:5587](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5587)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signatures` | string[] | Proofs that orders have been signed by makers. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5689](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5689)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | +`signatures` | string[] | - | Proofs that orders have been signed by makers. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Amounts filled and fees paid by makers and taker. + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5638](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5638)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signatures` | string[] | Proofs that orders have been signed by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:5814](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5814)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:5793](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5793)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string* + +*Defined in [generated-wrappers/exchange.ts:5765](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5765)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signatures` | string[] | Proofs that orders have been signed by makers. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5534](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5534)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications. | +`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | +`signatures` | string[] | Proofs that orders have been signed by makers. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### matchOrders + +### ▪ **matchOrders**: *object* + +*Defined in [generated-wrappers/exchange.ts:760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L760)* + +Match two complementary orders that have a profitable spread. +Each order is filled at their respective price point. However, the calculations are +carried out as though the orders are both being filled at the right order's price point. +The profit made by the left order goes to the taker (who matched the two orders). + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:838](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L838)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`leftOrder` | object | First order to match. | +`rightOrder` | object | Second order to match. | +`leftSignature` | string | Proof that order was created by the left maker. | +`rightSignature` | string | Proof that order was created by the right maker. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:969](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L969)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`leftOrder` | object | - | First order to match. | +`rightOrder` | object | - | Second order to match. | +`leftSignature` | string | - | Proof that order was created by the left maker. | +`rightSignature` | string | - | Proof that order was created by the right maker. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +matchedFillResults Amounts filled and fees paid by maker and taker of matched orders. + +### estimateGasAsync + +▸ **estimateGasAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:904](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L904)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`leftOrder` | object | First order to match. | +`rightOrder` | object | Second order to match. | +`leftSignature` | string | Proof that order was created by the left maker. | +`rightSignature` | string | Proof that order was created by the right maker. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:1157](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1157)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/exchange.ts:1118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1118)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:1077](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1077)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`leftOrder` | object | First order to match. | +`rightOrder` | object | Second order to match. | +`leftSignature` | string | Proof that order was created by the left maker. | +`rightSignature` | string | Proof that order was created by the right maker. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:771](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L771)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`leftOrder` | object | First order to match. | +`rightOrder` | object | Second order to match. | +`leftSignature` | string | Proof that order was created by the left maker. | +`rightSignature` | string | Proof that order was created by the right maker. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### orderEpoch + +### ▪ **orderEpoch**: *object* + +*Defined in [generated-wrappers/exchange.ts:5381](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5381)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:5387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5387)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`index_1` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/exchange.ts:5450](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5450)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/exchange.ts:5443](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5443)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:5433](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5433)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | +`index_1` | string | + +**Returns:** *string* + +___ + +### owner + +### ▪ **owner**: *object* + +*Defined in [generated-wrappers/exchange.ts:3858](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3858)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3864](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3864)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:3912](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3912)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:3905](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3905)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/exchange.ts:3900](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3900)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### preSign + +### ▪ **preSign**: *object* + +*Defined in [generated-wrappers/exchange.ts:553](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L553)* + +Approves a hash on-chain using any valid signature type. +After presigning a hash, the preSign signature type will become valid for that hash and signer. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:602](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L602)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | - | +`signerAddress` | string | Address that should have signed the given hash. | +`signature` | string | Proof that the hash has been signed by signer. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:676](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L676)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`hash` | string | - | - | +`signerAddress` | string | - | Address that should have signed the given hash. | +`signature` | string | - | Proof that the hash has been signed by signer. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L639)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | - | +`signerAddress` | string | Address that should have signed the given hash. | +`signature` | string | Proof that the hash has been signed by signer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:746](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L746)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L739)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`hash`: string, `signerAddress`: string, `signature`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L727)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | - | +`signerAddress` | string | Address that should have signed the given hash. | +`signature` | string | Proof that the hash has been signed by signer. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:562](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L562)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | - | +`signerAddress` | string | Address that should have signed the given hash. | +`signature` | string | Proof that the hash has been signed by signer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### preSigned + +### ▪ **preSigned**: *object* + +*Defined in [generated-wrappers/exchange.ts:3781](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3781)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3787](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3787)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`index_1` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:3850](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3850)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:3843](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3843)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:3833](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3833)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | +`index_1` | string | + +**Returns:** *string* + +___ + +### registerAssetProxy + +### ▪ **registerAssetProxy**: *object* + +*Defined in [generated-wrappers/exchange.ts:4863](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4863)* + +Registers an asset proxy to its asset proxy id. +Once an asset proxy is registered, it cannot be unregistered. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`assetProxy`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:4899](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4899)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxy` | string | Address of new asset proxy to register. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`assetProxy`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4951](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4951)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`assetProxy` | string | - | Address of new asset proxy to register. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`assetProxy`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4926](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4926)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxy` | string | Address of new asset proxy to register. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:5008](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5008)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:5001](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5001)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`assetProxy`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:4993](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4993)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxy` | string | Address of new asset proxy to register. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`assetProxy`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:4871](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4871)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxy` | string | Address of new asset proxy to register. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### setSignatureValidatorApproval + +### ▪ **setSignatureValidatorApproval**: *object* + +*Defined in [generated-wrappers/exchange.ts:3074](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3074)* + +Approves/unnapproves a Validator contract to verify signatures on signer's behalf. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:3124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3124)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`validatorAddress` | string | Address of Validator contract. | +`approval` | boolean | Approval or disapproval of Validator contract. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`validatorAddress`: string, `approval`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3192)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`validatorAddress` | string | - | Address of Validator contract. | +`approval` | boolean | - | Approval or disapproval of Validator contract. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3158)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`validatorAddress` | string | Address of Validator contract. | +`approval` | boolean | Approval or disapproval of Validator contract. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:3257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3257)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:3250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3250)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`validatorAddress`: string, `approval`: boolean): *string* + +*Defined in [generated-wrappers/exchange.ts:3240](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3240)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`validatorAddress` | string | Address of Validator contract. | +`approval` | boolean | Approval or disapproval of Validator contract. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:3083](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3083)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`validatorAddress` | string | Address of Validator contract. | +`approval` | boolean | Approval or disapproval of Validator contract. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transactions + +### ▪ **transactions**: *object* + +*Defined in [generated-wrappers/exchange.ts:2694](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2694)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:2700](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2700)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:2754](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2754)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/exchange.ts:2747](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2747)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:2741](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2741)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | + +**Returns:** *string* + +___ + +### transferOwnership + +### ▪ **transferOwnership**: *object* + +*Defined in [generated-wrappers/exchange.ts:6275](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6275)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/exchange.ts:6309](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6309)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:6359](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6359)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`newOwner` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:6335](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6335)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:6411](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6411)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/exchange.ts:6404](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6404)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* + +*Defined in [generated-wrappers/exchange.ts:6396](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6396)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`newOwner` | string | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/exchange.ts:6282](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6282)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: ForwarderContract + +## Hierarchy + +* `BaseContract` + + * **ForwarderContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [marketBuyOrdersWithEth](#marketbuyorderswitheth) +* [marketSellOrdersWithEth](#marketsellorderswitheth) +* [owner](#owner) +* [transferOwnership](#transferownership) +* [withdrawAsset](#withdrawasset) + +## Constructors + +### constructor + +\+ **new ForwarderContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ForwarderContract](#class-forwardercontract)* + +*Overrides void* + +*Defined in [generated-wrappers/forwarder.ts:2008](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L2008)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[ForwarderContract](#class-forwardercontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/forwarder.ts:1569](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1569)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string, `_zrxAssetData`: string, `_wethAssetData`: string): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:1520](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1520)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_exchange` | string | +`_zrxAssetData` | string | +`_wethAssetData` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string, `_zrxAssetData`: string, `_wethAssetData`: string): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:1483](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1483)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_exchange` | string | +`_zrxAssetData` | string | +`_wethAssetData` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### marketBuyOrdersWithEth + +### ▪ **marketBuyOrdersWithEth**: *object* + +*Defined in [generated-wrappers/forwarder.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L35)* + +Attempt to purchase makerAssetFillAmount of makerAsset by selling ETH provided with transaction. +Any ZRX required to pay fees for primary orders will automatically be purchased by this contract. +Any ETH not spent will be refunded to sender. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/forwarder.ts:150](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L150)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to purchase. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | Address that will receive ETH when orders are filled. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[object, object]>`* + +*Defined in [generated-wrappers/forwarder.ts:320](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L320)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`makerAssetFillAmount` | `BigNumber` | - | Desired amount of makerAsset to purchase. | +`signatures` | string[] | - | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | - | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | - | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | - | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | - | Address that will receive ETH when orders are filled. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise<[object, object]>`* + +Amounts filled and fees paid by maker and taker for both sets of orders. + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L233)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to purchase. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | Address that will receive ETH when orders are filled. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *[object, object]* + +*Defined in [generated-wrappers/forwarder.ts:548](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L548)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *[object, object]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *[object, object]* + +*Defined in [generated-wrappers/forwarder.ts:509](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L509)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *[object, object]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string): *string* + +*Defined in [generated-wrappers/forwarder.ts:452](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L452)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to purchase. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | Address that will receive ETH when orders are filled. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L52)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to purchase. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | Address that will receive ETH when orders are filled. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### marketSellOrdersWithEth + +### ▪ **marketSellOrdersWithEth**: *object* + +*Defined in [generated-wrappers/forwarder.ts:835](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L835)* + +Purchases as much of orders' makerAssets as possible by selling up to 95% of transaction's ETH value. +Any ZRX required to pay fees for primary orders will automatically be purchased by this contract. +5% of ETH value is reserved for paying fees to order feeRecipients (in ZRX) and forwarding contract feeRecipient (in ETH). +Any ETH not spent will be refunded to sender. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/forwarder.ts:937](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L937)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | Address that will receive ETH when orders are filled. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[object, object]>`* + +*Defined in [generated-wrappers/forwarder.ts:1092](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1092)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`orders` | `Array` | - | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`signatures` | string[] | - | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | - | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | - | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | - | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | - | Address that will receive ETH when orders are filled. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise<[object, object]>`* + +Amounts filled and fees paid by maker and taker for both sets of orders. + +### estimateGasAsync + +▸ **estimateGasAsync**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:1016](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1016)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | Address that will receive ETH when orders are filled. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *[object, object]* + +*Defined in [generated-wrappers/forwarder.ts:1299](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1299)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *[object, object]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *[object, object]* + +*Defined in [generated-wrappers/forwarder.ts:1260](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1260)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *[object, object]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string): *string* + +*Defined in [generated-wrappers/forwarder.ts:1213](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1213)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | Address that will receive ETH when orders are filled. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:851](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L851)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | +`signatures` | string[] | Proofs that orders have been created by makers. | +`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | +`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | +`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | +`feeRecipient` | string | Address that will receive ETH when orders are filled. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### owner + +### ▪ **owner**: *object* + +*Defined in [generated-wrappers/forwarder.ts:767](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L767)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:773](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L773)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/forwarder.ts:821](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L821)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/forwarder.ts:814](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L814)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/forwarder.ts:809](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L809)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### transferOwnership + +### ▪ **transferOwnership**: *object* + +*Defined in [generated-wrappers/forwarder.ts:1339](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1339)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/forwarder.ts:1373](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1373)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:1423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1423)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`newOwner` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:1399](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1399)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/forwarder.ts:1475](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1475)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/forwarder.ts:1468](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1468)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* + +*Defined in [generated-wrappers/forwarder.ts:1460](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1460)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`newOwner` | string | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:1346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1346)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### withdrawAsset + +### ▪ **withdrawAsset**: *object* + +*Defined in [generated-wrappers/forwarder.ts:593](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L593)* + +Withdraws assets from this contract. The contract requires a ZRX balance in order to +function optimally, and this function allows the ZRX to be withdrawn by owner. It may also be +used to withdraw assets that were accidentally sent to this contract. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`assetData`: string, `amount`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/forwarder.ts:636](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L636)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Byte array encoded for the respective asset proxy. | +`amount` | `BigNumber` | Amount of ERC20 token to withdraw. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`assetData`: string, `amount`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:697](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L697)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`assetData` | string | - | Byte array encoded for the respective asset proxy. | +`amount` | `BigNumber` | - | Amount of ERC20 token to withdraw. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`assetData`: string, `amount`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:666](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L666)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Byte array encoded for the respective asset proxy. | +`amount` | `BigNumber` | Amount of ERC20 token to withdraw. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/forwarder.ts:759](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L759)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/forwarder.ts:752](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L752)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`assetData`: string, `amount`: `BigNumber`): *string* + +*Defined in [generated-wrappers/forwarder.ts:742](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L742)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Byte array encoded for the respective asset proxy. | +`amount` | `BigNumber` | Amount of ERC20 token to withdraw. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`assetData`: string, `amount`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/forwarder.ts:602](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L602)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Byte array encoded for the respective asset proxy. | +`amount` | `BigNumber` | Amount of ERC20 token to withdraw. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: IAssetProxyContract + +## Hierarchy + +* `BaseContract` + + * **IAssetProxyContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [addAuthorizedAddress](#addauthorizedaddress) +* [getAuthorizedAddresses](#getauthorizedaddresses) +* [getProxyId](#getproxyid) +* [removeAuthorizedAddress](#removeauthorizedaddress) +* [removeAuthorizedAddressAtIndex](#removeauthorizedaddressatindex) +* [transferFrom](#transferfrom) +* [transferOwnership](#transferownership) + +## Constructors + +### constructor + +\+ **new IAssetProxyContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[IAssetProxyContract](#class-iassetproxycontract)* + +*Overrides void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:1211](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1211)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[IAssetProxyContract](#class-iassetproxycontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:1093](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1093)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:1051](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1051)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:1026](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1026)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### addAuthorizedAddress + +### ▪ **addAuthorizedAddress**: *object* + +*Defined in [generated-wrappers/i_asset_proxy.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L33)* + +Authorizes an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L69)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L121)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to authorize. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L96)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:174](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L174)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:167](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L167)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string): *string* + +*Defined in [generated-wrappers/i_asset_proxy.ts:159](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L159)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L41)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### getAuthorizedAddresses + +### ▪ **getAuthorizedAddresses**: *object* + +*Defined in [generated-wrappers/i_asset_proxy.ts:819](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L819)* + +Gets all authorized addresses. + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:826](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L826)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Array of authorized addresses. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* + +*Defined in [generated-wrappers/i_asset_proxy.ts:874](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L874)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string[]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* + +*Defined in [generated-wrappers/i_asset_proxy.ts:867](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L867)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string[]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/i_asset_proxy.ts:862](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L862)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### getProxyId + +### ▪ **getProxyId**: *object* + +*Defined in [generated-wrappers/i_asset_proxy.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L753)* + +Gets the proxy id associated with the proxy address. + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L760)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Proxy id. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/i_asset_proxy.ts:808](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L808)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/i_asset_proxy.ts:801](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L801)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/i_asset_proxy.ts:796](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L796)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### removeAuthorizedAddress + +### ▪ **removeAuthorizedAddress**: *object* + +*Defined in [generated-wrappers/i_asset_proxy.ts:185](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L185)* + +Removes authorizion of an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:221](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L221)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:273](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L273)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to remove authorization from. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:248](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L248)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:326](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L326)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:319](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L319)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string): *string* + +*Defined in [generated-wrappers/i_asset_proxy.ts:311](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L311)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:193](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L193)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### removeAuthorizedAddressAtIndex + +### ▪ **removeAuthorizedAddressAtIndex**: *object* + +*Defined in [generated-wrappers/i_asset_proxy.ts:337](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L337)* + +Removes authorizion of an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L383)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `index`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:451](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L451)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to remove authorization from. | +`index` | `BigNumber` | - | Index of target in authorities array. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:417](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L417)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:516](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L516)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:509](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L509)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string, `index`: `BigNumber`): *string* + +*Defined in [generated-wrappers/i_asset_proxy.ts:499](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L499)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L346)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferFrom + +### ▪ **transferFrom**: *object* + +*Defined in [generated-wrappers/i_asset_proxy.ts:527](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L527)* + +Transfers assets. Either succeeds or throws. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:583](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L583)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Byte array encoded for the respective asset proxy. | +`from` | string | Address to transfer asset from. | +`to` | string | Address to transfer asset to. | +`amount` | `BigNumber` | Amount of asset to transfer. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:667](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L667)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`assetData` | string | - | Byte array encoded for the respective asset proxy. | +`from` | string | - | Address to transfer asset from. | +`to` | string | - | Address to transfer asset to. | +`amount` | `BigNumber` | - | Amount of asset to transfer. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:625](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L625)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Byte array encoded for the respective asset proxy. | +`from` | string | Address to transfer asset from. | +`to` | string | Address to transfer asset to. | +`amount` | `BigNumber` | Amount of asset to transfer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:742](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L742)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:735](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L735)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`): *string* + +*Defined in [generated-wrappers/i_asset_proxy.ts:723](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L723)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Byte array encoded for the respective asset proxy. | +`from` | string | Address to transfer asset from. | +`to` | string | Address to transfer asset to. | +`amount` | `BigNumber` | Amount of asset to transfer. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:538](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L538)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetData` | string | Byte array encoded for the respective asset proxy. | +`from` | string | Address to transfer asset from. | +`to` | string | Address to transfer asset to. | +`amount` | `BigNumber` | Amount of asset to transfer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferOwnership + +### ▪ **transferOwnership**: *object* + +*Defined in [generated-wrappers/i_asset_proxy.ts:882](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L882)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:916](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L916)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:966](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L966)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`newOwner` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:942](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L942)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:1018](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1018)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/i_asset_proxy.ts:1011](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1011)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* + +*Defined in [generated-wrappers/i_asset_proxy.ts:1003](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1003)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`newOwner` | string | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/i_asset_proxy.ts:889](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L889)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: IValidatorContract + +## Hierarchy + +* `BaseContract` + + * **IValidatorContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [isValidSignature](#isvalidsignature) + +## Constructors + +### constructor + +\+ **new IValidatorContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[IValidatorContract](#class-ivalidatorcontract)* + +*Overrides void* + +*Defined in [generated-wrappers/i_validator.ts:220](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L220)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[IValidatorContract](#class-ivalidatorcontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/i_validator.ts:189](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L189)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/i_validator.ts:147](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L147)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/i_validator.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L122)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### isValidSignature + +### ▪ **isValidSignature**: *object* + +*Defined in [generated-wrappers/i_validator.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L33)* + +Verifies that a signature is valid. + +### callAsync + +▸ **callAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/i_validator.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L43)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`hash` | string | - | Message hash that is signed. | +`signerAddress` | string | - | Address that should have signed the given hash. | +`signature` | string | - | Proof of signing. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Validity of order signature. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/i_validator.ts:114](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L114)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/i_validator.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L107)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`hash`: string, `signerAddress`: string, `signature`: string): *string* + +*Defined in [generated-wrappers/i_validator.ts:95](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L95)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | Message hash that is signed. | +`signerAddress` | string | Address that should have signed the given hash. | +`signature` | string | Proof of signing. | + +**Returns:** *string* + +
+ +> # Class: IWalletContract + +## Hierarchy + +* `BaseContract` + + * **IWalletContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [isValidSignature](#isvalidsignature) + +## Constructors + +### constructor + +\+ **new IWalletContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[IWalletContract](#class-iwalletcontract)* + +*Overrides void* + +*Defined in [generated-wrappers/i_wallet.ts:206](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L206)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[IWalletContract](#class-iwalletcontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/i_wallet.ts:179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L179)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/i_wallet.ts:137](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L137)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/i_wallet.ts:112](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L112)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### isValidSignature + +### ▪ **isValidSignature**: *object* + +*Defined in [generated-wrappers/i_wallet.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L33)* + +Verifies that a signature is valid. + +### callAsync + +▸ **callAsync**(`hash`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/i_wallet.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L42)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`hash` | string | - | Message hash that is signed. | +`signature` | string | - | Proof of signing. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Validity of order signature. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/i_wallet.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L104)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/i_wallet.ts:97](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L97)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`hash`: string, `signature`: string): *string* + +*Defined in [generated-wrappers/i_wallet.ts:87](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L87)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | Message hash that is signed. | +`signature` | string | Proof of signing. | + +**Returns:** *string* + +
+ +> # Class: MultiAssetProxyContract + +## Hierarchy + +* `BaseContract` + + * **MultiAssetProxyContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [addAuthorizedAddress](#addauthorizedaddress) +* [assetProxies](#assetproxies) +* [authorities](#authorities) +* [authorized](#authorized) +* [getAssetProxy](#getassetproxy) +* [getAuthorizedAddresses](#getauthorizedaddresses) +* [getProxyId](#getproxyid) +* [owner](#owner) +* [registerAssetProxy](#registerassetproxy) +* [removeAuthorizedAddress](#removeauthorizedaddress) +* [removeAuthorizedAddressAtIndex](#removeauthorizedaddressatindex) +* [transferOwnership](#transferownership) + +## Constructors + +### constructor + +\+ **new MultiAssetProxyContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[MultiAssetProxyContract](#class-multiassetproxycontract)* + +*Overrides void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1722](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1722)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[MultiAssetProxyContract](#class-multiassetproxycontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [MultiAssetProxyEvents](#enumeration-multiassetproxyevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1706](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1706)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[MultiAssetProxyEventArgs](#multiassetproxyeventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [MultiAssetProxyEvents](#enumeration-multiassetproxyevents) | The MultiAssetProxy contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [MultiAssetProxyEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1664](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1664)* + +Subscribe to an event type emitted by the MultiAssetProxy contract. + +**Type parameters:** + +▪ **ArgsType**: *[MultiAssetProxyEventArgs](#multiassetproxyeventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [MultiAssetProxyEvents](#enumeration-multiassetproxyevents) | - | The MultiAssetProxy contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1689](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1689)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1695](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1695)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1397](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1397)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1355)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1330](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1330)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### addAuthorizedAddress + +### ▪ **addAuthorizedAddress**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:131](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L131)* + +Authorizes an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:167](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L167)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L219)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to authorize. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L194)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:272](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L272)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L265)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L257)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:139](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L139)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to authorize. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### assetProxies + +### ▪ **assetProxies**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L64)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L70)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L120)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:113](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L113)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L107)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | + +**Returns:** *string* + +___ + +### authorities + +### ▪ **authorities**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L280)* + +### callAsync + +▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:286](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L286)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:340](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L340)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:333](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L333)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:327](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L327)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | `BigNumber` | + +**Returns:** *string* + +___ + +### authorized + +### ▪ **authorized**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:892](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L892)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:898](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L898)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:954](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L954)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:947](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L947)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:939](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L939)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | + +**Returns:** *string* + +___ + +### getAssetProxy + +### ▪ **getAssetProxy**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L351)* + +Gets an asset proxy. + +### callAsync + +▸ **callAsync**(`assetProxyId`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:359](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L359)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`assetProxyId` | string | - | Id of the asset proxy. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:414](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L414)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:407](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L407)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`assetProxyId`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:401](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L401)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxyId` | string | Id of the asset proxy. | + +**Returns:** *string* + +___ + +### getAuthorizedAddresses + +### ▪ **getAuthorizedAddresses**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1122)* + +Gets all authorized addresses. + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1129)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Array of authorized addresses. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1177](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1177)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string[]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1170)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string[]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1165)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### getProxyId + +### ▪ **getProxyId**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:829](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L829)* + +Gets the proxy id associated with the proxy address. + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:836](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L836)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +Proxy id. + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:884](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L884)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:877](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L877)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:872](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L872)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### owner + +### ▪ **owner**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:574](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L574)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:580](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L580)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:628](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L628)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:621](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L621)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:616](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L616)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### registerAssetProxy + +### ▪ **registerAssetProxy**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:966](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L966)* + +Registers an asset proxy to its asset proxy id. +Once an asset proxy is registered, it cannot be unregistered. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`assetProxy`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1002](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1002)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxy` | string | Address of new asset proxy to register. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`assetProxy`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1054](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1054)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`assetProxy` | string | - | Address of new asset proxy to register. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`assetProxy`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1029](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1029)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxy` | string | Address of new asset proxy to register. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1111)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1104)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`assetProxy`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1096](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1096)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxy` | string | Address of new asset proxy to register. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`assetProxy`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:974](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L974)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`assetProxy` | string | Address of new asset proxy to register. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### removeAuthorizedAddress + +### ▪ **removeAuthorizedAddress**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L425)* + +Removes authorizion of an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:461](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L461)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:513](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L513)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to remove authorization from. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:488](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L488)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:566](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L566)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:559](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L559)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:551](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L551)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:433](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L433)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### removeAuthorizedAddressAtIndex + +### ▪ **removeAuthorizedAddressAtIndex**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L639)* + +Removes authorizion of an address. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:685](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L685)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`target`: string, `index`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L753)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`target` | string | - | Address to remove authorization from. | +`index` | `BigNumber` | - | Index of target in authorities array. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:719](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L719)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:818](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L818)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:811](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L811)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string, `index`: `BigNumber`): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:801](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L801)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:648](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L648)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`target` | string | Address to remove authorization from. | +`index` | `BigNumber` | Index of target in authorities array. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferOwnership + +### ▪ **transferOwnership**: *object* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1185](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1185)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1219)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1269](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1269)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`newOwner` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1245)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1321](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1321)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1314)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1306](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1306)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`newOwner` | string | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:1192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1192)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`newOwner` | string | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: OrderValidatorContract + +## Hierarchy + +* `BaseContract` + + * **OrderValidatorContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [getBalanceAndAllowance](#getbalanceandallowance) +* [getBalancesAndAllowances](#getbalancesandallowances) +* [getERC721TokenOwner](#geterc721tokenowner) +* [getOrderAndTraderInfo](#getorderandtraderinfo) +* [getOrdersAndTradersInfo](#getordersandtradersinfo) +* [getTraderInfo](#gettraderinfo) +* [getTradersInfo](#gettradersinfo) + +## Constructors + +### constructor + +\+ **new OrderValidatorContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[OrderValidatorContract](#class-ordervalidatorcontract)* + +*Overrides void* + +*Defined in [generated-wrappers/order_validator.ts:1641](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L1641)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[OrderValidatorContract](#class-ordervalidatorcontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/order_validator.ts:1080](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L1080)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string, `_zrxAssetData`: string): *`Promise`* + +*Defined in [generated-wrappers/order_validator.ts:1032](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L1032)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_exchange` | string | +`_zrxAssetData` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string, `_zrxAssetData`: string): *`Promise`* + +*Defined in [generated-wrappers/order_validator.ts:997](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L997)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | +`_exchange` | string | +`_zrxAssetData` | string | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### getBalanceAndAllowance + +### ▪ **getBalanceAndAllowance**: *object* + +*Defined in [generated-wrappers/order_validator.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L224)* + +### callAsync + +▸ **callAsync**(`target`: string, `assetData`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[BigNumber, BigNumber]>`* + +*Defined in [generated-wrappers/order_validator.ts:230](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L230)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`target` | string | - | +`assetData` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise<[BigNumber, BigNumber]>`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *[`BigNumber`, `BigNumber`]* + +*Defined in [generated-wrappers/order_validator.ts:293](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L293)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *[`BigNumber`, `BigNumber`]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *[`BigNumber`, `BigNumber`]* + +*Defined in [generated-wrappers/order_validator.ts:286](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L286)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *[`BigNumber`, `BigNumber`]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string, `assetData`: string): *string* + +*Defined in [generated-wrappers/order_validator.ts:276](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L276)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`target` | string | +`assetData` | string | + +**Returns:** *string* + +___ + +### getBalancesAndAllowances + +### ▪ **getBalancesAndAllowances**: *object* + +*Defined in [generated-wrappers/order_validator.ts:752](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L752)* + +### callAsync + +▸ **callAsync**(`target`: string, `assetData`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[BigNumber[], BigNumber[]]>`* + +*Defined in [generated-wrappers/order_validator.ts:758](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L758)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`target` | string | - | +`assetData` | string[] | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise<[BigNumber[], BigNumber[]]>`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *[`BigNumber`[], `BigNumber`[]]* + +*Defined in [generated-wrappers/order_validator.ts:821](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L821)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *[`BigNumber`[], `BigNumber`[]]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *[`BigNumber`[], `BigNumber`[]]* + +*Defined in [generated-wrappers/order_validator.ts:814](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L814)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *[`BigNumber`[], `BigNumber`[]]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`target`: string, `assetData`: string[]): *string* + +*Defined in [generated-wrappers/order_validator.ts:804](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L804)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`target` | string | +`assetData` | string[] | + +**Returns:** *string* + +___ + +### getERC721TokenOwner + +### ▪ **getERC721TokenOwner**: *object* + +*Defined in [generated-wrappers/order_validator.ts:675](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L675)* + +### callAsync + +▸ **callAsync**(`token`: string, `tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/order_validator.ts:681](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L681)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`token` | string | - | +`tokenId` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/order_validator.ts:744](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L744)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/order_validator.ts:737](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L737)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`token`: string, `tokenId`: `BigNumber`): *string* + +*Defined in [generated-wrappers/order_validator.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L727)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`token` | string | +`tokenId` | `BigNumber` | + +**Returns:** *string* + +___ + +### getOrderAndTraderInfo + +### ▪ **getOrderAndTraderInfo**: *object* + +*Defined in [generated-wrappers/order_validator.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L30)* + +### callAsync + +▸ **callAsync**(`order`: object, `takerAddress`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[object, object]>`* + +*Defined in [generated-wrappers/order_validator.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L36)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`order` | object | - | +`takerAddress` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise<[object, object]>`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *[object, object]* + +*Defined in [generated-wrappers/order_validator.ts:186](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L186)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *[object, object]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *[object, object]* + +*Defined in [generated-wrappers/order_validator.ts:149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L149)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *[object, object]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`order`: object, `takerAddress`: string): *string* + +*Defined in [generated-wrappers/order_validator.ts:124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L124)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`order` | object | +`takerAddress` | string | + +**Returns:** *string* + +___ + +### getOrdersAndTradersInfo + +### ▪ **getOrdersAndTradersInfo**: *object* + +*Defined in [generated-wrappers/order_validator.ts:301](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L301)* + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `takerAddresses`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[Array, Array]>`* + +*Defined in [generated-wrappers/order_validator.ts:307](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L307)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`orders` | `Array` | - | +`takerAddresses` | string[] | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise<[Array, Array]>`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *[`Array`, `Array`]* + +*Defined in [generated-wrappers/order_validator.ts:459](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L459)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *[`Array`, `Array`]* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *[`Array`, `Array`]* + +*Defined in [generated-wrappers/order_validator.ts:422](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L422)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *[`Array`, `Array`]* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAddresses`: string[]): *string* + +*Defined in [generated-wrappers/order_validator.ts:396](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L396)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`orders` | `Array` | +`takerAddresses` | string[] | + +**Returns:** *string* + +___ + +### getTraderInfo + +### ▪ **getTraderInfo**: *object* + +*Defined in [generated-wrappers/order_validator.ts:829](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L829)* + +### callAsync + +▸ **callAsync**(`order`: object, `takerAddress`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/order_validator.ts:835](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L835)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`order` | object | - | +`takerAddress` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *object* + +*Defined in [generated-wrappers/order_validator.ts:967](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L967)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *object* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *object* + +*Defined in [generated-wrappers/order_validator.ts:938](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L938)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *object* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`order`: object, `takerAddress`: string): *string* + +*Defined in [generated-wrappers/order_validator.ts:913](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L913)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`order` | object | +`takerAddress` | string | + +**Returns:** *string* + +___ + +### getTradersInfo + +### ▪ **getTradersInfo**: *object* + +*Defined in [generated-wrappers/order_validator.ts:497](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L497)* + +### callAsync + +▸ **callAsync**(`orders`: `Array`, `takerAddresses`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise>`* + +*Defined in [generated-wrappers/order_validator.ts:503](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L503)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`orders` | `Array` | - | +`takerAddresses` | string[] | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise>`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`Array`* + +*Defined in [generated-wrappers/order_validator.ts:643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L643)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`Array`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`Array`* + +*Defined in [generated-wrappers/order_validator.ts:612](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L612)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`Array`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAddresses`: string[]): *string* + +*Defined in [generated-wrappers/order_validator.ts:586](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L586)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`orders` | `Array` | +`takerAddresses` | string[] | + +**Returns:** *string* + +
+ +> # Class: WETH9Contract + +## Hierarchy + +* `BaseContract` + + * **WETH9Contract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [allowance](#allowance) +* [approve](#approve) +* [balanceOf](#balanceof) +* [decimals](#decimals) +* [deposit](#deposit) +* [name](#name) +* [symbol](#symbol) +* [totalSupply](#totalsupply) +* [transfer](#transfer) +* [transferFrom](#transferfrom) +* [withdraw](#withdraw) + +## Constructors + +### constructor + +\+ **new WETH9Contract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[WETH9Contract](#class-weth9contract)* + +*Overrides void* + +*Defined in [generated-wrappers/weth9.ts:1672](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1672)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[WETH9Contract](#class-weth9contract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [WETH9Events](#enumeration-weth9events), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/weth9.ts:1656](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1656)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[WETH9EventArgs](#weth9eventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [WETH9Events](#enumeration-weth9events) | The WETH9 contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [WETH9Events](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/weth9.ts:1614](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1614)* + +Subscribe to an event type emitted by the WETH9 contract. + +**Type parameters:** + +▪ **ArgsType**: *[WETH9EventArgs](#weth9eventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [WETH9Events](#enumeration-weth9events) | - | The WETH9 contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/weth9.ts:1639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1639)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/weth9.ts:1645](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1645)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/weth9.ts:1317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1317)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:1275](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1275)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:1250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1250)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### allowance + +### ▪ **allowance**: *object* + +*Defined in [generated-wrappers/weth9.ts:1172](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1172)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:1178](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1178)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`index_1` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/weth9.ts:1241](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1241)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/weth9.ts:1234](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1234)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string* + +*Defined in [generated-wrappers/weth9.ts:1224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1224)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | +`index_1` | string | + +**Returns:** *string* + +___ + +### approve + +### ▪ **approve**: *object* + +*Defined in [generated-wrappers/weth9.ts:135](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L135)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/weth9.ts:170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L170)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`guy` | string | - | +`wad` | `BigNumber` | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`guy`: string, `wad`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L223)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`guy` | string | - | +`wad` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:198](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L198)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`guy` | string | - | +`wad` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/weth9.ts:283](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L283)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/weth9.ts:276](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L276)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`guy`: string, `wad`: `BigNumber`): *string* + +*Defined in [generated-wrappers/weth9.ts:266](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L266)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`guy` | string | +`wad` | `BigNumber` | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:142](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L142)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`guy` | string | - | +`wad` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### balanceOf + +### ▪ **balanceOf**: *object* + +*Defined in [generated-wrappers/weth9.ts:748](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L748)* + +### callAsync + +▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:754](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L754)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`index_0` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/weth9.ts:810](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L810)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/weth9.ts:803](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L803)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`index_0`: string): *string* + +*Defined in [generated-wrappers/weth9.ts:795](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L795)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`index_0` | string | + +**Returns:** *string* + +___ + +### decimals + +### ▪ **decimals**: *object* + +*Defined in [generated-wrappers/weth9.ts:686](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L686)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:692](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L692)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *number* + +*Defined in [generated-wrappers/weth9.ts:740](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L740)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *number* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *number* + +*Defined in [generated-wrappers/weth9.ts:733](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L733)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *number* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/weth9.ts:728](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L728)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### deposit + +### ▪ **deposit**: *object* + +*Defined in [generated-wrappers/weth9.ts:1036](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1036)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/weth9.ts:1069](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1069)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:1116](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1116)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:1093](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1093)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/weth9.ts:1164](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1164)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/weth9.ts:1157](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1157)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/weth9.ts:1152](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1152)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:1043](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1043)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### name + +### ▪ **name**: *object* + +*Defined in [generated-wrappers/weth9.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L73)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L79)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/weth9.ts:127](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L127)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/weth9.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L120)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/weth9.ts:115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L115)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### symbol + +### ▪ **symbol**: *object* + +*Defined in [generated-wrappers/weth9.ts:818](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L818)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:824](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L824)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/weth9.ts:872](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L872)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/weth9.ts:865](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L865)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/weth9.ts:860](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L860)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### totalSupply + +### ▪ **totalSupply**: *object* + +*Defined in [generated-wrappers/weth9.ts:291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L291)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:297](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L297)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/weth9.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L345)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/weth9.ts:338](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L338)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/weth9.ts:333](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L333)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### transfer + +### ▪ **transfer**: *object* + +*Defined in [generated-wrappers/weth9.ts:880](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L880)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/weth9.ts:915](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L915)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`dst` | string | - | +`wad` | `BigNumber` | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`dst`: string, `wad`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:968](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L968)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`dst` | string | - | +`wad` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L943)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`dst` | string | - | +`wad` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/weth9.ts:1028](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1028)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/weth9.ts:1021](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1021)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`dst`: string, `wad`: `BigNumber`): *string* + +*Defined in [generated-wrappers/weth9.ts:1011](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1011)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`dst` | string | +`wad` | `BigNumber` | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:887](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L887)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`dst` | string | - | +`wad` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferFrom + +### ▪ **transferFrom**: *object* + +*Defined in [generated-wrappers/weth9.ts:353](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L353)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/weth9.ts:398](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L398)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`src` | string | - | +`dst` | string | - | +`wad` | `BigNumber` | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:468](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L468)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`src` | string | - | +`dst` | string | - | +`wad` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:433](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L433)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`src` | string | - | +`dst` | string | - | +`wad` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/weth9.ts:536](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L536)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/weth9.ts:529](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L529)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`src`: string, `dst`: string, `wad`: `BigNumber`): *string* + +*Defined in [generated-wrappers/weth9.ts:517](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L517)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`src` | string | +`dst` | string | +`wad` | `BigNumber` | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:360](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L360)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`src` | string | - | +`dst` | string | - | +`wad` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### withdraw + +### ▪ **withdraw**: *object* + +*Defined in [generated-wrappers/weth9.ts:544](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L544)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`wad`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/weth9.ts:578](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L578)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`wad` | `BigNumber` | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`wad`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:628](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L628)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`wad` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:604](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L604)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`wad` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *void* + +*Defined in [generated-wrappers/weth9.ts:678](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L678)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *void* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *void* + +*Defined in [generated-wrappers/weth9.ts:671](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L671)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *void* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`wad`: `BigNumber`): *string* + +*Defined in [generated-wrappers/weth9.ts:665](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L665)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`wad` | `BigNumber` | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/weth9.ts:551](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L551)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`wad` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: ZRXTokenContract + +## Hierarchy + +* `BaseContract` + + * **ZRXTokenContract** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [abi](#abi) +* [address](#address) +* [constructorArgs](#constructorargs) +* [contractName](#contractname) + +### Methods + +* [getLogsAsync](#getlogsasync) +* [subscribe](#subscribe) +* [unsubscribe](#unsubscribe) +* [unsubscribeAll](#unsubscribeall) +* [ABI](#static-abi) +* [deployAsync](#static-deployasync) +* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) +* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) + +### Object literals + +* [allowance](#allowance) +* [approve](#approve) +* [balanceOf](#balanceof) +* [decimals](#decimals) +* [name](#name) +* [symbol](#symbol) +* [totalSupply](#totalsupply) +* [transfer](#transfer) +* [transferFrom](#transferfrom) + +## Constructors + +### constructor + +\+ **new ZRXTokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ZRXTokenContract](#class-zrxtokencontract)* + +*Overrides void* + +*Defined in [generated-wrappers/zrx_token.ts:1347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1347)* + +**Parameters:** + +Name | Type | +------ | ------ | +`address` | string | +`supportedProvider` | `SupportedProvider` | +`txDefaults?` | `Partial` | +`logDecodeDependencies?` | undefined \| object | + +**Returns:** *[ZRXTokenContract](#class-zrxtokencontract)* + +## Properties + +### abi + +• **abi**: *`ContractAbi`* + +*Inherited from void* + + + +___ + +### address + +• **address**: *string* + +*Inherited from void* + + + +___ + +### constructorArgs + +• **constructorArgs**: *any[]* + +*Inherited from void* + + + +___ + +### contractName + +• **contractName**: *string* + +*Inherited from void* + + + +## Methods + +### getLogsAsync + +▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ZRXTokenEvents](#enumeration-zrxtokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* + +*Defined in [generated-wrappers/zrx_token.ts:1331](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1331)* + +Gets historical logs without creating a subscription + +**Type parameters:** + +▪ **ArgsType**: *[ZRXTokenEventArgs](#zrxtokeneventargs)* + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`eventName` | [ZRXTokenEvents](#enumeration-zrxtokenevents) | The ZRXToken contract event you would like to subscribe to. | +`blockRange` | `BlockRange` | Block range to get logs from. | +`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | + +**Returns:** *`Promise>>`* + +Array of logs that match the parameters + +___ + +### subscribe + +▸ **subscribe**<**ArgsType**>(`eventName`: [ZRXTokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* + +*Defined in [generated-wrappers/zrx_token.ts:1289](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1289)* + +Subscribe to an event type emitted by the ZRXToken contract. + +**Type parameters:** + +▪ **ArgsType**: *[ZRXTokenEventArgs](#zrxtokeneventargs)* + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`eventName` | [ZRXTokenEvents](#enumeration-zrxtokenevents) | - | The ZRXToken contract event you would like to subscribe to. | +`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | +`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | +`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | +`blockPollingIntervalMs?` | undefined \| number | - | - | + +**Returns:** *string* + +Subscription token used later to unsubscribe + +___ + +### unsubscribe + +▸ **unsubscribe**(`subscriptionToken`: string): *void* + +*Defined in [generated-wrappers/zrx_token.ts:1314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1314)* + +Cancel a subscription + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`subscriptionToken` | string | Subscription token returned by `subscribe()` | + +**Returns:** *void* + +___ + +### unsubscribeAll + +▸ **unsubscribeAll**(): *void* + +*Defined in [generated-wrappers/zrx_token.ts:1320](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1320)* + +Cancels all existing subscriptions + +**Returns:** *void* + +___ + +### `Static` ABI + +▸ **ABI**(): *`ContractAbi`* + +*Defined in [generated-wrappers/zrx_token.ts:1061](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1061)* + +**Returns:** *`ContractAbi`* + +The contract ABI + +___ + +### `Static` deployAsync + +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:1019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1019)* + +**Parameters:** + +Name | Type | +------ | ------ | +`bytecode` | string | +`abi` | `ContractAbi` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` deployFrom0xArtifactAsync + +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:994](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L994)* + +**Parameters:** + +Name | Type | +------ | ------ | +`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | +`supportedProvider` | `SupportedProvider` | +`txDefaults` | `Partial` | +`logDecodeDependencies` | object | + +**Returns:** *`Promise`* + +___ + +### `Static` strictArgumentEncodingCheck + +▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* + +*Inherited from void* + + + +**Parameters:** + +Name | Type | +------ | ------ | +`inputAbi` | `DataItem`[] | +`args` | any[] | + +**Returns:** *string* + +## Object literals + +### allowance + +### ▪ **allowance**: *object* + +*Defined in [generated-wrappers/zrx_token.ts:916](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L916)* + +### callAsync + +▸ **callAsync**(`_owner`: string, `_spender`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:922](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L922)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`_owner` | string | - | +`_spender` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/zrx_token.ts:985](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L985)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/zrx_token.ts:978](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L978)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string, `_spender`: string): *string* + +*Defined in [generated-wrappers/zrx_token.ts:968](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L968)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`_owner` | string | +`_spender` | string | + +**Returns:** *string* + +___ + +### approve + +### ▪ **approve**: *object* + +*Defined in [generated-wrappers/zrx_token.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L119)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/zrx_token.ts:161](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L161)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | - | +`_value` | `BigNumber` | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_spender`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:221](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L221)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`_spender` | string | - | +`_value` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:189](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L189)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | - | +`_value` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/zrx_token.ts:284](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L284)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/zrx_token.ts:277](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L277)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_spender`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/zrx_token.ts:267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L267)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`_spender` | string | +`_value` | `BigNumber` | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L126)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_spender` | string | - | +`_value` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### balanceOf + +### ▪ **balanceOf**: *object* + +*Defined in [generated-wrappers/zrx_token.ts:626](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L626)* + +### callAsync + +▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:632](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L632)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`_owner` | string | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/zrx_token.ts:686](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L686)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/zrx_token.ts:679](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L679)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_owner`: string): *string* + +*Defined in [generated-wrappers/zrx_token.ts:673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L673)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`_owner` | string | + +**Returns:** *string* + +___ + +### decimals + +### ▪ **decimals**: *object* + +*Defined in [generated-wrappers/zrx_token.ts:564](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L564)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:570](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L570)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *number* + +*Defined in [generated-wrappers/zrx_token.ts:618](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L618)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *number* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *number* + +*Defined in [generated-wrappers/zrx_token.ts:611](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L611)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *number* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/zrx_token.ts:606](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L606)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### name + +### ▪ **name**: *object* + +*Defined in [generated-wrappers/zrx_token.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L57)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L63)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/zrx_token.ts:111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L111)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/zrx_token.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L104)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/zrx_token.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L99)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### symbol + +### ▪ **symbol**: *object* + +*Defined in [generated-wrappers/zrx_token.ts:694](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L694)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:700](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L700)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *string* + +*Defined in [generated-wrappers/zrx_token.ts:748](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L748)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *string* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *string* + +*Defined in [generated-wrappers/zrx_token.ts:741](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L741)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *string* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/zrx_token.ts:736](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L736)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### totalSupply + +### ▪ **totalSupply**: *object* + +*Defined in [generated-wrappers/zrx_token.ts:292](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L292)* + +### callAsync + +▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:298](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L298)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/zrx_token.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L346)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *`BigNumber`* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* + +*Defined in [generated-wrappers/zrx_token.ts:339](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L339)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *`BigNumber`* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(): *string* + +*Defined in [generated-wrappers/zrx_token.ts:334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L334)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Returns:** *string* + +___ + +### transfer + +### ▪ **transfer**: *object* + +*Defined in [generated-wrappers/zrx_token.ts:756](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L756)* + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/zrx_token.ts:795](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L795)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | - | +`_value` | `BigNumber` | - | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:848](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L848)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`_to` | string | - | +`_value` | `BigNumber` | - | +`callData` | `Partial` | {} | +`defaultBlock?` | `BlockParam` | - | + +**Returns:** *`Promise`* + +### estimateGasAsync + +▸ **estimateGasAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:823](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L823)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | - | +`_value` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/zrx_token.ts:908](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L908)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/zrx_token.ts:901](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L901)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_to`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/zrx_token.ts:891](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L891)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | +------ | ------ | +`_to` | string | +`_value` | `BigNumber` | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:763](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L763)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_to` | string | - | +`_value` | `BigNumber` | - | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +___ + +### transferFrom + +### ▪ **transferFrom**: *object* + +*Defined in [generated-wrappers/zrx_token.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L357)* + +ERC20 transferFrom, modified such that an allowance of MAX_UINT represents an unlimited allowance. + +### awaitTransactionSuccessAsync + +▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* + +*Defined in [generated-wrappers/zrx_token.ts:408](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L408)* + +Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. +If the transaction was mined, but reverted, an error is thrown. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | Address to transfer from. | +`_to` | string | Address to transfer to. | +`_value` | `BigNumber` | Amount to transfer. | +`txData?` | `Partial` | Additional data for transaction | +`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | +`timeoutMs?` | undefined \| number | - | + +**Returns:** *`PromiseWithTransactionHash`* + +A promise that resolves when the transaction is successful + +### callAsync + +▸ **callAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:485](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L485)* + +Sends a read-only call to the contract method. Returns the result that would happen if one were to send an +Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas +since they don't modify state. + +**Parameters:** + +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`_from` | string | - | Address to transfer from. | +`_to` | string | - | Address to transfer to. | +`_value` | `BigNumber` | - | Amount to transfer. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | + +**Returns:** *`Promise`* + +Success of transfer. + +### estimateGasAsync + +▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:446](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L446)* + +Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | Address to transfer from. | +`_to` | string | Address to transfer to. | +`_value` | `BigNumber` | Amount to transfer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +### getABIDecodedReturnData + +▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* + +*Defined in [generated-wrappers/zrx_token.ts:556](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L556)* + +**Parameters:** + +Name | Type | +------ | ------ | +`returnData` | string | + +**Returns:** *boolean* + +### getABIDecodedTransactionData + +▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* + +*Defined in [generated-wrappers/zrx_token.ts:549](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L549)* + +**Parameters:** + +Name | Type | +------ | ------ | +`callData` | string | + +**Returns:** *boolean* + +### getABIEncodedTransactionData + +▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_value`: `BigNumber`): *string* + +*Defined in [generated-wrappers/zrx_token.ts:537](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L537)* + +Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before +sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used +to create a 0x transaction (see protocol spec for more details). + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | Address to transfer from. | +`_to` | string | Address to transfer to. | +`_value` | `BigNumber` | Amount to transfer. | + +**Returns:** *string* + +### sendTransactionAsync + +▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* + +*Defined in [generated-wrappers/zrx_token.ts:367](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L367)* + +Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write +Ethereum operation and will cost gas. + +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`_from` | string | Address to transfer from. | +`_to` | string | Address to transfer to. | +`_value` | `BigNumber` | Amount to transfer. | +`txData?` | `Partial` \| undefined | Additional data for transaction | + +**Returns:** *`Promise`* + +The hash of the transaction + +
+ +> # Class: CoordinatorServerError + +## Hierarchy + +* `Error` + + * **CoordinatorServerError** + +## Index + +### Constructors + +* [constructor](#constructor) + +### Properties + +* [approvedOrders](#optional-approvedorders) +* [cancellations](#optional-cancellations) +* [errors](#errors) +* [message](#message) +* [name](#name) +* [stack](#optional-stack) +* [Error](#static-error) + +## Constructors + +### constructor + +\+ **new CoordinatorServerError**(`message`: [CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg), `approvedOrders`: `SignedOrder`[], `cancellations`: [CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[], `errors`: [CoordinatorServerResponse](#interface-coordinatorserverresponse)[]): *[CoordinatorServerError](#class-coordinatorservererror)* + +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* + +**Parameters:** + +Name | Type | +------ | ------ | +`message` | [CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg) | +`approvedOrders` | `SignedOrder`[] | +`cancellations` | [CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[] | +`errors` | [CoordinatorServerResponse](#interface-coordinatorserverresponse)[] | + +**Returns:** *[CoordinatorServerError](#class-coordinatorservererror)* + +## Properties + +### `Optional` approvedOrders + +• **approvedOrders**? : *`SignedOrder`[]* = [] + +*Defined in [utils/coordinator_server_types.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L41)* + +___ + +### `Optional` cancellations + +• **cancellations**? : *[CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[]* = [] + +*Defined in [utils/coordinator_server_types.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L42)* + +___ + +### errors + +• **errors**: *[CoordinatorServerResponse](#interface-coordinatorserverresponse)[]* + +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* + +___ + +### message + +• **message**: *[CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg)* + +*Overrides void* + +*Defined in [utils/coordinator_server_types.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L40)* + +___ + +### name + +• **name**: *string* + +*Inherited from void* + + + +___ + +### `Optional` stack + +• **stack**? : *undefined | string* + +*Inherited from void* + +*Overrides void* + + + +___ + +### `Static` Error + +▪ **Error**: *`ErrorConstructor`* + + + +
+ +> # Enumeration: AssetProxyOwnerEvents + +## Index + +### Enumeration members + +* [AssetProxyRegistration](#assetproxyregistration) +* [Confirmation](#confirmation) +* [ConfirmationTimeSet](#confirmationtimeset) +* [Deposit](#deposit) +* [Execution](#execution) +* [ExecutionFailure](#executionfailure) +* [OwnerAddition](#owneraddition) +* [OwnerRemoval](#ownerremoval) +* [RequirementChange](#requirementchange) +* [Revocation](#revocation) +* [Submission](#submission) +* [TimeLockChange](#timelockchange) + +## Enumeration members + +### AssetProxyRegistration + +• **AssetProxyRegistration**: = "AssetProxyRegistration" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L49)* + +___ + +### Confirmation + +• **Confirmation**: = "Confirmation" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L52)* + +___ + +### ConfirmationTimeSet + +• **ConfirmationTimeSet**: = "ConfirmationTimeSet" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L50)* + +___ + +### Deposit + +• **Deposit**: = "Deposit" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L57)* + +___ + +### Execution + +• **Execution**: = "Execution" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L55)* + +___ + +### ExecutionFailure + +• **ExecutionFailure**: = "ExecutionFailure" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L56)* + +___ + +### OwnerAddition + +• **OwnerAddition**: = "OwnerAddition" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L58)* + +___ + +### OwnerRemoval + +• **OwnerRemoval**: = "OwnerRemoval" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L59)* + +___ + +### RequirementChange + +• **RequirementChange**: = "RequirementChange" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L60)* + +___ + +### Revocation + +• **Revocation**: = "Revocation" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L53)* + +___ + +### Submission + +• **Submission**: = "Submission" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L54)* + +___ + +### TimeLockChange + +• **TimeLockChange**: = "TimeLockChange" + +*Defined in [generated-wrappers/asset_proxy_owner.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L51)* + +
+ +> # Enumeration: CoordinatorRegistryEvents + +## Index + +### Enumeration members + +* [CoordinatorEndpointSet](#coordinatorendpointset) + +## Enumeration members + +### CoordinatorEndpointSet + +• **CoordinatorEndpointSet**: = "CoordinatorEndpointSet" + +*Defined in [generated-wrappers/coordinator_registry.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L37)* + +
+ +> # Enumeration: DummyERC20TokenEvents + +## Index + +### Enumeration members + +* [Approval](#approval) +* [Transfer](#transfer) + +## Enumeration members + +### Approval + +• **Approval**: = "Approval" + +*Defined in [generated-wrappers/dummy_erc20_token.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L38)* + +___ + +### Transfer + +• **Transfer**: = "Transfer" + +*Defined in [generated-wrappers/dummy_erc20_token.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L37)* + +
+ +> # Enumeration: DummyERC721TokenEvents + +## Index + +### Enumeration members + +* [Approval](#approval) +* [ApprovalForAll](#approvalforall) +* [Transfer](#transfer) + +## Enumeration members + +### Approval + +• **Approval**: = "Approval" + +*Defined in [generated-wrappers/dummy_erc721_token.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L41)* + +___ + +### ApprovalForAll + +• **ApprovalForAll**: = "ApprovalForAll" + +*Defined in [generated-wrappers/dummy_erc721_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L42)* + +___ + +### Transfer + +• **Transfer**: = "Transfer" + +*Defined in [generated-wrappers/dummy_erc721_token.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L40)* + +
+ +> # Enumeration: ERC20ProxyEvents + +## Index + +### Enumeration members + +* [AuthorizedAddressAdded](#authorizedaddressadded) +* [AuthorizedAddressRemoved](#authorizedaddressremoved) + +## Enumeration members + +### AuthorizedAddressAdded + +• **AuthorizedAddressAdded**: = "AuthorizedAddressAdded" + +*Defined in [generated-wrappers/erc20_proxy.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L39)* + +___ + +### AuthorizedAddressRemoved + +• **AuthorizedAddressRemoved**: = "AuthorizedAddressRemoved" + +*Defined in [generated-wrappers/erc20_proxy.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L40)* + +
+ +> # Enumeration: ERC20TokenEvents + +## Index + +### Enumeration members + +* [Approval](#approval) +* [Transfer](#transfer) + +## Enumeration members + +### Approval + +• **Approval**: = "Approval" + +*Defined in [generated-wrappers/erc20_token.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L38)* + +___ + +### Transfer + +• **Transfer**: = "Transfer" + +*Defined in [generated-wrappers/erc20_token.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L37)* + +
+ +> # Enumeration: ERC721ProxyEvents + +## Index + +### Enumeration members + +* [AuthorizedAddressAdded](#authorizedaddressadded) +* [AuthorizedAddressRemoved](#authorizedaddressremoved) + +## Enumeration members + +### AuthorizedAddressAdded + +• **AuthorizedAddressAdded**: = "AuthorizedAddressAdded" + +*Defined in [generated-wrappers/erc721_proxy.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L39)* + +___ + +### AuthorizedAddressRemoved + +• **AuthorizedAddressRemoved**: = "AuthorizedAddressRemoved" + +*Defined in [generated-wrappers/erc721_proxy.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L40)* + +
+ +> # Enumeration: ERC721TokenEvents + +## Index + +### Enumeration members + +* [Approval](#approval) +* [ApprovalForAll](#approvalforall) +* [Transfer](#transfer) + +## Enumeration members + +### Approval + +• **Approval**: = "Approval" + +*Defined in [generated-wrappers/erc721_token.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L41)* + +___ + +### ApprovalForAll + +• **ApprovalForAll**: = "ApprovalForAll" + +*Defined in [generated-wrappers/erc721_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L42)* + +___ + +### Transfer + +• **Transfer**: = "Transfer" + +*Defined in [generated-wrappers/erc721_token.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L40)* + +
+ +> # Enumeration: ExchangeEvents + +## Index + +### Enumeration members + +* [AssetProxyRegistered](#assetproxyregistered) +* [Cancel](#cancel) +* [CancelUpTo](#cancelupto) +* [Fill](#fill) +* [SignatureValidatorApproval](#signaturevalidatorapproval) + +## Enumeration members + +### AssetProxyRegistered + +• **AssetProxyRegistered**: = "AssetProxyRegistered" + +*Defined in [generated-wrappers/exchange.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L46)* + +___ + +### Cancel + +• **Cancel**: = "Cancel" + +*Defined in [generated-wrappers/exchange.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L44)* + +___ + +### CancelUpTo + +• **CancelUpTo**: = "CancelUpTo" + +*Defined in [generated-wrappers/exchange.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L45)* + +___ + +### Fill + +• **Fill**: = "Fill" + +*Defined in [generated-wrappers/exchange.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L43)* + +___ + +### SignatureValidatorApproval + +• **SignatureValidatorApproval**: = "SignatureValidatorApproval" + +*Defined in [generated-wrappers/exchange.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L42)* + +
+ +> # Enumeration: MultiAssetProxyEvents + +## Index + +### Enumeration members + +* [AssetProxyRegistered](#assetproxyregistered) +* [AuthorizedAddressAdded](#authorizedaddressadded) +* [AuthorizedAddressRemoved](#authorizedaddressremoved) + +## Enumeration members + +### AssetProxyRegistered + +• **AssetProxyRegistered**: = "AssetProxyRegistered" + +*Defined in [generated-wrappers/multi_asset_proxy.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L42)* + +___ + +### AuthorizedAddressAdded + +• **AuthorizedAddressAdded**: = "AuthorizedAddressAdded" + +*Defined in [generated-wrappers/multi_asset_proxy.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L40)* + +___ + +### AuthorizedAddressRemoved + +• **AuthorizedAddressRemoved**: = "AuthorizedAddressRemoved" + +*Defined in [generated-wrappers/multi_asset_proxy.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L41)* + +
+ +> # Enumeration: WETH9Events + +## Index + +### Enumeration members + +* [Approval](#approval) +* [Deposit](#deposit) +* [Transfer](#transfer) +* [Withdrawal](#withdrawal) + +## Enumeration members + +### Approval + +• **Approval**: = "Approval" + +*Defined in [generated-wrappers/weth9.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L41)* + +___ + +### Deposit + +• **Deposit**: = "Deposit" + +*Defined in [generated-wrappers/weth9.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L43)* + +___ + +### Transfer + +• **Transfer**: = "Transfer" + +*Defined in [generated-wrappers/weth9.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L42)* + +___ + +### Withdrawal + +• **Withdrawal**: = "Withdrawal" + +*Defined in [generated-wrappers/weth9.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L44)* + +
+ +> # Enumeration: ZRXTokenEvents + +## Index + +### Enumeration members + +* [Approval](#approval) +* [Transfer](#transfer) + +## Enumeration members + +### Approval + +• **Approval**: = "Approval" + +*Defined in [generated-wrappers/zrx_token.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L38)* + +___ + +### Transfer + +• **Transfer**: = "Transfer" + +*Defined in [generated-wrappers/zrx_token.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L37)* + +
+ +> # Enumeration: OrderStatus + +## Index + +### Enumeration members + +* [Cancelled](#cancelled) +* [Expired](#expired) +* [Fillable](#fillable) +* [FullyFilled](#fullyfilled) +* [Invalid](#invalid) +* [InvalidMakerAssetAmount](#invalidmakerassetamount) +* [InvalidTakerAssetAmount](#invalidtakerassetamount) + +## Enumeration members + +### Cancelled + +• **Cancelled**: + +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L72)* + +___ + +### Expired + +• **Expired**: + +*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L70)* + +___ + +### Fillable + +• **Fillable**: + +*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L69)* + +___ + +### FullyFilled + +• **FullyFilled**: + +*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L71)* + +___ + +### Invalid + +• **Invalid**: = 0 + +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L66)* + +___ + +### InvalidMakerAssetAmount + +• **InvalidMakerAssetAmount**: + +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L67)* + +___ + +### InvalidTakerAssetAmount + +• **InvalidTakerAssetAmount**: + +*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L68)* + +
+ +> # Enumeration: CoordinatorServerErrorMsg + +## Index + +### Enumeration members + +* [CancellationFailed](#cancellationfailed) +* [FillFailed](#fillfailed) + +## Enumeration members + +### CancellationFailed + +• **CancellationFailed**: = "Failed to cancel with some coordinator server(s). See errors for more info. See cancellations for successful cancellations." + +*Defined in [utils/coordinator_server_types.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L59)* + +___ + +### FillFailed + +• **FillFailed**: = "Failed to obtain approval signatures from some coordinator server(s). See errors for more info. Current transaction has been abandoned but you may resubmit with only approvedOrders (a new ZeroEx transaction will have to be signed)." + +*Defined in [utils/coordinator_server_types.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L60)* + +
+ +> # Enumeration: ContractWrappersError + +## Index + +### Enumeration members + +* [ContractNotDeployedOnNetwork](#contractnotdeployedonnetwork) +* [ERC721NoApproval](#erc721noapproval) +* [ERC721OwnerNotFound](#erc721ownernotfound) +* [InsufficientAllowanceForTransfer](#insufficientallowancefortransfer) +* [InsufficientBalanceForTransfer](#insufficientbalancefortransfer) +* [InsufficientEthBalanceForDeposit](#insufficientethbalancefordeposit) +* [InsufficientWEthBalanceForWithdrawal](#insufficientwethbalanceforwithdrawal) +* [InvalidJump](#invalidjump) +* [OutOfGas](#outofgas) +* [SignatureRequestDenied](#signaturerequestdenied) +* [SubscriptionAlreadyPresent](#subscriptionalreadypresent) +* [SubscriptionNotFound](#subscriptionnotfound) + +## Enumeration members + +### ContractNotDeployedOnNetwork + +• **ContractNotDeployedOnNetwork**: = "CONTRACT_NOT_DEPLOYED_ON_NETWORK" + +*Defined in [utils/decorators.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L4)* + +___ + +### ERC721NoApproval + +• **ERC721NoApproval**: = "ERC_721_NO_APPROVAL" + +*Defined in [utils/decorators.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L14)* + +___ + +### ERC721OwnerNotFound + +• **ERC721OwnerNotFound**: = "ERC_721_OWNER_NOT_FOUND" + +*Defined in [utils/decorators.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L13)* + +___ + +### InsufficientAllowanceForTransfer + +• **InsufficientAllowanceForTransfer**: = "INSUFFICIENT_ALLOWANCE_FOR_TRANSFER" + +*Defined in [utils/decorators.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L5)* + +___ + +### InsufficientBalanceForTransfer + +• **InsufficientBalanceForTransfer**: = "INSUFFICIENT_BALANCE_FOR_TRANSFER" + +*Defined in [utils/decorators.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L6)* + +___ + +### InsufficientEthBalanceForDeposit + +• **InsufficientEthBalanceForDeposit**: = "INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT" + +*Defined in [utils/decorators.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L7)* + +___ + +### InsufficientWEthBalanceForWithdrawal + +• **InsufficientWEthBalanceForWithdrawal**: = "INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL" + +*Defined in [utils/decorators.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L8)* + +___ + +### InvalidJump + +• **InvalidJump**: = "INVALID_JUMP" + +*Defined in [utils/decorators.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L9)* + +___ + +### OutOfGas + +• **OutOfGas**: = "OUT_OF_GAS" + +*Defined in [utils/decorators.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L10)* + +___ + +### SignatureRequestDenied + +• **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" + +*Defined in [utils/decorators.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L15)* + +___ + +### SubscriptionAlreadyPresent + +• **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" + +*Defined in [utils/decorators.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L12)* + +___ + +### SubscriptionNotFound + +• **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" + +*Defined in [utils/decorators.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L11)* + +
+ +> # Interface: AssetProxyOwnerAssetProxyRegistrationEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerAssetProxyRegistrationEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [assetProxyContract](#assetproxycontract) +* [isRegistered](#isregistered) + +## Properties + +### assetProxyContract + +• **assetProxyContract**: *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L64)* + +___ + +### isRegistered + +• **isRegistered**: *boolean* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L65)* + +
+ +> # Interface: AssetProxyOwnerConfirmationEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerConfirmationEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [sender](#sender) +* [transactionId](#transactionid) + +## Properties + +### sender + +• **sender**: *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:78](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L78)* + +___ + +### transactionId + +• **transactionId**: *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L79)* + +
+ +> # Interface: AssetProxyOwnerConfirmationTimeSetEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerConfirmationTimeSetEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [confirmationTime](#confirmationtime) +* [transactionId](#transactionid) + +## Properties + +### confirmationTime + +• **confirmationTime**: *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L70)* + +___ + +### transactionId + +• **transactionId**: *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L69)* + +
+ +> # Interface: AssetProxyOwnerDepositEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerDepositEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [sender](#sender) +* [value](#value) + +## Properties + +### sender + +• **sender**: *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:100](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L100)* + +___ + +### value + +• **value**: *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L101)* + +
+ +> # Interface: AssetProxyOwnerExecutionEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerExecutionEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [transactionId](#transactionid) + +## Properties + +### transactionId + +• **transactionId**: *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L92)* + +
+ +> # Interface: AssetProxyOwnerExecutionFailureEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerExecutionFailureEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [transactionId](#transactionid) + +## Properties + +### transactionId + +• **transactionId**: *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L96)* + +
+ +> # Interface: AssetProxyOwnerOwnerAdditionEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerOwnerAdditionEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [owner](#owner) + +## Properties + +### owner + +• **owner**: *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:105](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L105)* + +
+ +> # Interface: AssetProxyOwnerOwnerRemovalEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerOwnerRemovalEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [owner](#owner) + +## Properties + +### owner + +• **owner**: *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:109](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L109)* + +
+ +> # Interface: AssetProxyOwnerRequirementChangeEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerRequirementChangeEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [required](#required) + +## Properties + +### required + +• **required**: *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:113](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L113)* + +
+ +> # Interface: AssetProxyOwnerRevocationEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerRevocationEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [sender](#sender) +* [transactionId](#transactionid) + +## Properties + +### sender + +• **sender**: *string* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:83](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L83)* + +___ + +### transactionId + +• **transactionId**: *`BigNumber`* + +*Defined in [generated-wrappers/asset_proxy_owner.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L84)* + +
+ +> # Interface: AssetProxyOwnerSubmissionEventArgs + +## Hierarchy + +* `DecodedLogArgs` + + * **AssetProxyOwnerSubmissionEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index + +### Properties + +* [transactionId](#transactionid) + +## Properties -**Returns:** *`Promise`* +### transactionId -Transaction hash. +• **transactionId**: *`BigNumber`* -
+*Defined in [generated-wrappers/asset_proxy_owner.ts:88](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L88)* -> # Class: OrderValidatorWrapper +
-This class includes the functionality related to interacting with the OrderValidator contract. +> # Interface: AssetProxyOwnerTimeLockChangeEventArgs ## Hierarchy -* **OrderValidatorWrapper** +* `DecodedLogArgs` -## Index + * **AssetProxyOwnerTimeLockChangeEventArgs** -### Constructors +## Indexable -* [constructor](#constructor) +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index ### Properties -* [abi](#abi) -* [address](#address) +* [secondsTimeLocked](#secondstimelocked) -### Methods +## Properties -* [getBalanceAndAllowanceAsync](#getbalanceandallowanceasync) -* [getBalancesAndAllowancesAsync](#getbalancesandallowancesasync) -* [getERC721TokenOwnerAsync](#geterc721tokenownerasync) -* [getOrderAndTraderInfoAsync](#getorderandtraderinfoasync) -* [getOrdersAndTradersInfoAsync](#getordersandtradersinfoasync) -* [getTraderInfoAsync](#gettraderinfoasync) -* [getTradersInfoAsync](#gettradersinfoasync) +### secondsTimeLocked -## Constructors +• **secondsTimeLocked**: *`BigNumber`* -### constructor +*Defined in [generated-wrappers/asset_proxy_owner.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L74)* -\+ **new OrderValidatorWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string): *[OrderValidatorWrapper](#class-ordervalidatorwrapper)* +
-*Defined in [contract_wrappers/order_validator_wrapper.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L21)* +> # Interface: CoordinatorRegistryCoordinatorEndpointSetEventArgs -Instantiate OrderValidatorWrapper +## Hierarchy -**Parameters:** +* `DecodedLogArgs` -Name | Type | Description | ------- | ------ | ------ | -`web3Wrapper` | `Web3Wrapper` | Web3Wrapper instance to use. | -`networkId` | number | Desired networkId. | -`address?` | undefined \| string | The address of the OrderValidator contract. If undefined, will default to the known address corresponding to the networkId. | + * **CoordinatorRegistryCoordinatorEndpointSetEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` + +## Index -**Returns:** *[OrderValidatorWrapper](#class-ordervalidatorwrapper)* +### Properties + +* [coordinatorEndpoint](#coordinatorendpoint) +* [coordinatorOperator](#coordinatoroperator) ## Properties -### abi +### coordinatorEndpoint -• **abi**: *`ContractAbi`* = OrderValidator.compilerOutput.abi +• **coordinatorEndpoint**: *string* -*Defined in [contract_wrappers/order_validator_wrapper.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L18)* +*Defined in [generated-wrappers/coordinator_registry.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L42)* ___ -### address +### coordinatorOperator -• **address**: *string* +• **coordinatorOperator**: *string* -*Defined in [contract_wrappers/order_validator_wrapper.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L19)* +*Defined in [generated-wrappers/coordinator_registry.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L41)* -## Methods +
-### getBalanceAndAllowanceAsync +> # Interface: DummyERC20TokenApprovalEventArgs -▸ **getBalanceAndAllowanceAsync**(`address`: string, `assetData`: string): *`Promise`* +## Hierarchy -*Defined in [contract_wrappers/order_validator_wrapper.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L120)* +* `DecodedLogArgs` -Get an object conforming to BalanceAndAllowance containing on-chain balance and allowance for some address and assetData + * **DummyERC20TokenApprovalEventArgs** -**Parameters:** +## Indexable -Name | Type | Description | ------- | ------ | ------ | -`address` | string | An ethereum address | -`assetData` | string | An encoded string that can be decoded by a specified proxy contract | +● \[▪ **argName**: *string*\]: `ContractEventArg` -**Returns:** *`Promise`* +## Index -BalanceAndAllowance +### Properties -___ +* [_owner](#_owner) +* [_spender](#_spender) +* [_value](#_value) -### getBalancesAndAllowancesAsync +## Properties -▸ **getBalancesAndAllowancesAsync**(`address`: string, `assetDatas`: string[]): *`Promise`* +### _owner -*Defined in [contract_wrappers/order_validator_wrapper.ts:139](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L139)* +• **_owner**: *string* -Get an array of objects conforming to BalanceAndAllowance containing on-chain balance and allowance for some address and array of assetDatas +*Defined in [generated-wrappers/dummy_erc20_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L48)* -**Parameters:** +___ -Name | Type | Description | ------- | ------ | ------ | -`address` | string | An ethereum address | -`assetDatas` | string[] | An array of encoded strings that can be decoded by a specified proxy contract | +### _spender -**Returns:** *`Promise`* +• **_spender**: *string* -BalanceAndAllowance +*Defined in [generated-wrappers/dummy_erc20_token.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L49)* ___ -### getERC721TokenOwnerAsync +### _value -▸ **getERC721TokenOwnerAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`): *`Promise`* +• **_value**: *`BigNumber`* -*Defined in [contract_wrappers/order_validator_wrapper.ts:163](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L163)* +*Defined in [generated-wrappers/dummy_erc20_token.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L50)* -Get owner address of tokenId by calling `token.ownerOf(tokenId)`, but returns a null owner instead of reverting on an unowned token. +
-**Parameters:** +> # Interface: DummyERC20TokenTransferEventArgs -Name | Type | Description | ------- | ------ | ------ | -`tokenAddress` | string | An ethereum address | -`tokenId` | `BigNumber` | An ERC721 tokenId | +## Hierarchy -**Returns:** *`Promise`* +* `DecodedLogArgs` -Owner of tokenId or null address if unowned + * **DummyERC20TokenTransferEventArgs** -___ +## Indexable -### getOrderAndTraderInfoAsync +● \[▪ **argName**: *string*\]: `ContractEventArg` -▸ **getOrderAndTraderInfoAsync**(`order`: `SignedOrder`, `takerAddress`: string): *`Promise`* +## Index -*Defined in [contract_wrappers/order_validator_wrapper.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L44)* +### Properties -Get an object conforming to OrderAndTraderInfo containing on-chain information of the provided order and address +* [_from](#_from) +* [_to](#_to) +* [_value](#_value) -**Parameters:** +## Properties -Name | Type | Description | ------- | ------ | ------ | -`order` | `SignedOrder` | An object conforming to SignedOrder | -`takerAddress` | string | An ethereum address | +### _from -**Returns:** *`Promise`* +• **_from**: *string* -OrderAndTraderInfo +*Defined in [generated-wrappers/dummy_erc20_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L42)* ___ -### getOrdersAndTradersInfoAsync +### _to -▸ **getOrdersAndTradersInfoAsync**(`orders`: `SignedOrder`[], `takerAddresses`: string[]): *`Promise`* +• **_to**: *string* -*Defined in [contract_wrappers/order_validator_wrapper.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L63)* +*Defined in [generated-wrappers/dummy_erc20_token.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L43)* -Get an array of objects conforming to OrderAndTraderInfo containing on-chain information of the provided orders and addresses +___ -**Parameters:** +### _value -Name | Type | Description | ------- | ------ | ------ | -`orders` | `SignedOrder`[] | An array of objects conforming to SignedOrder | -`takerAddresses` | string[] | An array of ethereum addresses | +• **_value**: *`BigNumber`* -**Returns:** *`Promise`* +*Defined in [generated-wrappers/dummy_erc20_token.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L44)* -array of OrderAndTraderInfo +
-___ +> # Interface: DummyERC721TokenApprovalEventArgs + +## Hierarchy -### getTraderInfoAsync +* `DecodedLogArgs` -▸ **getTraderInfoAsync**(`order`: `SignedOrder`, `takerAddress`: string): *`Promise`* + * **DummyERC721TokenApprovalEventArgs** -*Defined in [contract_wrappers/order_validator_wrapper.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L93)* +## Indexable -Get an object conforming to TraderInfo containing on-chain balance and allowances for maker and taker of order +● \[▪ **argName**: *string*\]: `ContractEventArg` -**Parameters:** +## Index -Name | Type | Description | ------- | ------ | ------ | -`order` | `SignedOrder` | An object conforming to SignedOrder | -`takerAddress` | string | An ethereum address | +### Properties -**Returns:** *`Promise`* +* [_approved](#_approved) +* [_owner](#_owner) +* [_tokenId](#_tokenid) -TraderInfo +## Properties -___ +### _approved -### getTradersInfoAsync +• **_approved**: *string* -▸ **getTradersInfoAsync**(`orders`: `SignedOrder`[], `takerAddresses`: string[]): *`Promise`* +*Defined in [generated-wrappers/dummy_erc721_token.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L53)* -*Defined in [contract_wrappers/order_validator_wrapper.ts:105](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/contract_wrappers/order_validator_wrapper.ts#L105)* +___ -Get an array of objects conforming to TraderInfo containing on-chain balance and allowances for maker and taker of order +### _owner -**Parameters:** +• **_owner**: *string* -Name | Type | Description | ------- | ------ | ------ | -`orders` | `SignedOrder`[] | An array of objects conforming to SignedOrder | -`takerAddresses` | string[] | An array of ethereum addresses | +*Defined in [generated-wrappers/dummy_erc721_token.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L52)* -**Returns:** *`Promise`* +___ + +### _tokenId -array of TraderInfo +• **_tokenId**: *`BigNumber`* + +*Defined in [generated-wrappers/dummy_erc721_token.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L54)*
-> # Class: AssetBalanceAndProxyAllowanceFetcher +> # Interface: DummyERC721TokenApprovalForAllEventArgs ## Hierarchy -* **AssetBalanceAndProxyAllowanceFetcher** +* `DecodedLogArgs` + + * **DummyERC721TokenApprovalForAllEventArgs** -## Implements +## Indexable -* `AbstractBalanceAndProxyAllowanceFetcher` +● \[▪ **argName**: *string*\]: `ContractEventArg` ## Index -### Constructors +### Properties -* [constructor](#constructor) +* [_approved](#_approved) +* [_operator](#_operator) +* [_owner](#_owner) -### Methods +## Properties -* [getBalanceAsync](#getbalanceasync) -* [getProxyAllowanceAsync](#getproxyallowanceasync) +### _approved -## Constructors +• **_approved**: *boolean* -### constructor +*Defined in [generated-wrappers/dummy_erc721_token.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L60)* -\+ **new AssetBalanceAndProxyAllowanceFetcher**(`erc20Token`: [ERC20TokenWrapper](#class-assetbalanceandproxyallowancefetcher)* +___ -*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L12)* +### _operator -**Parameters:** +• **_operator**: *string* -Name | Type | ------- | ------ | -`erc20Token` | [ERC20TokenWrapper](#class-erc20tokenwrapper) | -`erc721Token` | [ERC721TokenWrapper](#class-erc721tokenwrapper) | -`stateLayer` | `BlockParamLiteral` | +*Defined in [generated-wrappers/dummy_erc721_token.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L59)* -**Returns:** *[AssetBalanceAndProxyAllowanceFetcher](#class-assetbalanceandproxyallowancefetcher)* +___ -## Methods +### _owner -### getBalanceAsync +• **_owner**: *string* -▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* +*Defined in [generated-wrappers/dummy_erc721_token.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L58)* -*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L18)* +
-**Parameters:** +> # Interface: DummyERC721TokenTransferEventArgs -Name | Type | ------- | ------ | -`assetData` | string | -`userAddress` | string | +## Hierarchy -**Returns:** *`Promise`* +* `DecodedLogArgs` -___ + * **DummyERC721TokenTransferEventArgs** -### getProxyAllowanceAsync +## Indexable -▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* +● \[▪ **argName**: *string*\]: `ContractEventArg` -*Defined in [fetchers/asset_balance_and_proxy_allowance_fetcher.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/asset_balance_and_proxy_allowance_fetcher.ts#L49)* +## Index -**Parameters:** +### Properties -Name | Type | ------- | ------ | -`assetData` | string | -`userAddress` | string | +* [_from](#_from) +* [_to](#_to) +* [_tokenId](#_tokenid) -**Returns:** *`Promise`* +## Properties -
+### _from -> # Class: OrderFilledCancelledFetcher +• **_from**: *string* -## Hierarchy +*Defined in [generated-wrappers/dummy_erc721_token.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L46)* -* **OrderFilledCancelledFetcher** +___ -## Implements +### _to -* `AbstractOrderFilledCancelledFetcher` +• **_to**: *string* -## Index +*Defined in [generated-wrappers/dummy_erc721_token.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L47)* -### Constructors +___ -* [constructor](#constructor) +### _tokenId -### Methods +• **_tokenId**: *`BigNumber`* -* [getFilledTakerAmountAsync](#getfilledtakeramountasync) -* [getZRXAssetData](#getzrxassetdata) -* [isOrderCancelledAsync](#isordercancelledasync) +*Defined in [generated-wrappers/dummy_erc721_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L48)* -## Constructors +
-### constructor +> # Interface: ERC20ProxyAuthorizedAddressAddedEventArgs -\+ **new OrderFilledCancelledFetcher**(`exchange`: [ExchangeWrapper](#class-orderfilledcancelledfetcher)* +## Hierarchy -*Defined in [fetchers/order_filled_cancelled_fetcher.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L11)* +* `DecodedLogArgs` -**Parameters:** + * **ERC20ProxyAuthorizedAddressAddedEventArgs** -Name | Type | ------- | ------ | -`exchange` | [ExchangeWrapper](#class-exchangewrapper) | -`stateLayer` | `BlockParamLiteral` | +## Indexable -**Returns:** *[OrderFilledCancelledFetcher](#class-orderfilledcancelledfetcher)* +● \[▪ **argName**: *string*\]: `ContractEventArg` -## Methods +## Index -### getFilledTakerAmountAsync +### Properties -▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* +* [caller](#caller) +* [target](#target) -*Defined in [fetchers/order_filled_cancelled_fetcher.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L16)* +## Properties -**Parameters:** +### caller -Name | Type | ------- | ------ | -`orderHash` | string | +• **caller**: *string* -**Returns:** *`Promise`* +*Defined in [generated-wrappers/erc20_proxy.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L45)* ___ -### getZRXAssetData +### target -▸ **getZRXAssetData**(): *string* +• **target**: *string* -*Defined in [fetchers/order_filled_cancelled_fetcher.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L35)* +*Defined in [generated-wrappers/erc20_proxy.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L44)* -**Returns:** *string* +
-___ +> # Interface: ERC20ProxyAuthorizedAddressRemovedEventArgs -### isOrderCancelledAsync +## Hierarchy -▸ **isOrderCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* +* `DecodedLogArgs` -*Defined in [fetchers/order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/fetchers/order_filled_cancelled_fetcher.ts#L22)* + * **ERC20ProxyAuthorizedAddressRemovedEventArgs** -**Parameters:** +## Indexable -Name | Type | ------- | ------ | -`signedOrder` | `SignedOrder` | +● \[▪ **argName**: *string*\]: `ContractEventArg` -**Returns:** *`Promise`* +## Index -
+### Properties -> # Class: CoordinatorServerError +* [caller](#caller) +* [target](#target) -## Hierarchy +## Properties -* `Error` +### caller - * **CoordinatorServerError** +• **caller**: *string* -## Index +*Defined in [generated-wrappers/erc20_proxy.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L50)* -### Constructors +___ -* [constructor](#constructor) +### target -### Properties +• **target**: *string* -* [approvedOrders](#optional-approvedorders) -* [cancellations](#optional-cancellations) -* [errors](#errors) -* [message](#message) -* [name](#name) -* [stack](#optional-stack) -* [Error](#static-error) +*Defined in [generated-wrappers/erc20_proxy.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L49)* -## Constructors +
-### constructor +> # Interface: ERC20TokenApprovalEventArgs + +## Hierarchy -\+ **new CoordinatorServerError**(`message`: [CoordinatorServerErrorMsg](#class-coordinatorservererror)* +* `DecodedLogArgs` -*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* + * **ERC20TokenApprovalEventArgs** -**Parameters:** +## Indexable -Name | Type | ------- | ------ | -`message` | [CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg) | -`approvedOrders` | `SignedOrder`[] | -`cancellations` | [CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[] | -`errors` | [CoordinatorServerResponse](#interface-coordinatorserverresponse)[] | +● \[▪ **argName**: *string*\]: `ContractEventArg` -**Returns:** *[CoordinatorServerError](#class-coordinatorservererror)* +## Index + +### Properties + +* [_owner](#_owner) +* [_spender](#_spender) +* [_value](#_value) ## Properties -### `Optional` approvedOrders +### _owner -• **approvedOrders**? : *`SignedOrder`[]* = [] +• **_owner**: *string* -*Defined in [utils/coordinator_server_types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L41)* +*Defined in [generated-wrappers/erc20_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L48)* ___ -### `Optional` cancellations +### _spender -• **cancellations**? : *[CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[]* = [] +• **_spender**: *string* -*Defined in [utils/coordinator_server_types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L42)* +*Defined in [generated-wrappers/erc20_token.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L49)* ___ -### errors +### _value -• **errors**: *[CoordinatorServerResponse](#interface-coordinatorserverresponse)[]* +• **_value**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* +*Defined in [generated-wrappers/erc20_token.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L50)* -___ +
-### message +> # Interface: ERC20TokenTransferEventArgs -• **message**: *[CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg)* +## Hierarchy -*Overrides void* +* `DecodedLogArgs` -*Defined in [utils/coordinator_server_types.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L40)* + * **ERC20TokenTransferEventArgs** -___ +## Indexable -### name +● \[▪ **argName**: *string*\]: `ContractEventArg` -• **name**: *string* +## Index -*Inherited from void* +### Properties -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973 +* [_from](#_from) +* [_to](#_to) +* [_value](#_value) -___ +## Properties -### `Optional` stack +### _from -• **stack**? : *undefined | string* +• **_from**: *string* -*Inherited from void* +*Defined in [generated-wrappers/erc20_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L42)* -*Overrides void* +___ -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975 +### _to + +• **_to**: *string* + +*Defined in [generated-wrappers/erc20_token.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L43)* ___ -### `Static` Error +### _value -▪ **Error**: *`ErrorConstructor`* +• **_value**: *`BigNumber`* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984 +*Defined in [generated-wrappers/erc20_token.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L44)*
-> # Class: TransactionEncoder - -Transaction Encoder. Transaction messages exist for the purpose of calling methods on the Exchange contract -in the context of another address. For example, UserA can encode and sign a fillOrder transaction and UserB -can submit this to the blockchain. The Exchange context executes as if UserA had directly submitted this transaction. +> # Interface: ERC721ProxyAuthorizedAddressAddedEventArgs ## Hierarchy -* **TransactionEncoder** +* `DecodedLogArgs` + + * **ERC721ProxyAuthorizedAddressAddedEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` ## Index -### Constructors +### Properties -* [constructor](#constructor) +* [caller](#caller) +* [target](#target) -### Methods +## Properties -* [batchCancelOrdersTx](#batchcancelorderstx) -* [batchFillOrKillOrdersTx](#batchfillorkillorderstx) -* [batchFillOrdersNoThrowTx](#batchfillordersnothrowtx) -* [batchFillOrdersTx](#batchfillorderstx) -* [cancelOrderTx](#cancelordertx) -* [cancelOrdersUpToTx](#cancelordersuptotx) -* [fillOrKillOrderTx](#fillorkillordertx) -* [fillOrderNoThrowTx](#fillordernothrowtx) -* [fillOrderTx](#fillordertx) -* [getTransactionHashHex](#gettransactionhashhex) -* [marketBuyOrdersNoThrowTx](#marketbuyordersnothrowtx) -* [marketBuyOrdersTx](#marketbuyorderstx) -* [marketSellOrdersNoThrowTx](#marketsellordersnothrowtx) -* [marketSellOrdersTx](#marketsellorderstx) -* [matchOrdersTx](#matchorderstx) -* [preSignTx](#presigntx) -* [setSignatureValidatorApprovalTx](#setsignaturevalidatorapprovaltx) +### caller -## Constructors +• **caller**: *string* -### constructor +*Defined in [generated-wrappers/erc721_proxy.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L45)* -\+ **new TransactionEncoder**(`exchangeInstance`: `ExchangeContract`): *[TransactionEncoder](#class-transactionencoder)* +___ -*Defined in [utils/transaction_encoder.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L17)* +### target -**Parameters:** +• **target**: *string* -Name | Type | ------- | ------ | -`exchangeInstance` | `ExchangeContract` | +*Defined in [generated-wrappers/erc721_proxy.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L44)* -**Returns:** *[TransactionEncoder](#class-transactionencoder)* +
-## Methods +> # Interface: ERC721ProxyAuthorizedAddressRemovedEventArgs + +## Hierarchy -### batchCancelOrdersTx +* `DecodedLogArgs` -▸ **batchCancelOrdersTx**(`signedOrders`: `SignedOrder`[]): *string* + * **ERC721ProxyAuthorizedAddressRemovedEventArgs** -*Defined in [utils/transaction_encoder.ts:149](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L149)* +## Indexable -Encodes a batchCancelOrders transaction. +● \[▪ **argName**: *string*\]: `ContractEventArg` -**Parameters:** +## Index -Name | Type | Description | ------- | ------ | ------ | -`signedOrders` | `SignedOrder`[] | An array of orders to cancel. | +### Properties -**Returns:** *string* +* [caller](#caller) +* [target](#target) + +## Properties + +### caller + +• **caller**: *string* + +*Defined in [generated-wrappers/erc721_proxy.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L50)* + +___ + +### target + +• **target**: *string* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/erc721_proxy.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L49)* -___ +
-### batchFillOrKillOrdersTx +> # Interface: ERC721TokenApprovalEventArgs -▸ **batchFillOrKillOrdersTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[]): *string* +## Hierarchy -*Defined in [utils/transaction_encoder.ts:112](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L112)* +* `DecodedLogArgs` -Encodes a batchFillOrKillOrders transaction. + * **ERC721TokenApprovalEventArgs** -**Parameters:** +## Indexable -Name | Type | Description | ------- | ------ | ------ | -`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | -`takerAssetFillAmounts` | `BigNumber`[] | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | +● \[▪ **argName**: *string*\]: `ContractEventArg` -**Returns:** *string* +## Index -Hex encoded abi of the function call. +### Properties -___ +* [_approved](#_approved) +* [_owner](#_owner) +* [_tokenId](#_tokenid) -### batchFillOrdersNoThrowTx +## Properties -▸ **batchFillOrdersNoThrowTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[]): *string* +### _approved -*Defined in [utils/transaction_encoder.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L131)* +• **_approved**: *string* -Encodes a batchFillOrdersNoThrow transaction. +*Defined in [generated-wrappers/erc721_token.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L53)* -**Parameters:** +___ -Name | Type | Description | ------- | ------ | ------ | -`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | -`takerAssetFillAmounts` | `BigNumber`[] | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | +### _owner -**Returns:** *string* +• **_owner**: *string* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/erc721_token.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L52)* ___ -### batchFillOrdersTx +### _tokenId -▸ **batchFillOrdersTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[]): *string* +• **_tokenId**: *`BigNumber`* -*Defined in [utils/transaction_encoder.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L93)* +*Defined in [generated-wrappers/erc721_token.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L54)* -Encodes a batchFillOrders transaction. +
-**Parameters:** +> # Interface: ERC721TokenApprovalForAllEventArgs -Name | Type | Description | ------- | ------ | ------ | -`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | -`takerAssetFillAmounts` | `BigNumber`[] | The amounts of the orders (in taker asset baseUnits) that you wish to fill. | +## Hierarchy -**Returns:** *string* +* `DecodedLogArgs` -Hex encoded abi of the function call. + * **ERC721TokenApprovalForAllEventArgs** -___ +## Indexable -### cancelOrderTx +● \[▪ **argName**: *string*\]: `ContractEventArg` -▸ **cancelOrderTx**(`order`: `Order` | `SignedOrder`): *string* +## Index -*Defined in [utils/transaction_encoder.ts:171](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L171)* +### Properties -Encodes a cancelOrder transaction. +* [_approved](#_approved) +* [_operator](#_operator) +* [_owner](#_owner) -**Parameters:** +## Properties -Name | Type | Description | ------- | ------ | ------ | -`order` | `Order` \| `SignedOrder` | An object that conforms to the Order or SignedOrder interface. The order you would like to cancel. | +### _approved -**Returns:** *string* +• **_approved**: *boolean* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/erc721_token.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L60)* ___ -### cancelOrdersUpToTx - -▸ **cancelOrdersUpToTx**(`targetOrderEpoch`: `BigNumber`): *string* +### _operator -*Defined in [utils/transaction_encoder.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L159)* +• **_operator**: *string* -Encodes a cancelOrdersUpTo transaction. +*Defined in [generated-wrappers/erc721_token.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L59)* -**Parameters:** +___ -Name | Type | Description | ------- | ------ | ------ | -`targetOrderEpoch` | `BigNumber` | Target order epoch. | +### _owner -**Returns:** *string* +• **_owner**: *string* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/erc721_token.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L58)* -___ +
-### fillOrKillOrderTx +> # Interface: ERC721TokenTransferEventArgs -▸ **fillOrKillOrderTx**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`): *string* +## Hierarchy -*Defined in [utils/transaction_encoder.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L77)* +* `DecodedLogArgs` -Encodes a fillOrKillOrder transaction. + * **ERC721TokenTransferEventArgs** -**Parameters:** +## Indexable -Name | Type | Description | ------- | ------ | ------ | -`signedOrder` | `SignedOrder` | An object that conforms to the SignedOrder interface. | -`takerAssetFillAmount` | `BigNumber` | The amount of the order (in taker asset baseUnits) that you wish to fill. | +● \[▪ **argName**: *string*\]: `ContractEventArg` -**Returns:** *string* +## Index -Hex encoded abi of the function call. +### Properties -___ +* [_from](#_from) +* [_to](#_to) +* [_tokenId](#_tokenid) -### fillOrderNoThrowTx +## Properties -▸ **fillOrderNoThrowTx**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`): *string* +### _from -*Defined in [utils/transaction_encoder.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L61)* +• **_from**: *string* -Encodes a fillOrderNoThrow transaction. +*Defined in [generated-wrappers/erc721_token.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L46)* -**Parameters:** +___ -Name | Type | Description | ------- | ------ | ------ | -`signedOrder` | `SignedOrder` | An object that conforms to the SignedOrder interface. | -`takerAssetFillAmount` | `BigNumber` | The amount of the order (in taker asset baseUnits) that you wish to fill. | +### _to -**Returns:** *string* +• **_to**: *string* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/erc721_token.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L47)* ___ -### fillOrderTx +### _tokenId -▸ **fillOrderTx**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`): *string* +• **_tokenId**: *`BigNumber`* -*Defined in [utils/transaction_encoder.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L45)* +*Defined in [generated-wrappers/erc721_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L48)* -Encodes a fillOrder transaction. +
-**Parameters:** +> # Interface: ExchangeAssetProxyRegisteredEventArgs -Name | Type | Description | ------- | ------ | ------ | -`signedOrder` | `SignedOrder` | An object that conforms to the SignedOrder interface. | -`takerAssetFillAmount` | `BigNumber` | The amount of the order (in taker asset baseUnits) that you wish to fill. | +## Hierarchy -**Returns:** *string* +* `DecodedLogArgs` -Hex encoded abi of the function call. + * **ExchangeAssetProxyRegisteredEventArgs** -___ +## Indexable -### getTransactionHashHex +● \[▪ **argName**: *string*\]: `ContractEventArg` -▸ **getTransactionHashHex**(`data`: string, `salt`: `BigNumber`, `signerAddress`: string): *string* +## Index -*Defined in [utils/transaction_encoder.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L28)* +### Properties -Hashes the transaction data for use with the Exchange contract. +* [assetProxy](#assetproxy) +* [id](#id) -**Parameters:** +## Properties -Name | Type | Description | ------- | ------ | ------ | -`data` | string | The ABI Encoded 0x Exchange method. I.e fillOrder | -`salt` | `BigNumber` | A random value to provide uniqueness and prevent replay attacks. | -`signerAddress` | string | The address which will sign this transaction. | +### assetProxy -**Returns:** *string* +• **assetProxy**: *string* -The hash of the 0x transaction. +*Defined in [generated-wrappers/exchange.ts:86](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L86)* ___ -### marketBuyOrdersNoThrowTx +### id -▸ **marketBuyOrdersNoThrowTx**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`): *string* +• **id**: *string* -*Defined in [utils/transaction_encoder.ts:233](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L233)* +*Defined in [generated-wrappers/exchange.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L85)* -Encodes a maketBuyOrdersNoThrow transaction. +
-**Parameters:** +> # Interface: ExchangeCancelEventArgs -Name | Type | Description | ------- | ------ | ------ | -`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | -`makerAssetFillAmount` | `BigNumber` | Maker asset fill amount. | +## Hierarchy -**Returns:** *string* +* `DecodedLogArgs` -Hex encoded abi of the function call. + * **ExchangeCancelEventArgs** -___ +## Indexable -### marketBuyOrdersTx +● \[▪ **argName**: *string*\]: `ContractEventArg` -▸ **marketBuyOrdersTx**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`): *string* +## Index -*Defined in [utils/transaction_encoder.ts:216](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L216)* +### Properties -Encodes a maketBuyOrders transaction. +* [feeRecipientAddress](#feerecipientaddress) +* [makerAddress](#makeraddress) +* [makerAssetData](#makerassetdata) +* [orderHash](#orderhash) +* [senderAddress](#senderaddress) +* [takerAssetData](#takerassetdata) -**Parameters:** +## Properties -Name | Type | Description | ------- | ------ | ------ | -`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | -`makerAssetFillAmount` | `BigNumber` | Maker asset fill amount. | +### feeRecipientAddress -**Returns:** *string* +• **feeRecipientAddress**: *string* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/exchange.ts:71](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L71)* ___ -### marketSellOrdersNoThrowTx - -▸ **marketSellOrdersNoThrowTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`): *string* +### makerAddress -*Defined in [utils/transaction_encoder.ts:199](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L199)* +• **makerAddress**: *string* -Encodes a marketSellOrdersNoThrow transaction. +*Defined in [generated-wrappers/exchange.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L70)* -**Parameters:** +___ -Name | Type | Description | ------- | ------ | ------ | -`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | -`takerAssetFillAmount` | `BigNumber` | Taker asset fill amount. | +### makerAssetData -**Returns:** *string* +• **makerAssetData**: *string* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/exchange.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L74)* ___ -### marketSellOrdersTx - -▸ **marketSellOrdersTx**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`): *string* +### orderHash -*Defined in [utils/transaction_encoder.ts:182](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L182)* +• **orderHash**: *string* -Encodes a marketSellOrders transaction. +*Defined in [generated-wrappers/exchange.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L73)* -**Parameters:** +___ -Name | Type | Description | ------- | ------ | ------ | -`signedOrders` | `SignedOrder`[] | An array of signed orders to fill. | -`takerAssetFillAmount` | `BigNumber` | Taker asset fill amount. | +### senderAddress -**Returns:** *string* +• **senderAddress**: *string* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/exchange.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L72)* ___ -### matchOrdersTx +### takerAssetData -▸ **matchOrdersTx**(`leftOrder`: `SignedOrder`, `rightOrder`: `SignedOrder`): *string* +• **takerAssetData**: *string* -*Defined in [utils/transaction_encoder.ts:250](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L250)* +*Defined in [generated-wrappers/exchange.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L75)* -Encodes a matchOrders transaction. +
-**Parameters:** +> # Interface: ExchangeCancelUpToEventArgs -Name | Type | Description | ------- | ------ | ------ | -`leftOrder` | `SignedOrder` | First order to match. | -`rightOrder` | `SignedOrder` | Second order to match. | +## Hierarchy -**Returns:** *string* +* `DecodedLogArgs` -Hex encoded abi of the function call. + * **ExchangeCancelUpToEventArgs** -___ +## Indexable -### preSignTx +● \[▪ **argName**: *string*\]: `ContractEventArg` -▸ **preSignTx**(`hash`: string, `signerAddress`: string, `signature`: string): *string* +## Index -*Defined in [utils/transaction_encoder.ts:268](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L268)* +### Properties -Encodes a preSign transaction. +* [makerAddress](#makeraddress) +* [orderEpoch](#orderepoch) +* [senderAddress](#senderaddress) -**Parameters:** +## Properties -Name | Type | Description | ------- | ------ | ------ | -`hash` | string | Hash to pre-sign | -`signerAddress` | string | Address that should have signed the given hash. | -`signature` | string | Proof that the hash has been signed by signer. | +### makerAddress -**Returns:** *string* +• **makerAddress**: *string* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/exchange.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L79)* ___ -### setSignatureValidatorApprovalTx +### orderEpoch -▸ **setSignatureValidatorApprovalTx**(`validatorAddress`: string, `isApproved`: boolean): *string* +• **orderEpoch**: *`BigNumber`* -*Defined in [utils/transaction_encoder.ts:285](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/transaction_encoder.ts#L285)* +*Defined in [generated-wrappers/exchange.ts:81](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L81)* -Encodes a setSignatureValidatorApproval transaction. - -**Parameters:** +___ -Name | Type | Description | ------- | ------ | ------ | -`validatorAddress` | string | Validator contract address. | -`isApproved` | boolean | Boolean value to set approval to. | +### senderAddress -**Returns:** *string* +• **senderAddress**: *string* -Hex encoded abi of the function call. +*Defined in [generated-wrappers/exchange.ts:80](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L80)*
-> # Enumeration: ContractWrappersError +> # Interface: ExchangeFillEventArgs -## Index +## Hierarchy -### Enumeration members +* `DecodedLogArgs` -* [ContractNotDeployedOnNetwork](#contractnotdeployedonnetwork) -* [ERC721NoApproval](#erc721noapproval) -* [ERC721OwnerNotFound](#erc721ownernotfound) -* [InsufficientAllowanceForTransfer](#insufficientallowancefortransfer) -* [InsufficientBalanceForTransfer](#insufficientbalancefortransfer) -* [InsufficientEthBalanceForDeposit](#insufficientethbalancefordeposit) -* [InsufficientWEthBalanceForWithdrawal](#insufficientwethbalanceforwithdrawal) -* [InvalidJump](#invalidjump) -* [OutOfGas](#outofgas) -* [SignatureRequestDenied](#signaturerequestdenied) -* [SubscriptionAlreadyPresent](#subscriptionalreadypresent) -* [SubscriptionNotFound](#subscriptionnotfound) + * **ExchangeFillEventArgs** -## Enumeration members +## Indexable -### ContractNotDeployedOnNetwork +● \[▪ **argName**: *string*\]: `ContractEventArg` -• **ContractNotDeployedOnNetwork**: = "CONTRACT_NOT_DEPLOYED_ON_NETWORK" +## Index -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L26)* +### Properties -___ +* [feeRecipientAddress](#feerecipientaddress) +* [makerAddress](#makeraddress) +* [makerAssetData](#makerassetdata) +* [makerAssetFilledAmount](#makerassetfilledamount) +* [makerFeePaid](#makerfeepaid) +* [orderHash](#orderhash) +* [senderAddress](#senderaddress) +* [takerAddress](#takeraddress) +* [takerAssetData](#takerassetdata) +* [takerAssetFilledAmount](#takerassetfilledamount) +* [takerFeePaid](#takerfeepaid) -### ERC721NoApproval +## Properties -• **ERC721NoApproval**: = "ERC_721_NO_APPROVAL" +### feeRecipientAddress + +• **feeRecipientAddress**: *string* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L36)* +*Defined in [generated-wrappers/exchange.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L57)* ___ -### ERC721OwnerNotFound +### makerAddress -• **ERC721OwnerNotFound**: = "ERC_721_OWNER_NOT_FOUND" +• **makerAddress**: *string* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L35)* +*Defined in [generated-wrappers/exchange.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L56)* ___ -### InsufficientAllowanceForTransfer +### makerAssetData -• **InsufficientAllowanceForTransfer**: = "INSUFFICIENT_ALLOWANCE_FOR_TRANSFER" +• **makerAssetData**: *string* -*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L27)* +*Defined in [generated-wrappers/exchange.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L65)* ___ -### InsufficientBalanceForTransfer +### makerAssetFilledAmount -• **InsufficientBalanceForTransfer**: = "INSUFFICIENT_BALANCE_FOR_TRANSFER" +• **makerAssetFilledAmount**: *`BigNumber`* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L28)* +*Defined in [generated-wrappers/exchange.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L60)* ___ -### InsufficientEthBalanceForDeposit +### makerFeePaid -• **InsufficientEthBalanceForDeposit**: = "INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT" +• **makerFeePaid**: *`BigNumber`* -*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L29)* +*Defined in [generated-wrappers/exchange.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L62)* ___ -### InsufficientWEthBalanceForWithdrawal +### orderHash -• **InsufficientWEthBalanceForWithdrawal**: = "INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL" +• **orderHash**: *string* -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L30)* +*Defined in [generated-wrappers/exchange.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L64)* ___ -### InvalidJump +### senderAddress -• **InvalidJump**: = "INVALID_JUMP" +• **senderAddress**: *string* -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L31)* +*Defined in [generated-wrappers/exchange.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L59)* ___ -### OutOfGas +### takerAddress -• **OutOfGas**: = "OUT_OF_GAS" +• **takerAddress**: *string* -*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L32)* +*Defined in [generated-wrappers/exchange.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L58)* ___ -### SignatureRequestDenied +### takerAssetData -• **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" +• **takerAssetData**: *string* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L37)* +*Defined in [generated-wrappers/exchange.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L66)* ___ -### SubscriptionAlreadyPresent +### takerAssetFilledAmount -• **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" +• **takerAssetFilledAmount**: *`BigNumber`* -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L34)* +*Defined in [generated-wrappers/exchange.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L61)* ___ -### SubscriptionNotFound +### takerFeePaid -• **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" +• **takerFeePaid**: *`BigNumber`* -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L33)* +*Defined in [generated-wrappers/exchange.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L63)*
-> # Enumeration: DutchAuctionWrapperError +> # Interface: ExchangeSignatureValidatorApprovalEventArgs -## Index +## Hierarchy -### Enumeration members +* `DecodedLogArgs` -* [AssetDataMismatch](#assetdatamismatch) + * **ExchangeSignatureValidatorApprovalEventArgs** -## Enumeration members +## Indexable -### AssetDataMismatch +● \[▪ **argName**: *string*\]: `ContractEventArg` -• **AssetDataMismatch**: = "ASSET_DATA_MISMATCH" +## Index -*Defined in [types.ts:220](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L220)* +### Properties -
+* [approved](#approved) +* [signerAddress](#signeraddress) +* [validatorAddress](#validatoraddress) -> # Enumeration: ExchangeWrapperError +## Properties -## Index +### approved -### Enumeration members +• **approved**: *boolean* -* [AssetDataMismatch](#assetdatamismatch) +*Defined in [generated-wrappers/exchange.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L52)* -## Enumeration members +___ -### AssetDataMismatch +### signerAddress -• **AssetDataMismatch**: = "ASSET_DATA_MISMATCH" +• **signerAddress**: *string* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L18)* +*Defined in [generated-wrappers/exchange.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L50)* -
+___ -> # Enumeration: ForwarderWrapperError +### validatorAddress -## Index +• **validatorAddress**: *string* -### Enumeration members +*Defined in [generated-wrappers/exchange.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L51)* -* [CompleteFillFailed](#completefillfailed) +
-## Enumeration members +> # Interface: MultiAssetProxyAssetProxyRegisteredEventArgs -### CompleteFillFailed +## Hierarchy -• **CompleteFillFailed**: = "COMPLETE_FILL_FAILED" +* `DecodedLogArgs` -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L22)* + * **MultiAssetProxyAssetProxyRegisteredEventArgs** -
+## Indexable -> # Enumeration: InternalContractWrappersError +● \[▪ **argName**: *string*\]: `ContractEventArg` ## Index -### Enumeration members +### Properties -* [NoAbiDecoder](#noabidecoder) +* [assetProxy](#assetproxy) +* [id](#id) -## Enumeration members +## Properties + +### assetProxy + +• **assetProxy**: *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L57)* + +___ -### NoAbiDecoder +### id -• **NoAbiDecoder**: = "NO_ABI_DECODER" +• **id**: *string* -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L41)* +*Defined in [generated-wrappers/multi_asset_proxy.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L56)*
-> # Enumeration: OrderStatus +> # Interface: MultiAssetProxyAuthorizedAddressAddedEventArgs -## Index +## Hierarchy -### Enumeration members +* `DecodedLogArgs` -* [Cancelled](#cancelled) -* [Expired](#expired) -* [Fillable](#fillable) -* [FullyFilled](#fullyfilled) -* [Invalid](#invalid) -* [InvalidMakerAssetAmount](#invalidmakerassetamount) -* [InvalidTakerAssetAmount](#invalidtakerassetamount) + * **MultiAssetProxyAuthorizedAddressAddedEventArgs** -## Enumeration members +## Indexable -### Cancelled +● \[▪ **argName**: *string*\]: `ContractEventArg` -• **Cancelled**: +## Index -*Defined in [types.ts:195](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L195)* +### Properties -___ +* [caller](#caller) +* [target](#target) -### Expired +## Properties -• **Expired**: +### caller + +• **caller**: *string* -*Defined in [types.ts:193](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L193)* +*Defined in [generated-wrappers/multi_asset_proxy.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L47)* ___ -### Fillable +### target -• **Fillable**: +• **target**: *string* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L192)* +*Defined in [generated-wrappers/multi_asset_proxy.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L46)* -___ +
-### FullyFilled +> # Interface: MultiAssetProxyAuthorizedAddressRemovedEventArgs -• **FullyFilled**: +## Hierarchy -*Defined in [types.ts:194](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L194)* +* `DecodedLogArgs` -___ + * **MultiAssetProxyAuthorizedAddressRemovedEventArgs** -### Invalid +## Indexable -• **Invalid**: = 0 +● \[▪ **argName**: *string*\]: `ContractEventArg` -*Defined in [types.ts:189](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L189)* +## Index -___ +### Properties -### InvalidMakerAssetAmount +* [caller](#caller) +* [target](#target) -• **InvalidMakerAssetAmount**: +## Properties + +### caller -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L190)* +• **caller**: *string* + +*Defined in [generated-wrappers/multi_asset_proxy.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L52)* ___ -### InvalidTakerAssetAmount +### target -• **InvalidTakerAssetAmount**: +• **target**: *string* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L191)* +*Defined in [generated-wrappers/multi_asset_proxy.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L51)*
-> # Enumeration: TradeSide +> # Interface: WETH9ApprovalEventArgs -## Index +## Hierarchy -### Enumeration members +* `DecodedLogArgs` -* [Maker](#maker) -* [Taker](#taker) + * **WETH9ApprovalEventArgs** + +## Indexable -## Enumeration members +● \[▪ **argName**: *string*\]: `ContractEventArg` -### Maker +## Index -• **Maker**: = "maker" +### Properties -*Defined in [types.ts:171](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L171)* +* [_owner](#_owner) +* [_spender](#_spender) +* [_value](#_value) -___ +## Properties -### Taker +### _owner -• **Taker**: = "taker" +• **_owner**: *string* -*Defined in [types.ts:172](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L172)* +*Defined in [generated-wrappers/weth9.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L48)* -
+___ -> # Enumeration: TransferType +### _spender -## Index +• **_spender**: *string* -### Enumeration members +*Defined in [generated-wrappers/weth9.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L49)* -* [Fee](#fee) -* [Trade](#trade) +___ -## Enumeration members +### _value -### Fee +• **_value**: *`BigNumber`* -• **Fee**: = "fee" +*Defined in [generated-wrappers/weth9.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L50)* -*Defined in [types.ts:177](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L177)* +
-___ +> # Interface: WETH9DepositEventArgs -### Trade +## Hierarchy -• **Trade**: = "trade" +* `DecodedLogArgs` -*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L176)* + * **WETH9DepositEventArgs** -
+## Indexable -> # Enumeration: CoordinatorServerErrorMsg +● \[▪ **argName**: *string*\]: `ContractEventArg` ## Index -### Enumeration members +### Properties -* [CancellationFailed](#cancellationfailed) -* [FillFailed](#fillfailed) +* [_owner](#_owner) +* [_value](#_value) -## Enumeration members +## Properties -### CancellationFailed +### _owner -• **CancellationFailed**: = "Failed to cancel with some coordinator server(s). See errors for more info. See cancellations for successful cancellations." +• **_owner**: *string* -*Defined in [utils/coordinator_server_types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L59)* +*Defined in [generated-wrappers/weth9.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L60)* ___ -### FillFailed +### _value -• **FillFailed**: = "Failed to obtain approval signatures from some coordinator server(s). See errors for more info. Current transaction has been abandoned but you may resubmit with only approvedOrders (a new ZeroEx transaction will have to be signed)." +• **_value**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L60)* +*Defined in [generated-wrappers/weth9.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L61)*
-> # Interface: BalanceAndAllowance +> # Interface: WETH9TransferEventArgs ## Hierarchy -* **BalanceAndAllowance** +* `DecodedLogArgs` + + * **WETH9TransferEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` ## Index ### Properties -* [allowance](#allowance) -* [balance](#balance) +* [_from](#_from) +* [_to](#_to) +* [_value](#_value) ## Properties -### allowance +### _from + +• **_from**: *string* + +*Defined in [generated-wrappers/weth9.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L54)* + +___ + +### _to -• **allowance**: *`BigNumber`* +• **_to**: *string* -*Defined in [types.ts:216](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L216)* +*Defined in [generated-wrappers/weth9.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L55)* ___ -### balance +### _value -• **balance**: *`BigNumber`* +• **_value**: *`BigNumber`* -*Defined in [types.ts:215](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L215)* +*Defined in [generated-wrappers/weth9.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L56)*
-> # Interface: BlockRange +> # Interface: WETH9WithdrawalEventArgs ## Hierarchy -* **BlockRange** +* `DecodedLogArgs` + + * **WETH9WithdrawalEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` ## Index ### Properties -* [fromBlock](#fromblock) -* [toBlock](#toblock) +* [_owner](#_owner) +* [_value](#_value) ## Properties -### fromBlock +### _owner -• **fromBlock**: *`BlockParam`* +• **_owner**: *string* -*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L97)* +*Defined in [generated-wrappers/weth9.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L65)* ___ -### toBlock +### _value -• **toBlock**: *`BlockParam`* +• **_value**: *`BigNumber`* -*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L98)* +*Defined in [generated-wrappers/weth9.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L66)*
-> # Interface: ContractEvent +> # Interface: ZRXTokenApprovalEventArgs ## Hierarchy -* **ContractEvent** +* `DecodedLogArgs` + + * **ZRXTokenApprovalEventArgs** + +## Indexable + +● \[▪ **argName**: *string*\]: `ContractEventArg` ## Index ### Properties -* [address](#address) -* [args](#args) -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [event](#event) -* [logIndex](#logindex) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) -* [type](#type) +* [_owner](#_owner) +* [_spender](#_spender) +* [_value](#_value) ## Properties -### address +### _owner -• **address**: *string* +• **_owner**: *string* -*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L61)* +*Defined in [generated-wrappers/zrx_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L48)* ___ -### args +### _spender -• **args**: *[ContractEventArgs](#contracteventargs)* +• **_spender**: *string* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L64)* +*Defined in [generated-wrappers/zrx_token.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L49)* ___ -### blockHash - -• **blockHash**: *string* +### _value -*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L59)* - -___ +• **_value**: *`BigNumber`* -### blockNumber +*Defined in [generated-wrappers/zrx_token.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L50)* -• **blockNumber**: *number* +
-*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L60)* +> # Interface: ZRXTokenTransferEventArgs -___ +## Hierarchy -### event +* `DecodedLogArgs` -• **event**: *string* + * **ZRXTokenTransferEventArgs** -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L63)* +## Indexable -___ +● \[▪ **argName**: *string*\]: `ContractEventArg` -### logIndex +## Index -• **logIndex**: *number* +### Properties -*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L56)* +* [_from](#_from) +* [_to](#_to) +* [_value](#_value) -___ +## Properties -### transactionHash +### _from -• **transactionHash**: *string* +• **_from**: *string* -*Defined in [types.ts:58](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L58)* +*Defined in [generated-wrappers/zrx_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L42)* ___ -### transactionIndex +### _to -• **transactionIndex**: *number* +• **_to**: *string* -*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L57)* +*Defined in [generated-wrappers/zrx_token.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L43)* ___ -### type +### _value -• **type**: *string* +• **_value**: *`BigNumber`* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L62)* +*Defined in [generated-wrappers/zrx_token.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L44)*
@@ -4673,7 +27741,7 @@ blockPollingIntervalMs: The interval to use for block polling in event watching • **blockPollingIntervalMs**? : *undefined | number* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L119)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L37)* ___ @@ -4681,7 +27749,7 @@ ___ • **contractAddresses**? : *`ContractAddresses`* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L118)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L36)* ___ @@ -4689,7 +27757,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L117)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L35)* ___ @@ -4697,7 +27765,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L116)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L34)*
@@ -4721,7 +27789,7 @@ ___ • **data**: *string* -*Defined in [types.ts:228](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L228)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L80)* ___ @@ -4729,7 +27797,7 @@ ___ • **salt**: *`BigNumber`* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L226)* +*Defined in [types.ts:78](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L78)* ___ @@ -4737,7 +27805,7 @@ ___ • **signerAddress**: *string* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L227)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L79)*
@@ -4764,7 +27832,7 @@ ___ • **isRemoved**: *boolean* -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L46)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L7)* ___ @@ -4772,7 +27840,7 @@ ___ • **log**: *`LogWithDecodedArgs`* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L47)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L8)*
@@ -4788,95 +27856,6 @@ ___
-> # Interface: MethodOpts - -defaultBlock: The block up to which to query the blockchain state. Setting this to a historical block number -let's the user query the blockchain's state at an arbitrary point in time. In order for this to work, the -backing Ethereum node must keep the entire historical state of the chain (e.g setting `--pruning=archive` -flag when running Parity). - -## Hierarchy - -* **MethodOpts** - -## Index - -### Properties - -* [defaultBlock](#optional-defaultblock) - -## Properties - -### `Optional` defaultBlock - -• **defaultBlock**? : *`BlockParam`* - -*Defined in [types.ts:148](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L148)* - -
- -> # Interface: OrderAndTraderInfo - -## Hierarchy - -* **OrderAndTraderInfo** - -## Index - -### Properties - -* [orderInfo](#orderinfo) -* [traderInfo](#traderinfo) - -## Properties - -### orderInfo - -• **orderInfo**: *[OrderInfo](#interface-orderinfo)* - -*Defined in [types.ts:210](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L210)* - -___ - -### traderInfo - -• **traderInfo**: *[TraderInfo](#interface-traderinfo)* - -*Defined in [types.ts:211](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L211)* - -
- -> # Interface: OrderFillRequest - -## Hierarchy - -* **OrderFillRequest** - -## Index - -### Properties - -* [signedOrder](#signedorder) -* [takerAssetFillAmount](#takerassetfillamount) - -## Properties - -### signedOrder - -• **signedOrder**: *`SignedOrder`* - -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L102)* - -___ - -### takerAssetFillAmount - -• **takerAssetFillAmount**: *`BigNumber`* - -*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L103)* - -
- > # Interface: OrderInfo ## Hierarchy @@ -4897,7 +27876,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:184](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L184)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L61)* ___ @@ -4905,7 +27884,7 @@ ___ • **orderStatus**: *[OrderStatus](#enumeration-orderstatus)* -*Defined in [types.ts:183](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L183)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L60)* ___ @@ -4913,7 +27892,7 @@ ___ • **orderTakerAssetFilledAmount**: *`BigNumber`* -*Defined in [types.ts:185](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L185)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L62)*
@@ -4945,7 +27924,7 @@ broadcasting it. For example, order has a valid signature, maker has sufficient *Inherited from [TransactionOpts](#optional-gaslimit)* -*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L158)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L47)* ___ @@ -4955,7 +27934,7 @@ ___ *Inherited from [TransactionOpts](#optional-gasprice)* -*Defined in [types.ts:157](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L157)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L46)* ___ @@ -4965,7 +27944,7 @@ ___ *Inherited from [TransactionOpts](#optional-nonce)* -*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L159)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L48)* ___ @@ -4973,153 +27952,7 @@ ___ • **shouldValidate**? : *undefined | false | true* -*Defined in [types.ts:167](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L167)* - -
- -> # Interface: Token - -## Hierarchy - -* **Token** - -## Index - -### Properties - -* [address](#address) -* [decimals](#decimals) -* [name](#name) -* [symbol](#symbol) - -## Properties - -### address - -• **address**: *string* - -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L74)* - -___ - -### decimals - -• **decimals**: *number* - -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L76)* - -___ - -### name - -• **name**: *string* - -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L73)* - -___ - -### symbol - -• **symbol**: *string* - -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L75)* - -
- -> # Interface: TokenAddressBySymbol - -## Hierarchy - -* **TokenAddressBySymbol** - -## Indexable - -● \[▪ **symbol**: *string*\]: string - -
- -> # Interface: TraderInfo - -## Hierarchy - -* **TraderInfo** - -## Index - -### Properties - -* [makerAllowance](#makerallowance) -* [makerBalance](#makerbalance) -* [makerZrxAllowance](#makerzrxallowance) -* [makerZrxBalance](#makerzrxbalance) -* [takerAllowance](#takerallowance) -* [takerBalance](#takerbalance) -* [takerZrxAllowance](#takerzrxallowance) -* [takerZrxBalance](#takerzrxbalance) - -## Properties - -### makerAllowance - -• **makerAllowance**: *`BigNumber`* - -*Defined in [types.ts:200](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L200)* - -___ - -### makerBalance - -• **makerBalance**: *`BigNumber`* - -*Defined in [types.ts:199](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L199)* - -___ - -### makerZrxAllowance - -• **makerZrxAllowance**: *`BigNumber`* - -*Defined in [types.ts:204](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L204)* - -___ - -### makerZrxBalance - -• **makerZrxBalance**: *`BigNumber`* - -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L203)* - -___ - -### takerAllowance - -• **takerAllowance**: *`BigNumber`* - -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L202)* - -___ - -### takerBalance - -• **takerBalance**: *`BigNumber`* - -*Defined in [types.ts:201](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L201)* - -___ - -### takerZrxAllowance - -• **takerZrxAllowance**: *`BigNumber`* - -*Defined in [types.ts:206](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L206)* - -___ - -### takerZrxBalance - -• **takerZrxBalance**: *`BigNumber`* - -*Defined in [types.ts:205](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L205)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L56)*
@@ -5149,7 +27982,7 @@ nonce: The nonce to use for a transaction. If not specified, it defaults to the • **gasLimit**? : *undefined | number* -*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L158)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L47)* ___ @@ -5157,7 +27990,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:157](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L157)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L46)* ___ @@ -5165,7 +27998,7 @@ ___ • **nonce**? : *undefined | number* -*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L159)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L48)*
@@ -5190,7 +28023,7 @@ ___ • **from**: *string* -*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L80)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L17)* ___ @@ -5198,7 +28031,7 @@ ___ • **gas**? : *undefined | number* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L81)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L18)* ___ @@ -5206,7 +28039,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L83)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L20)* ___ @@ -5214,59 +28047,7 @@ ___ • **value**? : *`BigNumber`* -*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L82)* - -
- -> # Interface: ValidateOrderFillableOpts - -`expectedFillTakerTokenAmount`: If specified, the validation method will ensure that the supplied order maker has a sufficient - allowance/balance to fill this amount of the order's takerTokenAmount. - -`validateRemainingOrderAmountIsFillable`: The validation method ensures that the maker has sufficient allowance/balance to fill - the entire remaining order amount. If this option is set to false, the balances - and allowances are calculated to determine the order is fillable for a - non-zero amount (some value less than or equal to the order remaining amount). - We call such orders "partially fillable orders". Default is `true`. - -`simulationTakerAddress`: During the maker transfer simulation, tokens are sent from the maker to the `simulationTakerAddress`. This defaults - to the `takerAddress` specified in the order. Some tokens prevent transfer to the NULL address so this address can be specified. - -## Hierarchy - -* **ValidateOrderFillableOpts** - -## Index - -### Properties - -* [expectedFillTakerTokenAmount](#optional-expectedfilltakertokenamount) -* [simulationTakerAddress](#optional-simulationtakeraddress) -* [validateRemainingOrderAmountIsFillable](#optional-validateremainingorderamountisfillable) - -## Properties - -### `Optional` expectedFillTakerTokenAmount - -• **expectedFillTakerTokenAmount**? : *`BigNumber`* - -*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L136)* - -___ - -### `Optional` simulationTakerAddress - -• **simulationTakerAddress**? : *undefined | string* - -*Defined in [types.ts:138](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L138)* - -___ - -### `Optional` validateRemainingOrderAmountIsFillable - -• **validateRemainingOrderAmountIsFillable**? : *undefined | false | true* - -*Defined in [types.ts:137](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/types.ts#L137)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L19)*
@@ -5291,7 +28072,7 @@ ___ • **approvalSignatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L19)* +*Defined in [utils/coordinator_server_types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L19)* ___ @@ -5299,7 +28080,7 @@ ___ • **expirationTimeSeconds**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L20)* +*Defined in [utils/coordinator_server_types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L20)* ___ @@ -5307,7 +28088,7 @@ ___ • **orderHash**: *string* -*Defined in [utils/coordinator_server_types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L18)* +*Defined in [utils/coordinator_server_types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L18)* ___ @@ -5315,7 +28096,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L21)* +*Defined in [utils/coordinator_server_types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L21)*
@@ -5338,7 +28119,7 @@ ___ • **expirationTimeSeconds**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L10)* +*Defined in [utils/coordinator_server_types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L10)* ___ @@ -5346,7 +28127,7 @@ ___ • **signatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L9)* +*Defined in [utils/coordinator_server_types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L9)*
@@ -5369,7 +28150,7 @@ ___ • **expirationTimeSeconds**: *`BigNumber`[]* -*Defined in [utils/coordinator_server_types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L6)* +*Defined in [utils/coordinator_server_types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L6)* ___ @@ -5377,7 +28158,7 @@ ___ • **signatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L5)* +*Defined in [utils/coordinator_server_types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L5)*
@@ -5400,7 +28181,7 @@ ___ • **cancellationSignatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L15)* +*Defined in [utils/coordinator_server_types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L15)* ___ @@ -5408,7 +28189,7 @@ ___ • **outstandingFillSignatures**: *[CoordinatorOutstandingFillSignatures](#class-coordinatoroutstandingfillsignatures)[]* -*Defined in [utils/coordinator_server_types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L14)* +*Defined in [utils/coordinator_server_types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L14)*
@@ -5431,7 +28212,7 @@ ___ • **signedTransaction**: *`SignedZeroExTransaction`* -*Defined in [utils/coordinator_server_types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L35)* +*Defined in [utils/coordinator_server_types.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L35)* ___ @@ -5439,7 +28220,7 @@ ___ • **txOrigin**: *string* -*Defined in [utils/coordinator_server_types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L36)* +*Defined in [utils/coordinator_server_types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L36)*
@@ -5465,9 +28246,9 @@ ___ ### `Optional` body -• **body**? : *[CoordinatorServerCancellationResponse](#class-coordinatorserverapprovalrawresponse)* +• **body**? : *[CoordinatorServerCancellationResponse](_utils_coordinator_server_types_.coordinatorservercancellationresponse.md) | [CoordinatorServerApprovalRawResponse](#class-coordinatorserverapprovalrawresponse)* -*Defined in [utils/coordinator_server_types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L27)* +*Defined in [utils/coordinator_server_types.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L27)* ___ @@ -5475,7 +28256,7 @@ ___ • **coordinatorOperator**: *string* -*Defined in [utils/coordinator_server_types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L30)* +*Defined in [utils/coordinator_server_types.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L30)* ___ @@ -5483,7 +28264,7 @@ ___ • **error**? : *any* -*Defined in [utils/coordinator_server_types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L28)* +*Defined in [utils/coordinator_server_types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L28)* ___ @@ -5491,7 +28272,7 @@ ___ • **isError**: *boolean* -*Defined in [utils/coordinator_server_types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L25)* +*Defined in [utils/coordinator_server_types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L25)* ___ @@ -5499,7 +28280,7 @@ ___ • **orders**? : *`Array`* -*Defined in [utils/coordinator_server_types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L31)* +*Defined in [utils/coordinator_server_types.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L31)* ___ @@ -5507,7 +28288,7 @@ ___ • **request**: *[CoordinatorServerRequest](#class-coordinatorserverrequest)* -*Defined in [utils/coordinator_server_types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L29)* +*Defined in [utils/coordinator_server_types.ts:29](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L29)* ___ @@ -5515,143 +28296,7 @@ ___ • **status**: *number* -*Defined in [utils/coordinator_server_types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L26)* - -
- -* [Globals](globals.md) -* [External Modules]() - * [abstract/abstract_balance_and_proxy_allowance_lazy_store](modules/_abstract_abstract_balance_and_proxy_allowance_lazy_store_.md) - * [abstract/abstract_balance_and_proxy_allowance_lazy_store.AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) - * [contract_wrappers](modules/_contract_wrappers_.md) - * [contract_wrappers.ContractWrappers](#class-contractwrappers) - * [contract_wrappers/coordinator_wrapper](modules/_contract_wrappers_coordinator_wrapper_.md) - * [contract_wrappers/coordinator_wrapper.CoordinatorWrapper](#class-coordinatorwrapper) - * [contract_wrappers/dutch_auction_wrapper](modules/_contract_wrappers_dutch_auction_wrapper_.md) - * [contract_wrappers/dutch_auction_wrapper.DutchAuctionWrapper](#class-dutchauctionwrapper) - * [contract_wrappers/erc20_proxy_wrapper](modules/_contract_wrappers_erc20_proxy_wrapper_.md) - * [contract_wrappers/erc20_proxy_wrapper.ERC20ProxyWrapper](#class-erc20proxywrapper) - * [contract_wrappers/erc20_token_wrapper](modules/_contract_wrappers_erc20_token_wrapper_.md) - * [contract_wrappers/erc20_token_wrapper.ERC20TokenWrapper](#class-erc20tokenwrapper) - * [contract_wrappers/erc721_proxy_wrapper](modules/_contract_wrappers_erc721_proxy_wrapper_.md) - * [contract_wrappers/erc721_proxy_wrapper.ERC721ProxyWrapper](#class-erc721proxywrapper) - * [contract_wrappers/erc721_token_wrapper](modules/_contract_wrappers_erc721_token_wrapper_.md) - * [contract_wrappers/erc721_token_wrapper.ERC721TokenWrapper](#class-erc721tokenwrapper) - * [contract_wrappers/ether_token_wrapper](modules/_contract_wrappers_ether_token_wrapper_.md) - * [contract_wrappers/ether_token_wrapper.EtherTokenWrapper](#class-ethertokenwrapper) - * [contract_wrappers/exchange_wrapper](modules/_contract_wrappers_exchange_wrapper_.md) - * [contract_wrappers/exchange_wrapper.ExchangeWrapper](#class-exchangewrapper) - * [contract_wrappers/forwarder_wrapper](modules/_contract_wrappers_forwarder_wrapper_.md) - * [contract_wrappers/forwarder_wrapper.ForwarderWrapper](#class-forwarderwrapper) - * [contract_wrappers/order_validator_wrapper](modules/_contract_wrappers_order_validator_wrapper_.md) - * [contract_wrappers/order_validator_wrapper.OrderValidatorWrapper](#class-ordervalidatorwrapper) - * [fetchers/asset_balance_and_proxy_allowance_fetcher](modules/_fetchers_asset_balance_and_proxy_allowance_fetcher_.md) - * [fetchers/asset_balance_and_proxy_allowance_fetcher.AssetBalanceAndProxyAllowanceFetcher](#class-assetbalanceandproxyallowancefetcher) - * [fetchers/order_filled_cancelled_fetcher](modules/_fetchers_order_filled_cancelled_fetcher_.md) - * [fetchers/order_filled_cancelled_fetcher.OrderFilledCancelledFetcher](#class-orderfilledcancelledfetcher) - * [index](modules/_index_.md) - * [schemas/contract_wrappers_config_schema](modules/_schemas_contract_wrappers_config_schema_.md) - * [schemas/method_opts_schema](modules/_schemas_method_opts_schema_.md) - * [schemas/order_tx_opts_schema](modules/_schemas_order_tx_opts_schema_.md) - * [schemas/tx_opts_schema](modules/_schemas_tx_opts_schema_.md) - * [schemas/validate_order_fillable_opts_schema](modules/_schemas_validate_order_fillable_opts_schema_.md) - * [types](modules/_types_.md) - * [types.ContractWrappersError](#class-contractwrapperserror) - * [types.DutchAuctionWrapperError](#class-dutchauctionwrappererror) - * [types.ExchangeWrapperError](#class-exchangewrappererror) - * [types.ForwarderWrapperError](#class-forwarderwrappererror) - * [types.InternalContractWrappersError](#class-internalcontractwrapperserror) - * [types.OrderStatus](#class-orderstatus) - * [types.TradeSide](#class-tradeside) - * [types.TransferType](#class-transfertype) - * [types.BalanceAndAllowance](#class-balanceandallowance) - * [types.BlockRange](#class-blockrange) - * [types.ContractEvent](#class-contractevent) - * [types.ContractWrappersConfig](#class-contractwrappersconfig) - * [types.CoordinatorTransaction](#class-coordinatortransaction) - * [types.DecodedLogEvent](#class-decodedlogevent) - * [types.IndexedFilterValues](#class-indexedfiltervalues) - * [types.MethodOpts](#class-methodopts) - * [types.OrderAndTraderInfo](#class-orderandtraderinfo) - * [types.OrderFillRequest](#class-orderfillrequest) - * [types.OrderInfo](#class-orderinfo) - * [types.OrderTransactionOpts](#class-ordertransactionopts) - * [types.Token](#class-token) - * [types.TokenAddressBySymbol](#class-tokenaddressbysymbol) - * [types.TraderInfo](#class-traderinfo) - * [types.TransactionOpts](#class-transactionopts) - * [types.TxOpts](#class-txopts) - * [types.ValidateOrderFillableOpts](#class-validateorderfillableopts) - * [utils/assert](modules/_utils_assert_.md) - * [utils/calldata_optimization_utils](modules/_utils_calldata_optimization_utils_.md) - * [utils/constants](modules/_utils_constants_.md) - * [utils/contract_addresses](modules/_utils_contract_addresses_.md) - * [utils/coordinator_server_types](modules/_utils_coordinator_server_types_.md) - * [utils/coordinator_server_types.CoordinatorServerErrorMsg](#class-coordinatorservererrormsg) - * [utils/coordinator_server_types.CoordinatorServerError](#class-coordinatorservererror) - * [utils/coordinator_server_types.CoordinatorOutstandingFillSignatures](#class-coordinatoroutstandingfillsignatures) - * [utils/coordinator_server_types.CoordinatorServerApprovalRawResponse](#class-coordinatorserverapprovalrawresponse) - * [utils/coordinator_server_types.CoordinatorServerApprovalResponse](#class-coordinatorserverapprovalresponse) - * [utils/coordinator_server_types.CoordinatorServerCancellationResponse](#class-coordinatorservercancellationresponse) - * [utils/coordinator_server_types.CoordinatorServerRequest](#class-coordinatorserverrequest) - * [utils/coordinator_server_types.CoordinatorServerResponse](#class-coordinatorserverresponse) - * [utils/decorators](modules/_utils_decorators_.md) - * [utils/filter_utils](modules/_utils_filter_utils_.md) - * [utils/transaction_encoder](modules/_utils_transaction_encoder_.md) - * [utils/transaction_encoder.TransactionEncoder](#class-transactionencoder) - * [utils/utils](modules/_utils_utils_.md) -* [Classes]() - * [abstract/abstract_balance_and_proxy_allowance_lazy_store.AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) - * [contract_wrappers.ContractWrappers](#class-contractwrappers) - * [contract_wrappers/coordinator_wrapper.CoordinatorWrapper](#class-coordinatorwrapper) - * [contract_wrappers/dutch_auction_wrapper.DutchAuctionWrapper](#class-dutchauctionwrapper) - * [contract_wrappers/erc20_proxy_wrapper.ERC20ProxyWrapper](#class-erc20proxywrapper) - * [contract_wrappers/erc20_token_wrapper.ERC20TokenWrapper](#class-erc20tokenwrapper) - * [contract_wrappers/erc721_proxy_wrapper.ERC721ProxyWrapper](#class-erc721proxywrapper) - * [contract_wrappers/erc721_token_wrapper.ERC721TokenWrapper](#class-erc721tokenwrapper) - * [contract_wrappers/ether_token_wrapper.EtherTokenWrapper](#class-ethertokenwrapper) - * [contract_wrappers/exchange_wrapper.ExchangeWrapper](#class-exchangewrapper) - * [contract_wrappers/forwarder_wrapper.ForwarderWrapper](#class-forwarderwrapper) - * [contract_wrappers/order_validator_wrapper.OrderValidatorWrapper](#class-ordervalidatorwrapper) - * [fetchers/asset_balance_and_proxy_allowance_fetcher.AssetBalanceAndProxyAllowanceFetcher](#class-assetbalanceandproxyallowancefetcher) - * [fetchers/order_filled_cancelled_fetcher.OrderFilledCancelledFetcher](#class-orderfilledcancelledfetcher) - * [utils/coordinator_server_types.CoordinatorServerError](#class-coordinatorservererror) - * [utils/transaction_encoder.TransactionEncoder](#class-transactionencoder) -* [Enums]() - * [types.ContractWrappersError](#class-contractwrapperserror) - * [types.DutchAuctionWrapperError](#class-dutchauctionwrappererror) - * [types.ExchangeWrapperError](#class-exchangewrappererror) - * [types.ForwarderWrapperError](#class-forwarderwrappererror) - * [types.InternalContractWrappersError](#class-internalcontractwrapperserror) - * [types.OrderStatus](#class-orderstatus) - * [types.TradeSide](#class-tradeside) - * [types.TransferType](#class-transfertype) - * [utils/coordinator_server_types.CoordinatorServerErrorMsg](#class-coordinatorservererrormsg) -* [Interfaces]() - * [types.BalanceAndAllowance](#class-balanceandallowance) - * [types.BlockRange](#class-blockrange) - * [types.ContractEvent](#class-contractevent) - * [types.ContractWrappersConfig](#class-contractwrappersconfig) - * [types.CoordinatorTransaction](#class-coordinatortransaction) - * [types.DecodedLogEvent](#class-decodedlogevent) - * [types.IndexedFilterValues](#class-indexedfiltervalues) - * [types.MethodOpts](#class-methodopts) - * [types.OrderAndTraderInfo](#class-orderandtraderinfo) - * [types.OrderFillRequest](#class-orderfillrequest) - * [types.OrderInfo](#class-orderinfo) - * [types.OrderTransactionOpts](#class-ordertransactionopts) - * [types.Token](#class-token) - * [types.TokenAddressBySymbol](#class-tokenaddressbysymbol) - * [types.TraderInfo](#class-traderinfo) - * [types.TransactionOpts](#class-transactionopts) - * [types.TxOpts](#class-txopts) - * [types.ValidateOrderFillableOpts](#class-validateorderfillableopts) - * [utils/coordinator_server_types.CoordinatorOutstandingFillSignatures](#class-coordinatoroutstandingfillsignatures) - * [utils/coordinator_server_types.CoordinatorServerApprovalRawResponse](#class-coordinatorserverapprovalrawresponse) - * [utils/coordinator_server_types.CoordinatorServerApprovalResponse](#class-coordinatorserverapprovalresponse) - * [utils/coordinator_server_types.CoordinatorServerCancellationResponse](#class-coordinatorservercancellationresponse) - * [utils/coordinator_server_types.CoordinatorServerRequest](#class-coordinatorserverrequest) - * [utils/coordinator_server_types.CoordinatorServerResponse](#class-coordinatorserverresponse) +*Defined in [utils/coordinator_server_types.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L26)*
diff --git a/packages/ethereum-types/docs/reference.mdx b/packages/ethereum-types/docs/reference.mdx index d3f030ccb5..7376afd39c 100644 --- a/packages/ethereum-types/docs/reference.mdx +++ b/packages/ethereum-types/docs/reference.mdx @@ -15,7 +15,7 @@ • **Constructor**: = "constructor" -*Defined in [index.ts:455](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L455)* +*Defined in [index.ts:455](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L455)* ___ @@ -23,7 +23,7 @@ ___ • **Event**: = "event" -*Defined in [index.ts:456](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L456)* +*Defined in [index.ts:456](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L456)* ___ @@ -31,7 +31,7 @@ ___ • **Fallback**: = "fallback" -*Defined in [index.ts:457](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L457)* +*Defined in [index.ts:457](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L457)* ___ @@ -39,7 +39,7 @@ ___ • **Function**: = "function" -*Defined in [index.ts:454](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L454)* +*Defined in [index.ts:454](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L454)*
@@ -59,7 +59,7 @@ ___ • **Earliest**: = "earliest" -*Defined in [index.ts:470](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L470)* +*Defined in [index.ts:470](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L470)* ___ @@ -67,7 +67,7 @@ ___ • **Latest**: = "latest" -*Defined in [index.ts:471](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L471)* +*Defined in [index.ts:471](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L471)* ___ @@ -75,7 +75,7 @@ ___ • **Pending**: = "pending" -*Defined in [index.ts:472](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L472)* +*Defined in [index.ts:472](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L472)*
@@ -226,7 +226,7 @@ ___ • **Add**: = "ADD" -*Defined in [index.ts:141](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L141)* +*Defined in [index.ts:141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L141)* ___ @@ -234,7 +234,7 @@ ___ • **AddMod**: = "ADDMOD" -*Defined in [index.ts:148](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L148)* +*Defined in [index.ts:148](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L148)* ___ @@ -242,7 +242,7 @@ ___ • **Address**: = "ADDRESS" -*Defined in [index.ts:167](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L167)* +*Defined in [index.ts:167](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L167)* ___ @@ -250,7 +250,7 @@ ___ • **And**: = "AND" -*Defined in [index.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L159)* +*Defined in [index.ts:159](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L159)* ___ @@ -258,7 +258,7 @@ ___ • **Balance**: = "BALANCE" -*Defined in [index.ts:168](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L168)* +*Defined in [index.ts:168](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L168)* ___ @@ -266,7 +266,7 @@ ___ • **BlockHash**: = "BLOCKHASH" -*Defined in [index.ts:183](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L183)* +*Defined in [index.ts:183](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L183)* ___ @@ -274,7 +274,7 @@ ___ • **Byte**: = "BYTE" -*Defined in [index.ts:163](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L163)* +*Defined in [index.ts:163](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L163)* ___ @@ -282,7 +282,7 @@ ___ • **Call**: = "CALL" -*Defined in [index.ts:276](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L276)* +*Defined in [index.ts:276](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L276)* ___ @@ -290,7 +290,7 @@ ___ • **CallCode**: = "CALLCODE" -*Defined in [index.ts:277](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L277)* +*Defined in [index.ts:277](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L277)* ___ @@ -298,7 +298,7 @@ ___ • **CallDataCopy**: = "CALLDATACOPY" -*Defined in [index.ts:174](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L174)* +*Defined in [index.ts:174](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L174)* ___ @@ -306,7 +306,7 @@ ___ • **CallDataLoad**: = "CALLDATALOAD" -*Defined in [index.ts:172](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L172)* +*Defined in [index.ts:172](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L172)* ___ @@ -314,7 +314,7 @@ ___ • **CallDataSize**: = "CALLDATASIZE" -*Defined in [index.ts:173](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L173)* +*Defined in [index.ts:173](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L173)* ___ @@ -322,7 +322,7 @@ ___ • **CallValue**: = "CALLVALUE" -*Defined in [index.ts:171](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L171)* +*Defined in [index.ts:171](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L171)* ___ @@ -330,7 +330,7 @@ ___ • **Caller**: = "CALLER" -*Defined in [index.ts:170](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L170)* +*Defined in [index.ts:170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L170)* ___ @@ -338,7 +338,7 @@ ___ • **CodeCopy**: = "CODECOPY" -*Defined in [index.ts:176](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L176)* +*Defined in [index.ts:176](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L176)* ___ @@ -346,7 +346,7 @@ ___ • **CodeSize**: = "CODESIZE" -*Defined in [index.ts:175](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L175)* +*Defined in [index.ts:175](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L175)* ___ @@ -354,7 +354,7 @@ ___ • **Coinbase**: = "COINBASE" -*Defined in [index.ts:184](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L184)* +*Defined in [index.ts:184](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L184)* ___ @@ -362,7 +362,7 @@ ___ • **Create**: = "CREATE" -*Defined in [index.ts:275](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L275)* +*Defined in [index.ts:275](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L275)* ___ @@ -370,7 +370,7 @@ ___ • **DelegateCall**: = "DELEGATECALL" -*Defined in [index.ts:279](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L279)* +*Defined in [index.ts:279](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L279)* ___ @@ -378,7 +378,7 @@ ___ • **Difficulty**: = "DIFFICULTY" -*Defined in [index.ts:187](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L187)* +*Defined in [index.ts:187](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L187)* ___ @@ -386,7 +386,7 @@ ___ • **Div**: = "DIV" -*Defined in [index.ts:144](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L144)* +*Defined in [index.ts:144](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L144)* ___ @@ -394,7 +394,7 @@ ___ • **Dup1**: = "DUP1" -*Defined in [index.ts:236](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L236)* +*Defined in [index.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L236)* ___ @@ -402,7 +402,7 @@ ___ • **Dup10**: = "DUP10" -*Defined in [index.ts:245](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L245)* +*Defined in [index.ts:245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L245)* ___ @@ -410,7 +410,7 @@ ___ • **Dup11**: = "DUP11" -*Defined in [index.ts:246](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L246)* +*Defined in [index.ts:246](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L246)* ___ @@ -418,7 +418,7 @@ ___ • **Dup12**: = "DUP12" -*Defined in [index.ts:247](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L247)* +*Defined in [index.ts:247](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L247)* ___ @@ -426,7 +426,7 @@ ___ • **Dup13**: = "DUP13" -*Defined in [index.ts:248](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L248)* +*Defined in [index.ts:248](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L248)* ___ @@ -434,7 +434,7 @@ ___ • **Dup14**: = "DUP14" -*Defined in [index.ts:249](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L249)* +*Defined in [index.ts:249](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L249)* ___ @@ -442,7 +442,7 @@ ___ • **Dup15**: = "DUP15" -*Defined in [index.ts:250](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L250)* +*Defined in [index.ts:250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L250)* ___ @@ -450,7 +450,7 @@ ___ • **Dup16**: = "DUP16" -*Defined in [index.ts:251](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L251)* +*Defined in [index.ts:251](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L251)* ___ @@ -458,7 +458,7 @@ ___ • **Dup2**: = "DUP2" -*Defined in [index.ts:237](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L237)* +*Defined in [index.ts:237](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L237)* ___ @@ -466,7 +466,7 @@ ___ • **Dup3**: = "DUP3" -*Defined in [index.ts:238](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L238)* +*Defined in [index.ts:238](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L238)* ___ @@ -474,7 +474,7 @@ ___ • **Dup4**: = "DUP4" -*Defined in [index.ts:239](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L239)* +*Defined in [index.ts:239](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L239)* ___ @@ -482,7 +482,7 @@ ___ • **Dup5**: = "DUP5" -*Defined in [index.ts:240](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L240)* +*Defined in [index.ts:240](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L240)* ___ @@ -490,7 +490,7 @@ ___ • **Dup6**: = "DUP6" -*Defined in [index.ts:241](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L241)* +*Defined in [index.ts:241](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L241)* ___ @@ -498,7 +498,7 @@ ___ • **Dup7**: = "DUP7" -*Defined in [index.ts:242](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L242)* +*Defined in [index.ts:242](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L242)* ___ @@ -506,7 +506,7 @@ ___ • **Dup8**: = "DUP8" -*Defined in [index.ts:243](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L243)* +*Defined in [index.ts:243](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L243)* ___ @@ -514,7 +514,7 @@ ___ • **Dup9**: = "DUP9" -*Defined in [index.ts:244](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L244)* +*Defined in [index.ts:244](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L244)* ___ @@ -522,7 +522,7 @@ ___ • **Eq**: = "EQ" -*Defined in [index.ts:157](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L157)* +*Defined in [index.ts:157](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L157)* ___ @@ -530,7 +530,7 @@ ___ • **Exp**: = "EXP" -*Defined in [index.ts:150](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L150)* +*Defined in [index.ts:150](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L150)* ___ @@ -538,7 +538,7 @@ ___ • **ExtCodeCopy**: = "EXTCODECOPY" -*Defined in [index.ts:179](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L179)* +*Defined in [index.ts:179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L179)* ___ @@ -546,7 +546,7 @@ ___ • **ExtCodeSize**: = "EXTCODESIZE" -*Defined in [index.ts:178](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L178)* +*Defined in [index.ts:178](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L178)* ___ @@ -554,7 +554,7 @@ ___ • **Gas**: = "GAS" -*Defined in [index.ts:200](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L200)* +*Defined in [index.ts:200](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L200)* ___ @@ -562,7 +562,7 @@ ___ • **GasPrice**: = "GASPRICE" -*Defined in [index.ts:177](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L177)* +*Defined in [index.ts:177](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L177)* ___ @@ -570,7 +570,7 @@ ___ • **Gaslimit**: = "GASLIMIT" -*Defined in [index.ts:188](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L188)* +*Defined in [index.ts:188](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L188)* ___ @@ -578,7 +578,7 @@ ___ • **Gt**: = "GT" -*Defined in [index.ts:154](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L154)* +*Defined in [index.ts:154](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L154)* ___ @@ -586,7 +586,7 @@ ___ • **Invalid**: = "INVALID" -*Defined in [index.ts:282](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L282)* +*Defined in [index.ts:282](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L282)* ___ @@ -594,7 +594,7 @@ ___ • **IsZero**: = "ISZERO" -*Defined in [index.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L158)* +*Defined in [index.ts:158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L158)* ___ @@ -602,7 +602,7 @@ ___ • **Jump**: = "JUMP" -*Defined in [index.ts:196](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L196)* +*Defined in [index.ts:196](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L196)* ___ @@ -610,7 +610,7 @@ ___ • **JumpDest**: = "JUMPDEST" -*Defined in [index.ts:201](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L201)* +*Defined in [index.ts:201](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L201)* ___ @@ -618,7 +618,7 @@ ___ • **Jumpi**: = "JUMPI" -*Defined in [index.ts:197](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L197)* +*Defined in [index.ts:197](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L197)* ___ @@ -626,7 +626,7 @@ ___ • **Log1**: = "LOG1" -*Defined in [index.ts:270](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L270)* +*Defined in [index.ts:270](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L270)* ___ @@ -634,7 +634,7 @@ ___ • **Log2**: = "LOG2" -*Defined in [index.ts:271](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L271)* +*Defined in [index.ts:271](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L271)* ___ @@ -642,7 +642,7 @@ ___ • **Log3**: = "LOG3" -*Defined in [index.ts:272](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L272)* +*Defined in [index.ts:272](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L272)* ___ @@ -650,7 +650,7 @@ ___ • **Log4**: = "LOG4" -*Defined in [index.ts:273](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L273)* +*Defined in [index.ts:273](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L273)* ___ @@ -658,7 +658,7 @@ ___ • **Lt**: = "LT" -*Defined in [index.ts:153](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L153)* +*Defined in [index.ts:153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L153)* ___ @@ -666,7 +666,7 @@ ___ • **MLoad**: = "MLOAD" -*Defined in [index.ts:191](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L191)* +*Defined in [index.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L191)* ___ @@ -674,7 +674,7 @@ ___ • **MSize**: = "MSIZE" -*Defined in [index.ts:199](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L199)* +*Defined in [index.ts:199](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L199)* ___ @@ -682,7 +682,7 @@ ___ • **MStore**: = "MSTORE" -*Defined in [index.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L192)* +*Defined in [index.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L192)* ___ @@ -690,7 +690,7 @@ ___ • **MStore8**: = "MSTORE8" -*Defined in [index.ts:193](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L193)* +*Defined in [index.ts:193](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L193)* ___ @@ -698,7 +698,7 @@ ___ • **Mod**: = "MOD" -*Defined in [index.ts:146](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L146)* +*Defined in [index.ts:146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L146)* ___ @@ -706,7 +706,7 @@ ___ • **Mul**: = "MUL" -*Defined in [index.ts:142](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L142)* +*Defined in [index.ts:142](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L142)* ___ @@ -714,7 +714,7 @@ ___ • **MulMod**: = "MULMOD" -*Defined in [index.ts:149](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L149)* +*Defined in [index.ts:149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L149)* ___ @@ -722,7 +722,7 @@ ___ • **Not**: = "NOT" -*Defined in [index.ts:162](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L162)* +*Defined in [index.ts:162](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L162)* ___ @@ -730,7 +730,7 @@ ___ • **Number**: = "NUMBER" -*Defined in [index.ts:186](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L186)* +*Defined in [index.ts:186](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L186)* ___ @@ -738,7 +738,7 @@ ___ • **Or**: = "OR" -*Defined in [index.ts:160](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L160)* +*Defined in [index.ts:160](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L160)* ___ @@ -746,7 +746,7 @@ ___ • **Origin**: = "ORIGIN" -*Defined in [index.ts:169](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L169)* +*Defined in [index.ts:169](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L169)* ___ @@ -754,7 +754,7 @@ ___ • **Pc**: = "PC" -*Defined in [index.ts:198](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L198)* +*Defined in [index.ts:198](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L198)* ___ @@ -762,7 +762,7 @@ ___ • **Pop**: = "POP" -*Defined in [index.ts:190](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L190)* +*Defined in [index.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L190)* ___ @@ -770,7 +770,7 @@ ___ • **Push1**: = "PUSH1" -*Defined in [index.ts:203](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L203)* +*Defined in [index.ts:203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L203)* ___ @@ -778,7 +778,7 @@ ___ • **Push10**: = "PUSH10" -*Defined in [index.ts:212](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L212)* +*Defined in [index.ts:212](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L212)* ___ @@ -786,7 +786,7 @@ ___ • **Push11**: = "PUSH11" -*Defined in [index.ts:213](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L213)* +*Defined in [index.ts:213](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L213)* ___ @@ -794,7 +794,7 @@ ___ • **Push12**: = "PUSH12" -*Defined in [index.ts:214](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L214)* +*Defined in [index.ts:214](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L214)* ___ @@ -802,7 +802,7 @@ ___ • **Push13**: = "PUSH13" -*Defined in [index.ts:215](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L215)* +*Defined in [index.ts:215](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L215)* ___ @@ -810,7 +810,7 @@ ___ • **Push14**: = "PUSH14" -*Defined in [index.ts:216](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L216)* +*Defined in [index.ts:216](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L216)* ___ @@ -818,7 +818,7 @@ ___ • **Push15**: = "PUSH15" -*Defined in [index.ts:217](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L217)* +*Defined in [index.ts:217](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L217)* ___ @@ -826,7 +826,7 @@ ___ • **Push16**: = "PUSH16" -*Defined in [index.ts:218](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L218)* +*Defined in [index.ts:218](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L218)* ___ @@ -834,7 +834,7 @@ ___ • **Push17**: = "PUSH17" -*Defined in [index.ts:219](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L219)* +*Defined in [index.ts:219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L219)* ___ @@ -842,7 +842,7 @@ ___ • **Push18**: = "PUSH18" -*Defined in [index.ts:220](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L220)* +*Defined in [index.ts:220](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L220)* ___ @@ -850,7 +850,7 @@ ___ • **Push19**: = "PUSH19" -*Defined in [index.ts:221](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L221)* +*Defined in [index.ts:221](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L221)* ___ @@ -858,7 +858,7 @@ ___ • **Push2**: = "PUSH2" -*Defined in [index.ts:204](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L204)* +*Defined in [index.ts:204](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L204)* ___ @@ -866,7 +866,7 @@ ___ • **Push20**: = "PUSH20" -*Defined in [index.ts:222](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L222)* +*Defined in [index.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L222)* ___ @@ -874,7 +874,7 @@ ___ • **Push21**: = "PUSH21" -*Defined in [index.ts:223](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L223)* +*Defined in [index.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L223)* ___ @@ -882,7 +882,7 @@ ___ • **Push22**: = "PUSH22" -*Defined in [index.ts:224](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L224)* +*Defined in [index.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L224)* ___ @@ -890,7 +890,7 @@ ___ • **Push23**: = "PUSH23" -*Defined in [index.ts:225](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L225)* +*Defined in [index.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L225)* ___ @@ -898,7 +898,7 @@ ___ • **Push24**: = "PUSH24" -*Defined in [index.ts:226](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L226)* +*Defined in [index.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L226)* ___ @@ -906,7 +906,7 @@ ___ • **Push25**: = "PUSH25" -*Defined in [index.ts:227](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L227)* +*Defined in [index.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L227)* ___ @@ -914,7 +914,7 @@ ___ • **Push26**: = "PUSH26" -*Defined in [index.ts:228](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L228)* +*Defined in [index.ts:228](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L228)* ___ @@ -922,7 +922,7 @@ ___ • **Push27**: = "PUSH27" -*Defined in [index.ts:229](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L229)* +*Defined in [index.ts:229](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L229)* ___ @@ -930,7 +930,7 @@ ___ • **Push28**: = "PUSH28" -*Defined in [index.ts:230](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L230)* +*Defined in [index.ts:230](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L230)* ___ @@ -938,7 +938,7 @@ ___ • **Push29**: = "PUSH29" -*Defined in [index.ts:231](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L231)* +*Defined in [index.ts:231](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L231)* ___ @@ -946,7 +946,7 @@ ___ • **Push3**: = "PUSH3" -*Defined in [index.ts:205](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L205)* +*Defined in [index.ts:205](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L205)* ___ @@ -954,7 +954,7 @@ ___ • **Push30**: = "PUSH30" -*Defined in [index.ts:232](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L232)* +*Defined in [index.ts:232](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L232)* ___ @@ -962,7 +962,7 @@ ___ • **Push31**: = "PUSH31" -*Defined in [index.ts:233](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L233)* +*Defined in [index.ts:233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L233)* ___ @@ -970,7 +970,7 @@ ___ • **Push32**: = "PUSH32" -*Defined in [index.ts:234](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L234)* +*Defined in [index.ts:234](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L234)* ___ @@ -978,7 +978,7 @@ ___ • **Push4**: = "PUSH4" -*Defined in [index.ts:206](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L206)* +*Defined in [index.ts:206](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L206)* ___ @@ -986,7 +986,7 @@ ___ • **Push5**: = "PUSH5" -*Defined in [index.ts:207](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L207)* +*Defined in [index.ts:207](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L207)* ___ @@ -994,7 +994,7 @@ ___ • **Push6**: = "PUSH6" -*Defined in [index.ts:208](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L208)* +*Defined in [index.ts:208](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L208)* ___ @@ -1002,7 +1002,7 @@ ___ • **Push7**: = "PUSH7" -*Defined in [index.ts:209](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L209)* +*Defined in [index.ts:209](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L209)* ___ @@ -1010,7 +1010,7 @@ ___ • **Push8**: = "PUSH8" -*Defined in [index.ts:210](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L210)* +*Defined in [index.ts:210](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L210)* ___ @@ -1018,7 +1018,7 @@ ___ • **Push9**: = "PUSH9" -*Defined in [index.ts:211](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L211)* +*Defined in [index.ts:211](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L211)* ___ @@ -1026,7 +1026,7 @@ ___ • **Return**: = "RETURN" -*Defined in [index.ts:278](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L278)* +*Defined in [index.ts:278](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L278)* ___ @@ -1034,7 +1034,7 @@ ___ • **ReturnDataCopy**: = "RETURNDATACOPY" -*Defined in [index.ts:181](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L181)* +*Defined in [index.ts:181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L181)* ___ @@ -1042,7 +1042,7 @@ ___ • **ReturnDataSize**: = "RETURNDATASIZE" -*Defined in [index.ts:180](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L180)* +*Defined in [index.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L180)* ___ @@ -1050,7 +1050,7 @@ ___ • **Revert**: = "REVERT" -*Defined in [index.ts:281](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L281)* +*Defined in [index.ts:281](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L281)* ___ @@ -1058,7 +1058,7 @@ ___ • **SDiv**: = "SDIV" -*Defined in [index.ts:145](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L145)* +*Defined in [index.ts:145](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L145)* ___ @@ -1066,7 +1066,7 @@ ___ • **SGt**: = "SGT" -*Defined in [index.ts:156](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L156)* +*Defined in [index.ts:156](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L156)* ___ @@ -1074,7 +1074,7 @@ ___ • **SLoad**: = "SLOAD" -*Defined in [index.ts:194](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L194)* +*Defined in [index.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L194)* ___ @@ -1082,7 +1082,7 @@ ___ • **SLt**: = "SLT" -*Defined in [index.ts:155](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L155)* +*Defined in [index.ts:155](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L155)* ___ @@ -1090,7 +1090,7 @@ ___ • **SMod**: = "SMOD" -*Defined in [index.ts:147](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L147)* +*Defined in [index.ts:147](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L147)* ___ @@ -1098,7 +1098,7 @@ ___ • **SStore**: = "SSTORE" -*Defined in [index.ts:195](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L195)* +*Defined in [index.ts:195](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L195)* ___ @@ -1106,7 +1106,7 @@ ___ • **SelfDestruct**: = "SELFDESTRUCT" -*Defined in [index.ts:283](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L283)* +*Defined in [index.ts:283](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L283)* ___ @@ -1114,7 +1114,7 @@ ___ • **Sha3**: = "SHA3" -*Defined in [index.ts:165](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L165)* +*Defined in [index.ts:165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L165)* ___ @@ -1122,7 +1122,7 @@ ___ • **SignExtend**: = "SIGNEXTEND" -*Defined in [index.ts:151](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L151)* +*Defined in [index.ts:151](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L151)* ___ @@ -1130,7 +1130,7 @@ ___ • **StaticCall**: = "STATICCALL" -*Defined in [index.ts:280](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L280)* +*Defined in [index.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L280)* ___ @@ -1138,7 +1138,7 @@ ___ • **Stop**: = "STOP" -*Defined in [index.ts:140](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L140)* +*Defined in [index.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L140)* ___ @@ -1146,7 +1146,7 @@ ___ • **Sub**: = "SUB" -*Defined in [index.ts:143](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L143)* +*Defined in [index.ts:143](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L143)* ___ @@ -1154,7 +1154,7 @@ ___ • **Swap1**: = "SWAP1" -*Defined in [index.ts:253](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L253)* +*Defined in [index.ts:253](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L253)* ___ @@ -1162,7 +1162,7 @@ ___ • **Swap10**: = "SWAP10" -*Defined in [index.ts:262](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L262)* +*Defined in [index.ts:262](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L262)* ___ @@ -1170,7 +1170,7 @@ ___ • **Swap11**: = "SWAP11" -*Defined in [index.ts:263](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L263)* +*Defined in [index.ts:263](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L263)* ___ @@ -1178,7 +1178,7 @@ ___ • **Swap12**: = "SWAP12" -*Defined in [index.ts:264](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L264)* +*Defined in [index.ts:264](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L264)* ___ @@ -1186,7 +1186,7 @@ ___ • **Swap13**: = "SWAP13" -*Defined in [index.ts:265](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L265)* +*Defined in [index.ts:265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L265)* ___ @@ -1194,7 +1194,7 @@ ___ • **Swap14**: = "SWAP14" -*Defined in [index.ts:266](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L266)* +*Defined in [index.ts:266](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L266)* ___ @@ -1202,7 +1202,7 @@ ___ • **Swap15**: = "SWAP15" -*Defined in [index.ts:267](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L267)* +*Defined in [index.ts:267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L267)* ___ @@ -1210,7 +1210,7 @@ ___ • **Swap16**: = "SWAP16" -*Defined in [index.ts:268](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L268)* +*Defined in [index.ts:268](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L268)* ___ @@ -1218,7 +1218,7 @@ ___ • **Swap2**: = "SWAP2" -*Defined in [index.ts:254](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L254)* +*Defined in [index.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L254)* ___ @@ -1226,7 +1226,7 @@ ___ • **Swap3**: = "SWAP3" -*Defined in [index.ts:255](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L255)* +*Defined in [index.ts:255](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L255)* ___ @@ -1234,7 +1234,7 @@ ___ • **Swap4**: = "SWAP4" -*Defined in [index.ts:256](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L256)* +*Defined in [index.ts:256](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L256)* ___ @@ -1242,7 +1242,7 @@ ___ • **Swap5**: = "SWAP5" -*Defined in [index.ts:257](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L257)* +*Defined in [index.ts:257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L257)* ___ @@ -1250,7 +1250,7 @@ ___ • **Swap6**: = "SWAP6" -*Defined in [index.ts:258](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L258)* +*Defined in [index.ts:258](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L258)* ___ @@ -1258,7 +1258,7 @@ ___ • **Swap7**: = "SWAP7" -*Defined in [index.ts:259](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L259)* +*Defined in [index.ts:259](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L259)* ___ @@ -1266,7 +1266,7 @@ ___ • **Swap8**: = "SWAP8" -*Defined in [index.ts:260](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L260)* +*Defined in [index.ts:260](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L260)* ___ @@ -1274,7 +1274,7 @@ ___ • **Swap9**: = "SWAP9" -*Defined in [index.ts:261](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L261)* +*Defined in [index.ts:261](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L261)* ___ @@ -1282,7 +1282,7 @@ ___ • **TimeStamp**: = "TimeStamp" -*Defined in [index.ts:185](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L185)* +*Defined in [index.ts:185](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L185)* ___ @@ -1290,7 +1290,7 @@ ___ • **Xor**: = "XOR" -*Defined in [index.ts:161](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L161)* +*Defined in [index.ts:161](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L161)*
@@ -1316,7 +1316,7 @@ ___ • **Address**: = "address" -*Defined in [index.ts:489](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L489)* +*Defined in [index.ts:489](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L489)* ___ @@ -1324,7 +1324,7 @@ ___ • **Bool**: = "bool" -*Defined in [index.ts:490](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L490)* +*Defined in [index.ts:490](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L490)* ___ @@ -1332,7 +1332,7 @@ ___ • **Bytes**: = "bytes" -*Defined in [index.ts:491](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L491)* +*Defined in [index.ts:491](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L491)* ___ @@ -1340,7 +1340,7 @@ ___ • **Int**: = "int" -*Defined in [index.ts:492](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L492)* +*Defined in [index.ts:492](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L492)* ___ @@ -1348,7 +1348,7 @@ ___ • **String**: = "string" -*Defined in [index.ts:493](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L493)* +*Defined in [index.ts:493](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L493)* ___ @@ -1356,7 +1356,7 @@ ___ • **Tuple**: = "tuple" -*Defined in [index.ts:494](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L494)* +*Defined in [index.ts:494](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L494)* ___ @@ -1364,7 +1364,7 @@ ___ • **Uint**: = "uint" -*Defined in [index.ts:497](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L497)* +*Defined in [index.ts:497](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L497)* ___ @@ -1372,7 +1372,7 @@ ___ • **Uint256**: = "uint256" -*Defined in [index.ts:495](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L495)* +*Defined in [index.ts:495](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L495)* ___ @@ -1380,7 +1380,7 @@ ___ • **Uint8**: = "uint8" -*Defined in [index.ts:496](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L496)* +*Defined in [index.ts:496](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L496)*
@@ -1422,7 +1422,7 @@ ___ • **difficulty**: *`BigNumber`* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L350)* ___ @@ -1430,7 +1430,7 @@ ___ • **extraData**: *string* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L352)* ___ @@ -1438,7 +1438,7 @@ ___ • **gasLimit**: *number* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L354)* ___ @@ -1446,7 +1446,7 @@ ___ • **gasUsed**: *number* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L355)* ___ @@ -1454,7 +1454,7 @@ ___ • **hash**: *string | null* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L342)* ___ @@ -1462,7 +1462,7 @@ ___ • **logsBloom**: *string | null* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L346)* ___ @@ -1470,7 +1470,7 @@ ___ • **miner**: *string* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L349)* ___ @@ -1478,7 +1478,7 @@ ___ • **nonce**: *string | null* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L344)* ___ @@ -1486,7 +1486,7 @@ ___ • **number**: *number | null* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L341)* ___ @@ -1494,7 +1494,7 @@ ___ • **parentHash**: *string* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L343)* ___ @@ -1502,7 +1502,7 @@ ___ • **sha3Uncles**: *string* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L345)* ___ @@ -1510,7 +1510,7 @@ ___ • **size**: *number* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L353)* ___ @@ -1518,7 +1518,7 @@ ___ • **stateRoot**: *string* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L348)* ___ @@ -1526,7 +1526,7 @@ ___ • **timestamp**: *number* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L356)* ___ @@ -1534,7 +1534,7 @@ ___ • **totalDifficulty**: *`BigNumber`* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L351)* ___ @@ -1542,7 +1542,7 @@ ___ • **transactionsRoot**: *string* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L347)* ___ @@ -1550,7 +1550,7 @@ ___ • **uncles**: *string[]* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L357)*
@@ -1593,7 +1593,7 @@ ___ *Inherited from [AbstractBlock](#difficulty)* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L350)* ___ @@ -1603,7 +1603,7 @@ ___ *Inherited from [AbstractBlock](#extradata)* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L352)* ___ @@ -1613,7 +1613,7 @@ ___ *Inherited from [AbstractBlock](#gaslimit)* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L354)* ___ @@ -1623,7 +1623,7 @@ ___ *Inherited from [AbstractBlock](#gasused)* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L355)* ___ @@ -1633,7 +1633,7 @@ ___ *Inherited from [AbstractBlock](#hash)* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L342)* ___ @@ -1643,7 +1643,7 @@ ___ *Inherited from [AbstractBlock](#logsbloom)* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L346)* ___ @@ -1653,7 +1653,7 @@ ___ *Inherited from [AbstractBlock](#miner)* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L349)* ___ @@ -1663,7 +1663,7 @@ ___ *Inherited from [AbstractBlock](#nonce)* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L344)* ___ @@ -1673,7 +1673,7 @@ ___ *Inherited from [AbstractBlock](#number)* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L341)* ___ @@ -1683,7 +1683,7 @@ ___ *Inherited from [AbstractBlock](#parenthash)* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L343)* ___ @@ -1693,7 +1693,7 @@ ___ *Inherited from [AbstractBlock](#sha3uncles)* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L345)* ___ @@ -1703,7 +1703,7 @@ ___ *Inherited from [AbstractBlock](#size)* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L353)* ___ @@ -1713,7 +1713,7 @@ ___ *Inherited from [AbstractBlock](#stateroot)* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L348)* ___ @@ -1723,7 +1723,7 @@ ___ *Inherited from [AbstractBlock](#timestamp)* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L356)* ___ @@ -1733,7 +1733,7 @@ ___ *Inherited from [AbstractBlock](#totaldifficulty)* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L351)* ___ @@ -1741,7 +1741,7 @@ ___ • **transactions**: *string[]* -*Defined in [index.ts:361](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L361)* +*Defined in [index.ts:361](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L361)* ___ @@ -1751,7 +1751,7 @@ ___ *Inherited from [AbstractBlock](#transactionsroot)* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L347)* ___ @@ -1761,7 +1761,7 @@ ___ *Inherited from [AbstractBlock](#uncles)* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L357)*
@@ -1804,7 +1804,7 @@ ___ *Inherited from [AbstractBlock](#difficulty)* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L350)* ___ @@ -1814,7 +1814,7 @@ ___ *Inherited from [AbstractBlock](#extradata)* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L352)* ___ @@ -1824,7 +1824,7 @@ ___ *Inherited from [AbstractBlock](#gaslimit)* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L354)* ___ @@ -1834,7 +1834,7 @@ ___ *Inherited from [AbstractBlock](#gasused)* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L355)* ___ @@ -1844,7 +1844,7 @@ ___ *Inherited from [AbstractBlock](#hash)* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L342)* ___ @@ -1854,7 +1854,7 @@ ___ *Inherited from [AbstractBlock](#logsbloom)* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L346)* ___ @@ -1864,7 +1864,7 @@ ___ *Inherited from [AbstractBlock](#miner)* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L349)* ___ @@ -1874,7 +1874,7 @@ ___ *Inherited from [AbstractBlock](#nonce)* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L344)* ___ @@ -1884,7 +1884,7 @@ ___ *Inherited from [AbstractBlock](#number)* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L341)* ___ @@ -1894,7 +1894,7 @@ ___ *Inherited from [AbstractBlock](#parenthash)* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L343)* ___ @@ -1904,7 +1904,7 @@ ___ *Inherited from [AbstractBlock](#sha3uncles)* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L345)* ___ @@ -1914,7 +1914,7 @@ ___ *Inherited from [AbstractBlock](#size)* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L353)* ___ @@ -1924,7 +1924,7 @@ ___ *Inherited from [AbstractBlock](#stateroot)* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L348)* ___ @@ -1934,7 +1934,7 @@ ___ *Inherited from [AbstractBlock](#timestamp)* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L356)* ___ @@ -1944,7 +1944,7 @@ ___ *Inherited from [AbstractBlock](#totaldifficulty)* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L351)* ___ @@ -1952,7 +1952,7 @@ ___ • **transactions**: *[Transaction](#class-transaction)[]* -*Defined in [index.ts:365](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L365)* +*Defined in [index.ts:365](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L365)* ___ @@ -1962,7 +1962,7 @@ ___ *Inherited from [AbstractBlock](#transactionsroot)* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L347)* ___ @@ -1972,7 +1972,7 @@ ___ *Inherited from [AbstractBlock](#uncles)* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L357)*
@@ -2004,7 +2004,7 @@ ___ *Inherited from [CallTxDataBase](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L387)* ___ @@ -2012,7 +2012,7 @@ ___ • **from**? : *undefined | string* -*Defined in [index.ts:396](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L396)* +*Defined in [index.ts:396](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L396)* ___ @@ -2022,7 +2022,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L385)* ___ @@ -2032,7 +2032,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L386)* ___ @@ -2042,7 +2042,7 @@ ___ *Inherited from [CallTxDataBase](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L388)* ___ @@ -2052,7 +2052,7 @@ ___ *Inherited from [CallTxDataBase](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L383)* ___ @@ -2062,7 +2062,7 @@ ___ *Inherited from [CallTxDataBase](#optional-value)* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L384)*
@@ -2093,7 +2093,7 @@ ___ • **data**? : *undefined | string* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L387)* ___ @@ -2101,7 +2101,7 @@ ___ • **gas**? : *number | string | `BigNumber`* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L385)* ___ @@ -2109,7 +2109,7 @@ ___ • **gasPrice**? : *number | string | `BigNumber`* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L386)* ___ @@ -2117,7 +2117,7 @@ ___ • **nonce**? : *undefined | number* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L388)* ___ @@ -2125,7 +2125,7 @@ ___ • **to**? : *undefined | string* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L383)* ___ @@ -2133,7 +2133,7 @@ ___ • **value**? : *number | string | `BigNumber`* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L384)*
@@ -2173,7 +2173,7 @@ contracts to compile with the the version specified here. • **artifactsDir**? : *undefined | string* -*Defined in [index.ts:723](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L723)* +*Defined in [index.ts:723](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L723)* ___ @@ -2181,7 +2181,7 @@ ___ • **compilerSettings**? : *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:724](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L724)* +*Defined in [index.ts:724](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L724)* ___ @@ -2189,7 +2189,7 @@ ___ • **contracts**? : *string[] | "*"* -*Defined in [index.ts:725](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L725)* +*Defined in [index.ts:725](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L725)* ___ @@ -2197,7 +2197,7 @@ ___ • **contractsDir**? : *undefined | string* -*Defined in [index.ts:722](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L722)* +*Defined in [index.ts:722](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L722)* ___ @@ -2205,7 +2205,7 @@ ___ • **isOfflineMode**? : *undefined | false | true* -*Defined in [index.ts:727](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L727)* +*Defined in [index.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L727)* ___ @@ -2213,7 +2213,7 @@ ___ • **solcVersion**? : *undefined | string* -*Defined in [index.ts:728](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L728)* +*Defined in [index.ts:728](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L728)* ___ @@ -2221,7 +2221,7 @@ ___ • **useDockerisedSolc**? : *undefined | false | true* -*Defined in [index.ts:726](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L726)* +*Defined in [index.ts:726](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L726)*
@@ -2245,7 +2245,7 @@ ___ • **name**: *"solc"* -*Defined in [index.ts:647](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L647)* +*Defined in [index.ts:647](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L647)* ___ @@ -2253,7 +2253,7 @@ ___ • **settings**: *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:649](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L649)* +*Defined in [index.ts:649](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L649)* ___ @@ -2261,7 +2261,7 @@ ___ • **version**: *string* -*Defined in [index.ts:648](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L648)* +*Defined in [index.ts:648](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L648)*
@@ -2288,7 +2288,7 @@ ___ • **evmVersion**? : *"homestead" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople"* -*Defined in [index.ts:681](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L681)* +*Defined in [index.ts:681](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L681)* ___ @@ -2296,7 +2296,7 @@ ___ • **libraries**? : *undefined | object* -*Defined in [index.ts:683](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L683)* +*Defined in [index.ts:683](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L683)* ___ @@ -2304,7 +2304,7 @@ ___ • **metadata**? : *[CompilerSettingsMetadata](#class-compilersettingsmetadata)* -*Defined in [index.ts:682](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L682)* +*Defined in [index.ts:682](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L682)* ___ @@ -2312,7 +2312,7 @@ ___ • **optimizer**? : *[OptimizerSettings](#class-optimizersettings)* -*Defined in [index.ts:680](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L680)* +*Defined in [index.ts:680](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L680)* ___ @@ -2320,7 +2320,7 @@ ___ • **outputSelection**: *object* -*Defined in [index.ts:688](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L688)* +*Defined in [index.ts:688](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L688)* #### Type declaration: @@ -2334,7 +2334,7 @@ ___ • **remappings**? : *string[]* -*Defined in [index.ts:679](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L679)* +*Defined in [index.ts:679](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L679)*
@@ -2356,7 +2356,7 @@ ___ • **useLiteralContent**: *true* -*Defined in [index.ts:696](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L696)* +*Defined in [index.ts:696](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L696)*
@@ -2381,7 +2381,7 @@ ___ • **inputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L103)* +*Defined in [index.ts:103](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L103)* ___ @@ -2389,7 +2389,7 @@ ___ • **payable**: *boolean* -*Defined in [index.ts:104](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L104)* +*Defined in [index.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L104)* ___ @@ -2397,7 +2397,7 @@ ___ • **stateMutability**: *[ConstructorStateMutability](#constructorstatemutability)* -*Defined in [index.ts:105](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L105)* +*Defined in [index.ts:105](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L105)* ___ @@ -2405,7 +2405,7 @@ ___ • **type**: *string* -*Defined in [index.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L102)* +*Defined in [index.ts:102](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L102)*
@@ -2450,7 +2450,7 @@ If any of the sources change, the hash would change notifying us that a re-compi *Inherited from [ContractVersionData](#compiler)* -*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L633)* +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L633)* ___ @@ -2460,7 +2460,7 @@ ___ *Inherited from [ContractVersionData](#compileroutput)* -*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L643)* +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L643)* ___ @@ -2468,7 +2468,7 @@ ___ • **contractName**: *string* -*Defined in [index.ts:667](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L667)* +*Defined in [index.ts:667](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L667)* ___ @@ -2476,7 +2476,7 @@ ___ • **networks**: *[ContractNetworks](#class-contractnetworks)* -*Defined in [index.ts:668](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L668)* +*Defined in [index.ts:668](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L668)* ___ @@ -2484,7 +2484,7 @@ ___ • **schemaVersion**: *string* -*Defined in [index.ts:666](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L666)* +*Defined in [index.ts:666](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L666)* ___ @@ -2494,7 +2494,7 @@ ___ *Inherited from [ContractVersionData](#sourcecodes)* -*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L639)* +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L639)* #### Type declaration: @@ -2508,7 +2508,7 @@ ___ *Inherited from [ContractVersionData](#sourcetreehashhex)* -*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L642)* +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L642)* ___ @@ -2518,7 +2518,7 @@ ___ *Inherited from [ContractVersionData](#sources)* -*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L634)* +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L634)* #### Type declaration: @@ -2546,7 +2546,7 @@ ___ • **address**: *string* -*Defined in [index.ts:546](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L546)* +*Defined in [index.ts:546](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L546)* ___ @@ -2554,7 +2554,7 @@ ___ • **constructorArgs**: *string* -*Defined in [index.ts:550](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L550)* +*Defined in [index.ts:550](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L550)* ___ @@ -2562,7 +2562,7 @@ ___ • **links**: *object* -*Defined in [index.ts:547](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L547)* +*Defined in [index.ts:547](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L547)* #### Type declaration: @@ -2606,7 +2606,7 @@ ___ • **compiler**: *[CompilerOpts](#class-compileropts)* -*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L633)* +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L633)* ___ @@ -2614,7 +2614,7 @@ ___ • **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)* -*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L643)* +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L643)* ___ @@ -2622,7 +2622,7 @@ ___ • **sourceCodes**: *object* -*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L639)* +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L639)* #### Type declaration: @@ -2634,7 +2634,7 @@ ___ • **sourceTreeHashHex**: *string* -*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L642)* +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L642)* ___ @@ -2642,7 +2642,7 @@ ___ • **sources**: *object* -*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L634)* +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L634)* #### Type declaration: @@ -2674,7 +2674,7 @@ ___ • **components**? : *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L131)* +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L131)* ___ @@ -2682,7 +2682,7 @@ ___ • **name**: *string* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L129)* ___ @@ -2690,7 +2690,7 @@ ___ • **type**: *string* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L130)*
@@ -2745,7 +2745,7 @@ ___ *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* ___ @@ -2753,7 +2753,7 @@ ___ • **args**: *`A`* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L411)* ___ @@ -2763,7 +2763,7 @@ ___ *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* ___ @@ -2773,7 +2773,7 @@ ___ *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* ___ @@ -2783,7 +2783,7 @@ ___ *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* ___ @@ -2791,7 +2791,7 @@ ___ • **event**: *string* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L410)* ___ @@ -2801,7 +2801,7 @@ ___ *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* ___ @@ -2811,7 +2811,7 @@ ___ *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* ___ @@ -2821,7 +2821,7 @@ ___ *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* ___ @@ -2831,7 +2831,7 @@ ___ *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)*
@@ -2871,7 +2871,7 @@ ___ *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* ___ @@ -2881,7 +2881,7 @@ ___ *Inherited from [DecodedLogEntry](#args)* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L411)* ___ @@ -2891,7 +2891,7 @@ ___ *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* ___ @@ -2901,7 +2901,7 @@ ___ *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* ___ @@ -2911,7 +2911,7 @@ ___ *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* ___ @@ -2921,7 +2921,7 @@ ___ *Inherited from [DecodedLogEntry](#event)* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L410)* ___ @@ -2931,7 +2931,7 @@ ___ *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* ___ @@ -2939,7 +2939,7 @@ ___ • **removed**: *boolean* -*Defined in [index.ts:415](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L415)* +*Defined in [index.ts:415](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L415)* ___ @@ -2949,7 +2949,7 @@ ___ *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* ___ @@ -2959,7 +2959,7 @@ ___ *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* ___ @@ -2969,7 +2969,7 @@ ___ *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)*
@@ -2993,7 +2993,7 @@ ___ • **author**? : *undefined | string* -*Defined in [index.ts:620](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L620)* +*Defined in [index.ts:620](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L620)* ___ @@ -3001,7 +3001,7 @@ ___ • **methods**: *object* -*Defined in [index.ts:621](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L621)* +*Defined in [index.ts:621](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L621)* #### Type declaration: @@ -3013,7 +3013,7 @@ ___ • **title**? : *undefined | string* -*Defined in [index.ts:619](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L619)* +*Defined in [index.ts:619](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L619)*
@@ -3040,7 +3040,7 @@ ___ • **isEIP1193**: *boolean* -*Defined in [index.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L73)* +*Defined in [index.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L73)* ## Methods @@ -3048,7 +3048,7 @@ ___ ▸ **on**(`event`: [EIP1193Event](#eip1193event), `listener`: function): *this* -*Defined in [index.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L75)* +*Defined in [index.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L75)* **Parameters:** @@ -3072,7 +3072,7 @@ ___ ▸ **send**(`method`: string, `params?`: any[]): *`Promise`* -*Defined in [index.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L74)* +*Defined in [index.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L74)* **Parameters:** @@ -3106,7 +3106,7 @@ Name | Type | • **anonymous**: *boolean* -*Defined in [index.ts:125](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L125)* +*Defined in [index.ts:125](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L125)* ___ @@ -3114,7 +3114,7 @@ ___ • **inputs**: *[EventParameter](#class-eventparameter)[]* -*Defined in [index.ts:124](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L124)* +*Defined in [index.ts:124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L124)* ___ @@ -3122,7 +3122,7 @@ ___ • **name**: *string* -*Defined in [index.ts:123](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L123)* +*Defined in [index.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L123)* ___ @@ -3130,7 +3130,7 @@ ___ • **type**: *string* -*Defined in [index.ts:122](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L122)* +*Defined in [index.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L122)*
@@ -3159,7 +3159,7 @@ ___ *Inherited from [DataItem](#optional-components)* -*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L131)* +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L131)* ___ @@ -3167,7 +3167,7 @@ ___ • **indexed**: *boolean* -*Defined in [index.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L116)* +*Defined in [index.ts:116](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L116)* ___ @@ -3177,7 +3177,7 @@ ___ *Inherited from [DataItem](#name)* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L129)* ___ @@ -3187,7 +3187,7 @@ ___ *Inherited from [DataItem](#type)* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L130)*
@@ -3210,7 +3210,7 @@ ___ • **object**: *string* -*Defined in [index.ts:614](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L614)* +*Defined in [index.ts:614](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L614)* ___ @@ -3218,7 +3218,7 @@ ___ • **sourceMap**: *string* -*Defined in [index.ts:615](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L615)* +*Defined in [index.ts:615](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L615)*
@@ -3241,7 +3241,7 @@ ___ • **bytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* -*Defined in [index.ts:609](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L609)* +*Defined in [index.ts:609](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L609)* ___ @@ -3249,7 +3249,7 @@ ___ • **deployedBytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* -*Defined in [index.ts:610](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L610)* +*Defined in [index.ts:610](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L610)*
@@ -3272,7 +3272,7 @@ ___ • **payable**: *boolean* -*Defined in [index.ts:112](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L112)* +*Defined in [index.ts:112](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L112)* ___ @@ -3280,7 +3280,7 @@ ___ • **type**: *string* -*Defined in [index.ts:111](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L111)* +*Defined in [index.ts:111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L111)*
@@ -3306,7 +3306,7 @@ ___ • **address**? : *undefined | string* -*Defined in [index.ts:403](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L403)* +*Defined in [index.ts:403](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L403)* ___ @@ -3314,7 +3314,7 @@ ___ • **blockHash**? : *undefined | string* -*Defined in [index.ts:402](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L402)* +*Defined in [index.ts:402](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L402)* ___ @@ -3322,7 +3322,7 @@ ___ • **fromBlock**? : *number | string* -*Defined in [index.ts:400](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L400)* +*Defined in [index.ts:400](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L400)* ___ @@ -3330,7 +3330,7 @@ ___ • **toBlock**? : *number | string* -*Defined in [index.ts:401](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L401)* +*Defined in [index.ts:401](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L401)* ___ @@ -3338,7 +3338,7 @@ ___ • **topics**? : *[LogTopic](#logtopic)[]* -*Defined in [index.ts:404](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L404)* +*Defined in [index.ts:404](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L404)*
@@ -3360,7 +3360,7 @@ ___ ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L14)* +*Defined in [index.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L14)* **Parameters:** @@ -3393,7 +3393,7 @@ Name | Type | • **name**: *"solc"* -*Defined in [index.ts:672](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L672)* +*Defined in [index.ts:672](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L672)* ___ @@ -3401,7 +3401,7 @@ ___ • **settings**: *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:674](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L674)* +*Defined in [index.ts:674](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L674)* ___ @@ -3409,7 +3409,7 @@ ___ • **version**: *string* -*Defined in [index.ts:673](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L673)* +*Defined in [index.ts:673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L673)*
@@ -3434,7 +3434,7 @@ ___ • **id**: *number* -*Defined in [index.ts:324](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L324)* +*Defined in [index.ts:324](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L324)* ___ @@ -3442,7 +3442,7 @@ ___ • **jsonrpc**: *string* -*Defined in [index.ts:325](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L325)* +*Defined in [index.ts:325](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L325)* ___ @@ -3450,7 +3450,7 @@ ___ • **method**: *string* -*Defined in [index.ts:323](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L323)* +*Defined in [index.ts:323](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L323)* ___ @@ -3458,7 +3458,7 @@ ___ • **params**: *any[]* -*Defined in [index.ts:322](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L322)* +*Defined in [index.ts:322](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L322)*
@@ -3481,7 +3481,7 @@ ___ • **code**: *number* -*Defined in [index.ts:330](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L330)* +*Defined in [index.ts:330](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L330)* ___ @@ -3489,7 +3489,7 @@ ___ • **message**: *string* -*Defined in [index.ts:329](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L329)* +*Defined in [index.ts:329](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L329)*
@@ -3514,7 +3514,7 @@ ___ • **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)* -*Defined in [index.ts:337](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L337)* +*Defined in [index.ts:337](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L337)* ___ @@ -3522,7 +3522,7 @@ ___ • **id**: *number* -*Defined in [index.ts:335](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L335)* +*Defined in [index.ts:335](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L335)* ___ @@ -3530,7 +3530,7 @@ ___ • **jsonrpc**: *string* -*Defined in [index.ts:336](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L336)* +*Defined in [index.ts:336](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L336)* ___ @@ -3538,7 +3538,7 @@ ___ • **result**: *any* -*Defined in [index.ts:334](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L334)* +*Defined in [index.ts:334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L334)*
@@ -3571,7 +3571,7 @@ ___ • **address**: *string* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* ___ @@ -3579,7 +3579,7 @@ ___ • **blockHash**: *string | null* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* ___ @@ -3587,7 +3587,7 @@ ___ • **blockNumber**: *number | null* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* ___ @@ -3595,7 +3595,7 @@ ___ • **data**: *string* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* ___ @@ -3603,7 +3603,7 @@ ___ • **logIndex**: *number | null* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* ___ @@ -3611,7 +3611,7 @@ ___ • **topics**: *string[]* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* ___ @@ -3619,7 +3619,7 @@ ___ • **transactionHash**: *string* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* ___ @@ -3627,7 +3627,7 @@ ___ • **transactionIndex**: *number | null* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)*
@@ -3661,7 +3661,7 @@ ___ *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* ___ @@ -3671,7 +3671,7 @@ ___ *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* ___ @@ -3681,7 +3681,7 @@ ___ *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* ___ @@ -3691,7 +3691,7 @@ ___ *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* ___ @@ -3701,7 +3701,7 @@ ___ *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* ___ @@ -3709,7 +3709,7 @@ ___ • **removed**: *boolean* -*Defined in [index.ts:419](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L419)* +*Defined in [index.ts:419](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L419)* ___ @@ -3719,7 +3719,7 @@ ___ *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* ___ @@ -3729,7 +3729,7 @@ ___ *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* ___ @@ -3739,7 +3739,7 @@ ___ *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)*
@@ -3778,7 +3778,7 @@ ___ *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* ___ @@ -3788,7 +3788,7 @@ ___ *Inherited from [DecodedLogEntry](#args)* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L411)* ___ @@ -3798,7 +3798,7 @@ ___ *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* ___ @@ -3808,7 +3808,7 @@ ___ *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* ___ @@ -3818,7 +3818,7 @@ ___ *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* ___ @@ -3828,7 +3828,7 @@ ___ *Inherited from [DecodedLogEntry](#event)* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L410)* ___ @@ -3838,7 +3838,7 @@ ___ *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* ___ @@ -3848,7 +3848,7 @@ ___ *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* ___ @@ -3858,7 +3858,7 @@ ___ *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* ___ @@ -3868,7 +3868,7 @@ ___ *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)*
@@ -3896,7 +3896,7 @@ ___ • **constant**: *boolean* -*Defined in [index.ts:94](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L94)* +*Defined in [index.ts:94](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L94)* ___ @@ -3904,7 +3904,7 @@ ___ • **inputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L92)* +*Defined in [index.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L92)* ___ @@ -3912,7 +3912,7 @@ ___ • **name**: *string* -*Defined in [index.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L91)* +*Defined in [index.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L91)* ___ @@ -3920,7 +3920,7 @@ ___ • **outputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:93](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L93)* +*Defined in [index.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L93)* ___ @@ -3928,7 +3928,7 @@ ___ • **payable**: *boolean* -*Defined in [index.ts:96](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L96)* +*Defined in [index.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L96)* ___ @@ -3936,7 +3936,7 @@ ___ • **stateMutability**: *[StateMutability](#statemutability)* -*Defined in [index.ts:95](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L95)* +*Defined in [index.ts:95](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L95)* ___ @@ -3944,7 +3944,7 @@ ___ • **type**: *string* -*Defined in [index.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L90)* +*Defined in [index.ts:90](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L90)*
@@ -3967,7 +3967,7 @@ ___ • **enabled**: *boolean* -*Defined in [index.ts:700](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L700)* +*Defined in [index.ts:700](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L700)* ___ @@ -3975,7 +3975,7 @@ ___ • **runs**? : *undefined | number* -*Defined in [index.ts:701](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L701)* +*Defined in [index.ts:701](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L701)*
@@ -3997,7 +3997,7 @@ ___ ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L20)* +*Defined in [index.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L20)* **Parameters:** @@ -4035,7 +4035,7 @@ Name | Type | • **address**: *string* -*Defined in [index.ts:483](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L483)* +*Defined in [index.ts:483](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L483)* ___ @@ -4043,7 +4043,7 @@ ___ • **blockHash**: *string | null* -*Defined in [index.ts:481](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L481)* +*Defined in [index.ts:481](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L481)* ___ @@ -4051,7 +4051,7 @@ ___ • **blockNumber**: *string | null* -*Defined in [index.ts:482](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L482)* +*Defined in [index.ts:482](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L482)* ___ @@ -4059,7 +4059,7 @@ ___ • **data**: *string* -*Defined in [index.ts:484](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L484)* +*Defined in [index.ts:484](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L484)* ___ @@ -4067,7 +4067,7 @@ ___ • **logIndex**: *string | null* -*Defined in [index.ts:478](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L478)* +*Defined in [index.ts:478](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L478)* ___ @@ -4075,7 +4075,7 @@ ___ • **topics**: *string[]* -*Defined in [index.ts:485](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L485)* +*Defined in [index.ts:485](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L485)* ___ @@ -4083,7 +4083,7 @@ ___ • **transactionHash**: *string* -*Defined in [index.ts:480](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L480)* +*Defined in [index.ts:480](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L480)* ___ @@ -4091,7 +4091,7 @@ ___ • **transactionIndex**: *string | null* -*Defined in [index.ts:479](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L479)* +*Defined in [index.ts:479](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L479)*
@@ -4118,7 +4118,7 @@ ___ • **component**: *"general" | "ewasm"* -*Defined in [index.ts:596](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L596)* +*Defined in [index.ts:596](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L596)* ___ @@ -4126,7 +4126,7 @@ ___ • **formattedMessage**? : *undefined | string* -*Defined in [index.ts:599](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L599)* +*Defined in [index.ts:599](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L599)* ___ @@ -4134,7 +4134,7 @@ ___ • **message**: *string* -*Defined in [index.ts:598](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L598)* +*Defined in [index.ts:598](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L598)* ___ @@ -4142,7 +4142,7 @@ ___ • **severity**: *[ErrorSeverity](#errorseverity)* -*Defined in [index.ts:597](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L597)* +*Defined in [index.ts:597](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L597)* ___ @@ -4150,7 +4150,7 @@ ___ • **sourceLocation**? : *[SourceLocation](#class-sourcelocation)* -*Defined in [index.ts:594](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L594)* +*Defined in [index.ts:594](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L594)* ___ @@ -4158,7 +4158,7 @@ ___ • **type**: *[ErrorType](#errortype)* -*Defined in [index.ts:595](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L595)* +*Defined in [index.ts:595](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L595)*
@@ -4180,7 +4180,7 @@ ___ • **id**: *number* -*Defined in [index.ts:705](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L705)* +*Defined in [index.ts:705](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L705)*
@@ -4204,7 +4204,7 @@ ___ • **end**: *number* -*Defined in [index.ts:605](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L605)* +*Defined in [index.ts:605](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L605)* ___ @@ -4212,7 +4212,7 @@ ___ • **file**: *string* -*Defined in [index.ts:603](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L603)* +*Defined in [index.ts:603](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L603)* ___ @@ -4220,7 +4220,7 @@ ___ • **start**: *number* -*Defined in [index.ts:604](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L604)* +*Defined in [index.ts:604](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L604)*
@@ -4244,7 +4244,7 @@ ___ • **abi**: *[ContractAbi](#contractabi)* -*Defined in [index.ts:556](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L556)* +*Defined in [index.ts:556](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L556)* ___ @@ -4252,7 +4252,7 @@ ___ • **devdoc**? : *[DevdocOutput](#class-devdocoutput)* -*Defined in [index.ts:558](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L558)* +*Defined in [index.ts:558](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L558)* ___ @@ -4260,7 +4260,7 @@ ___ • **evm**: *[EvmOutput](#class-evmoutput)* -*Defined in [index.ts:557](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L557)* +*Defined in [index.ts:557](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L557)*
@@ -4284,7 +4284,7 @@ ___ • **contracts**: *object* -*Defined in [index.ts:570](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L570)* +*Defined in [index.ts:570](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L570)* #### Type declaration: @@ -4298,7 +4298,7 @@ ___ • **errors**: *[SolcError](#class-solcerror)[]* -*Defined in [index.ts:562](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L562)* +*Defined in [index.ts:562](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L562)* ___ @@ -4306,7 +4306,7 @@ ___ • **sources**: *object* -*Defined in [index.ts:563](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L563)* +*Defined in [index.ts:563](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L563)* #### Type declaration: @@ -4340,7 +4340,7 @@ ___ • **depth**: *number* -*Defined in [index.ts:287](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L287)* +*Defined in [index.ts:287](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L287)* ___ @@ -4348,7 +4348,7 @@ ___ • **error**: *string* -*Defined in [index.ts:288](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L288)* +*Defined in [index.ts:288](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L288)* ___ @@ -4356,7 +4356,7 @@ ___ • **gas**: *number* -*Defined in [index.ts:289](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L289)* +*Defined in [index.ts:289](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L289)* ___ @@ -4364,7 +4364,7 @@ ___ • **gasCost**: *number* -*Defined in [index.ts:290](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L290)* +*Defined in [index.ts:290](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L290)* ___ @@ -4372,7 +4372,7 @@ ___ • **memory**: *string[]* -*Defined in [index.ts:291](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L291)* +*Defined in [index.ts:291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L291)* ___ @@ -4380,7 +4380,7 @@ ___ • **op**: *[OpCode](#enumeration-opcode)* -*Defined in [index.ts:292](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L292)* +*Defined in [index.ts:292](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L292)* ___ @@ -4388,7 +4388,7 @@ ___ • **pc**: *number* -*Defined in [index.ts:293](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L293)* +*Defined in [index.ts:293](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L293)* ___ @@ -4396,7 +4396,7 @@ ___ • **stack**: *string[]* -*Defined in [index.ts:294](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L294)* +*Defined in [index.ts:294](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L294)* ___ @@ -4404,7 +4404,7 @@ ___ • **storage**: *object* -*Defined in [index.ts:295](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L295)* +*Defined in [index.ts:295](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L295)* #### Type declaration: @@ -4434,7 +4434,7 @@ ___ • **disableMemory**? : *undefined | false | true* -*Defined in [index.ts:510](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L510)* +*Defined in [index.ts:510](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L510)* ___ @@ -4442,7 +4442,7 @@ ___ • **disableStack**? : *undefined | false | true* -*Defined in [index.ts:511](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L511)* +*Defined in [index.ts:511](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L511)* ___ @@ -4450,7 +4450,7 @@ ___ • **disableStorage**? : *undefined | false | true* -*Defined in [index.ts:512](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L512)* +*Defined in [index.ts:512](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L512)* ___ @@ -4458,7 +4458,7 @@ ___ • **timeout**? : *undefined | string* -*Defined in [index.ts:514](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L514)* +*Defined in [index.ts:514](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L514)* ___ @@ -4466,7 +4466,7 @@ ___ • **tracer**? : *undefined | string* -*Defined in [index.ts:513](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L513)* +*Defined in [index.ts:513](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L513)*
@@ -4498,7 +4498,7 @@ ___ • **blockHash**: *string | null* -*Defined in [index.ts:371](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L371)* +*Defined in [index.ts:371](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L371)* ___ @@ -4506,7 +4506,7 @@ ___ • **blockNumber**: *number | null* -*Defined in [index.ts:372](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L372)* +*Defined in [index.ts:372](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L372)* ___ @@ -4514,7 +4514,7 @@ ___ • **from**: *string* -*Defined in [index.ts:374](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L374)* +*Defined in [index.ts:374](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L374)* ___ @@ -4522,7 +4522,7 @@ ___ • **gas**: *number* -*Defined in [index.ts:378](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L378)* +*Defined in [index.ts:378](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L378)* ___ @@ -4530,7 +4530,7 @@ ___ • **gasPrice**: *`BigNumber`* -*Defined in [index.ts:377](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L377)* +*Defined in [index.ts:377](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L377)* ___ @@ -4538,7 +4538,7 @@ ___ • **hash**: *string* -*Defined in [index.ts:369](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L369)* +*Defined in [index.ts:369](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L369)* ___ @@ -4546,7 +4546,7 @@ ___ • **input**: *string* -*Defined in [index.ts:379](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L379)* +*Defined in [index.ts:379](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L379)* ___ @@ -4554,7 +4554,7 @@ ___ • **nonce**: *number* -*Defined in [index.ts:370](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L370)* +*Defined in [index.ts:370](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L370)* ___ @@ -4562,7 +4562,7 @@ ___ • **to**: *string | null* -*Defined in [index.ts:375](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L375)* +*Defined in [index.ts:375](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L375)* ___ @@ -4570,7 +4570,7 @@ ___ • **transactionIndex**: *number | null* -*Defined in [index.ts:373](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L373)* +*Defined in [index.ts:373](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L373)* ___ @@ -4578,7 +4578,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [index.ts:376](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L376)* +*Defined in [index.ts:376](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L376)*
@@ -4612,7 +4612,7 @@ ___ • **blockHash**: *string* -*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L440)* +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L440)* ___ @@ -4620,7 +4620,7 @@ ___ • **blockNumber**: *number* -*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L441)* +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L441)* ___ @@ -4628,7 +4628,7 @@ ___ • **contractAddress**: *string | null* -*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L449)* +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L449)* ___ @@ -4636,7 +4636,7 @@ ___ • **cumulativeGasUsed**: *number* -*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L447)* +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L447)* ___ @@ -4644,7 +4644,7 @@ ___ • **from**: *string* -*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L444)* +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L444)* ___ @@ -4652,7 +4652,7 @@ ___ • **gasUsed**: *number* -*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L448)* +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L448)* ___ @@ -4660,7 +4660,7 @@ ___ • **logs**: *[LogEntry](#class-logentry)[]* -*Defined in [index.ts:450](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L450)* +*Defined in [index.ts:450](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L450)* ___ @@ -4668,7 +4668,7 @@ ___ • **status**: *[TransactionReceiptStatus](#transactionreceiptstatus)* -*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L446)* +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L446)* ___ @@ -4676,7 +4676,7 @@ ___ • **to**: *string* -*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L445)* +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L445)* ___ @@ -4684,7 +4684,7 @@ ___ • **transactionHash**: *string* -*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L442)* +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L442)* ___ @@ -4692,7 +4692,7 @@ ___ • **transactionIndex**: *number* -*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L443)* +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L443)*
@@ -4732,7 +4732,7 @@ otherwise we don't. *Inherited from [TransactionReceipt](#blockhash)* -*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L440)* +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L440)* ___ @@ -4742,7 +4742,7 @@ ___ *Inherited from [TransactionReceipt](#blocknumber)* -*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L441)* +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L441)* ___ @@ -4752,7 +4752,7 @@ ___ *Inherited from [TransactionReceipt](#contractaddress)* -*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L449)* +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L449)* ___ @@ -4762,7 +4762,7 @@ ___ *Inherited from [TransactionReceipt](#cumulativegasused)* -*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L447)* +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L447)* ___ @@ -4772,7 +4772,7 @@ ___ *Inherited from [TransactionReceipt](#from)* -*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L444)* +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L444)* ___ @@ -4782,7 +4782,7 @@ ___ *Inherited from [TransactionReceipt](#gasused)* -*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L448)* +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L448)* ___ @@ -4792,7 +4792,7 @@ ___ *Overrides [TransactionReceipt](#logs)* -*Defined in [index.ts:506](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L506)* +*Defined in [index.ts:506](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L506)* ___ @@ -4802,7 +4802,7 @@ ___ *Inherited from [TransactionReceipt](#status)* -*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L446)* +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L446)* ___ @@ -4812,7 +4812,7 @@ ___ *Inherited from [TransactionReceipt](#to)* -*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L445)* +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L445)* ___ @@ -4822,7 +4822,7 @@ ___ *Inherited from [TransactionReceipt](#transactionhash)* -*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L442)* +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L442)* ___ @@ -4832,7 +4832,7 @@ ___ *Inherited from [TransactionReceipt](#transactionindex)* -*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L443)* +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L443)*
@@ -4856,7 +4856,7 @@ ___ • **gas**: *number* -*Defined in [index.ts:299](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L299)* +*Defined in [index.ts:299](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L299)* ___ @@ -4864,7 +4864,7 @@ ___ • **returnValue**: *any* -*Defined in [index.ts:300](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L300)* +*Defined in [index.ts:300](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L300)* ___ @@ -4872,7 +4872,7 @@ ___ • **structLogs**: *[StructLog](#class-structlog)[]* -*Defined in [index.ts:301](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L301)* +*Defined in [index.ts:301](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L301)*
@@ -4900,7 +4900,7 @@ ___ *Overrides [DataItem](#optional-components)* -*Defined in [index.ts:135](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L135)* +*Defined in [index.ts:135](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L135)* ___ @@ -4910,7 +4910,7 @@ ___ *Inherited from [DataItem](#name)* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L129)* ___ @@ -4920,7 +4920,7 @@ ___ *Inherited from [DataItem](#type)* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L130)*
@@ -4954,7 +4954,7 @@ ___ *Inherited from [CallTxDataBase](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L387)* ___ @@ -4962,7 +4962,7 @@ ___ • **from**: *string* -*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L392)* +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L392)* ___ @@ -4972,7 +4972,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L385)* ___ @@ -4982,7 +4982,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L386)* ___ @@ -4992,7 +4992,7 @@ ___ *Inherited from [CallTxDataBase](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L388)* ___ @@ -5002,7 +5002,7 @@ ___ *Inherited from [CallTxDataBase](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L383)* ___ @@ -5012,7 +5012,7 @@ ___ *Inherited from [CallTxDataBase](#optional-value)* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L384)*
@@ -5044,7 +5044,7 @@ ___ *Inherited from [CallTxDataBase](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L387)* ___ @@ -5054,7 +5054,7 @@ ___ *Inherited from [TxData](#from)* -*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L392)* +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L392)* ___ @@ -5064,7 +5064,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L385)* ___ @@ -5074,7 +5074,7 @@ ___ *Inherited from [CallTxDataBase](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L386)* ___ @@ -5084,7 +5084,7 @@ ___ *Inherited from [CallTxDataBase](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L388)* ___ @@ -5094,7 +5094,7 @@ ___ *Inherited from [CallTxDataBase](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L383)* ___ @@ -5104,7 +5104,7 @@ ___ *Overrides [CallTxDataBase](#optional-value)* -*Defined in [index.ts:434](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L434)* +*Defined in [index.ts:434](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L434)*
@@ -5129,9 +5129,9 @@ This interface allowed sending synchonous requests, support for which was later ### send -▸ **send**(`payload`: [JSONRPCRequestPayload](#class-jsonrpcresponsepayload)* +▸ **send**(`payload`: [JSONRPCRequestPayload](_index_.jsonrpcrequestpayload.md)): *[JSONRPCResponsePayload](#class-jsonrpcresponsepayload)* -*Defined in [index.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L45)* +*Defined in [index.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L45)* **Parameters:** @@ -5147,7 +5147,7 @@ ___ ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L44)* +*Defined in [index.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L44)* **Parameters:** @@ -5182,7 +5182,7 @@ before the first attempts to conform to EIP1193 ▸ **send**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L54)* +*Defined in [index.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L54)* **Parameters:** @@ -5217,7 +5217,7 @@ however it does not conform entirely. ▸ **send**(`method`: string, `params?`: any[]): *`Promise`* -*Defined in [index.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L63)* +*Defined in [index.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L63)* **Parameters:** @@ -5260,7 +5260,7 @@ add here • **isMetaMask**? : *undefined | false | true* -*Defined in [index.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L31)* +*Defined in [index.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L31)* ___ @@ -5268,7 +5268,7 @@ ___ • **isParity**? : *undefined | false | true* -*Defined in [index.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L32)* +*Defined in [index.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L32)* ___ @@ -5276,7 +5276,7 @@ ___ • **isZeroExProvider**? : *undefined | false | true* -*Defined in [index.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L30)* +*Defined in [index.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L30)* ## Methods @@ -5284,7 +5284,7 @@ ___ ▸ **enable**(): *`Promise`* -*Defined in [index.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L34)* +*Defined in [index.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L34)* **Returns:** *`Promise`* @@ -5294,7 +5294,7 @@ ___ ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L35)* +*Defined in [index.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L35)* **Parameters:** @@ -5311,137 +5311,9 @@ ___ ▸ **stop**(): *void* -*Defined in [index.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/ethereum-types/src/index.ts#L33)* +*Defined in [index.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L33)* **Returns:** *void*
-* [Globals](globals.md) -* [External Modules]() - * [index](modules/_index_.md) - * [index.AbiType](#class-abitype) - * [index.BlockParamLiteral](#class-blockparamliteral) - * [index.OpCode](#class-opcode) - * [index.SolidityTypes](#class-soliditytypes) - * [index.AbstractBlock](#class-abstractblock) - * [index.BlockWithTransactionData](#class-blockwithtransactiondata) - * [index.BlockWithoutTransactionData](#class-blockwithouttransactiondata) - * [index.CallData](#class-calldata) - * [index.CallTxDataBase](#class-calltxdatabase) - * [index.CompilerOptions](#class-compileroptions) - * [index.CompilerOpts](#class-compileropts) - * [index.CompilerSettings](#class-compilersettings) - * [index.CompilerSettingsMetadata](#class-compilersettingsmetadata) - * [index.ConstructorAbi](#class-constructorabi) - * [index.ContractArtifact](#class-contractartifact) - * [index.ContractNetworkData](#class-contractnetworkdata) - * [index.ContractNetworks](#class-contractnetworks) - * [index.ContractVersionData](#class-contractversiondata) - * [index.DataItem](#class-dataitem) - * [index.DecodedLogArgs](#class-decodedlogargs) - * [index.DecodedLogEntry](#class-decodedlogentry) - * [index.DecodedLogEntryEvent](#class-decodedlogentryevent) - * [index.DevdocOutput](#class-devdocoutput) - * [index.EIP1193Provider](#class-eip1193provider) - * [index.EventAbi](#class-eventabi) - * [index.EventParameter](#class-eventparameter) - * [index.EvmBytecodeOutput](#class-evmbytecodeoutput) - * [index.EvmOutput](#class-evmoutput) - * [index.FallbackAbi](#class-fallbackabi) - * [index.FilterObject](#class-filterobject) - * [index.GanacheProvider](#class-ganacheprovider) - * [index.GeneratedCompilerOptions](#class-generatedcompileroptions) - * [index.JSONRPCRequestPayload](#class-jsonrpcrequestpayload) - * [index.JSONRPCResponseError](#class-jsonrpcresponseerror) - * [index.JSONRPCResponsePayload](#class-jsonrpcresponsepayload) - * [index.LogEntry](#class-logentry) - * [index.LogEntryEvent](#class-logentryevent) - * [index.LogWithDecodedArgs](#class-logwithdecodedargs) - * [index.MethodAbi](#class-methodabi) - * [index.OptimizerSettings](#class-optimizersettings) - * [index.Provider](#class-provider) - * [index.RawLogEntry](#class-rawlogentry) - * [index.SolcError](#class-solcerror) - * [index.Source](#class-source) - * [index.SourceLocation](#class-sourcelocation) - * [index.StandardContractOutput](#class-standardcontractoutput) - * [index.StandardOutput](#class-standardoutput) - * [index.StructLog](#class-structlog) - * [index.TraceParams](#class-traceparams) - * [index.Transaction](#class-transaction) - * [index.TransactionReceipt](#class-transactionreceipt) - * [index.TransactionReceiptWithDecodedLogs](#class-transactionreceiptwithdecodedlogs) - * [index.TransactionTrace](#class-transactiontrace) - * [index.TupleDataItem](#class-tupledataitem) - * [index.TxData](#class-txdata) - * [index.TxDataPayable](#class-txdatapayable) - * [index.Web3JsV1Provider](#class-web3jsv1provider) - * [index.Web3JsV2Provider](#class-web3jsv2provider) - * [index.Web3JsV3Provider](#class-web3jsv3provider) - * [index.ZeroExProvider](#class-zeroexprovider) -* [Enums]() - * [index.AbiType](#class-abitype) - * [index.BlockParamLiteral](#class-blockparamliteral) - * [index.OpCode](#class-opcode) - * [index.SolidityTypes](#class-soliditytypes) -* [Interfaces]() - * [index.AbstractBlock](#class-abstractblock) - * [index.BlockWithTransactionData](#class-blockwithtransactiondata) - * [index.BlockWithoutTransactionData](#class-blockwithouttransactiondata) - * [index.CallData](#class-calldata) - * [index.CallTxDataBase](#class-calltxdatabase) - * [index.CompilerOptions](#class-compileroptions) - * [index.CompilerOpts](#class-compileropts) - * [index.CompilerSettings](#class-compilersettings) - * [index.CompilerSettingsMetadata](#class-compilersettingsmetadata) - * [index.ConstructorAbi](#class-constructorabi) - * [index.ContractArtifact](#class-contractartifact) - * [index.ContractNetworkData](#class-contractnetworkdata) - * [index.ContractNetworks](#class-contractnetworks) - * [index.ContractVersionData](#class-contractversiondata) - * [index.DataItem](#class-dataitem) - * [index.DecodedLogArgs](#class-decodedlogargs) - * [index.DecodedLogEntry](#class-decodedlogentry) - * [index.DecodedLogEntryEvent](#class-decodedlogentryevent) - * [index.DevdocOutput](#class-devdocoutput) - * [index.EIP1193Provider](#class-eip1193provider) - * [index.EventAbi](#class-eventabi) - * [index.EventParameter](#class-eventparameter) - * [index.EvmBytecodeOutput](#class-evmbytecodeoutput) - * [index.EvmOutput](#class-evmoutput) - * [index.FallbackAbi](#class-fallbackabi) - * [index.FilterObject](#class-filterobject) - * [index.GanacheProvider](#class-ganacheprovider) - * [index.GeneratedCompilerOptions](#class-generatedcompileroptions) - * [index.JSONRPCRequestPayload](#class-jsonrpcrequestpayload) - * [index.JSONRPCResponseError](#class-jsonrpcresponseerror) - * [index.JSONRPCResponsePayload](#class-jsonrpcresponsepayload) - * [index.LogEntry](#class-logentry) - * [index.LogEntryEvent](#class-logentryevent) - * [index.LogWithDecodedArgs](#class-logwithdecodedargs) - * [index.MethodAbi](#class-methodabi) - * [index.OptimizerSettings](#class-optimizersettings) - * [index.Provider](#class-provider) - * [index.RawLogEntry](#class-rawlogentry) - * [index.SolcError](#class-solcerror) - * [index.Source](#class-source) - * [index.SourceLocation](#class-sourcelocation) - * [index.StandardContractOutput](#class-standardcontractoutput) - * [index.StandardOutput](#class-standardoutput) - * [index.StructLog](#class-structlog) - * [index.TraceParams](#class-traceparams) - * [index.Transaction](#class-transaction) - * [index.TransactionReceipt](#class-transactionreceipt) - * [index.TransactionReceiptWithDecodedLogs](#class-transactionreceiptwithdecodedlogs) - * [index.TransactionTrace](#class-transactiontrace) - * [index.TupleDataItem](#class-tupledataitem) - * [index.TxData](#class-txdata) - * [index.TxDataPayable](#class-txdatapayable) - * [index.Web3JsV1Provider](#class-web3jsv1provider) - * [index.Web3JsV2Provider](#class-web3jsv2provider) - * [index.Web3JsV3Provider](#class-web3jsv3provider) - * [index.ZeroExProvider](#class-zeroexprovider) - -
- diff --git a/packages/json-schemas/docs/reference.mdx b/packages/json-schemas/docs/reference.mdx index 43caa6134c..1b7b1edf3a 100644 --- a/packages/json-schemas/docs/reference.mdx +++ b/packages/json-schemas/docs/reference.mdx @@ -24,7 +24,7 @@ A validator for [JSON-schemas](http://json-schema.org/) \+ **new SchemaValidator**(): *[SchemaValidator](#class-schemavalidator)* -*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/json-schemas/src/schema_validator.ts#L15)* +*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/json-schemas/src/schema_validator.ts#L15)* Instantiates a SchemaValidator instance @@ -36,7 +36,7 @@ Instantiates a SchemaValidator instance ▸ **addSchema**(`schema`: `Schema`): *void* -*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/json-schemas/src/schema_validator.ts#L32)* +*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/json-schemas/src/schema_validator.ts#L32)* Add a schema to the validator. All schemas and sub-schemas must be added to the validator before the `validate` and `isValid` methods can be called with @@ -56,7 +56,7 @@ ___ ▸ **isValid**(`instance`: any, `schema`: `Schema`): *boolean* -*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/json-schemas/src/schema_validator.ts#L57)* +*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/json-schemas/src/schema_validator.ts#L57)* Check whether an instance properly adheres to a JSON schema @@ -77,7 +77,7 @@ ___ ▸ **validate**(`instance`: any, `schema`: `Schema`): *`ValidatorResult`* -*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/json-schemas/src/schema_validator.ts#L46)* +*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/json-schemas/src/schema_validator.ts#L46)* Validate the JS object conforms to a specific JSON schema @@ -94,14 +94,3 @@ The results of the validation
-* [Globals](globals.md) -* [External Modules]() - * [index](modules/_index_.md) - * [schema_validator](modules/_schema_validator_.md) - * [schema_validator.SchemaValidator](#class-schemavalidator) - * [schemas](modules/_schemas_.md) -* [Classes]() - * [schema_validator.SchemaValidator](#class-schemavalidator) - -
- diff --git a/packages/migrations/docs/reference.mdx b/packages/migrations/docs/reference.mdx index 7cfe6fbd74..840ffdb5de 100644 --- a/packages/migrations/docs/reference.mdx +++ b/packages/migrations/docs/reference.mdx @@ -22,7 +22,7 @@ • **AccountLevels**: = "AccountLevels" -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L26)* ___ @@ -30,7 +30,7 @@ ___ • **Arbitrage**: = "Arbitrage" -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L28)* ___ @@ -38,7 +38,7 @@ ___ • **DummyToken**: = "DummyToken" -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L23)* ___ @@ -46,7 +46,7 @@ ___ • **EtherDelta**: = "EtherDelta" -*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L27)* +*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L27)* ___ @@ -54,7 +54,7 @@ ___ • **Exchange**: = "Exchange" -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L21)* ___ @@ -62,7 +62,7 @@ ___ • **MultiSigWalletWithTimeLock**: = "MultiSigWalletWithTimeLock" -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L20)* ___ @@ -70,7 +70,7 @@ ___ • **MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress**: = "MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress" -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L25)* ___ @@ -78,7 +78,7 @@ ___ • **TokenRegistry**: = "TokenRegistry" -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L19)* ___ @@ -86,7 +86,7 @@ ___ • **TokenTransferProxy**: = "TokenTransferProxy" -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L18)* ___ @@ -94,7 +94,7 @@ ___ • **WETH9**: = "WETH9" -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L24)* ___ @@ -102,7 +102,7 @@ ___ • **ZRXToken**: = "ZRXToken" -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L22)*
@@ -129,7 +129,7 @@ ___ • **address**? : *undefined | string* -*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L4)* +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L4)* ___ @@ -137,7 +137,7 @@ ___ • **decimals**: *`BigNumber`* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L7)* ___ @@ -145,7 +145,7 @@ ___ • **ipfsHash**: *string* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L8)* ___ @@ -153,7 +153,7 @@ ___ • **name**: *string* -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L5)* ___ @@ -161,7 +161,7 @@ ___ • **swarmHash**: *string* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L9)* ___ @@ -169,7 +169,7 @@ ___ • **symbol**: *string* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L6)*
@@ -192,7 +192,7 @@ ___ • **name**: *string* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L13)* ___ @@ -200,29 +200,7 @@ ___ • **symbol**: *string* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/migrations/src/types.ts#L14)* - -
- -* [Globals](globals.md) -* [External Modules]() - * [cli](modules/_cli_.md) - * [index](modules/_index_.md) - * [migrate](modules/_migrate_.md) - * [migrate_snapshot](modules/_migrate_snapshot_.md) - * [migration](modules/_migration_.md) - * [types](modules/_types_.md) - * [types.ContractName](#class-contractname) - * [types.ERC20Token](#class-erc20token) - * [types.ERC721Token](#class-erc721token) - * [utils/constants](modules/_utils_constants_.md) - * [utils/provider_factory](modules/_utils_provider_factory_.md) - * [utils/token_info](modules/_utils_token_info_.md) -* [Enums]() - * [types.ContractName](#class-contractname) -* [Interfaces]() - * [types.ERC20Token](#class-erc20token) - * [types.ERC721Token](#class-erc721token) +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L14)*
diff --git a/packages/order-utils/docs/reference.mdx b/packages/order-utils/docs/reference.mdx index 06540c0e8a..d2ef5ed7ea 100644 --- a/packages/order-utils/docs/reference.mdx +++ b/packages/order-utils/docs/reference.mdx @@ -21,7 +21,7 @@ for an Ethereum address and assetData ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L15)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L15)* Get balance of assetData for userAddress @@ -42,7 +42,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L22)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L22)* Get the 0x asset proxy allowance of assetData for userAddress @@ -87,7 +87,7 @@ Allowance amount in base units ▸ **deleteAll**(): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* **Returns:** *void* @@ -97,7 +97,7 @@ ___ ▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* **Parameters:** @@ -114,7 +114,7 @@ ___ ▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* **Parameters:** @@ -131,7 +131,7 @@ ___ ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* **Parameters:** @@ -148,7 +148,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* **Parameters:** @@ -165,7 +165,7 @@ ___ ▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* **Parameters:** @@ -183,7 +183,7 @@ ___ ▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* **Parameters:** @@ -221,7 +221,7 @@ and whether it's been cancelled. ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L15)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L15)* Get the amount of the order's takerToken amount already filled @@ -241,7 +241,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L22)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L22)* **Returns:** *string* @@ -251,7 +251,7 @@ ___ ▸ **isOrderCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L21)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L21)* Whether an order is cancelled @@ -296,7 +296,7 @@ Whether or not the order is cancelled ▸ **deleteAll**(): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L11)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L11)* **Returns:** *void* @@ -306,7 +306,7 @@ ___ ▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L8)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L8)* **Parameters:** @@ -322,7 +322,7 @@ ___ ▸ **deleteIsCancelled**(`orderHash`: string): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L10)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L10)* **Parameters:** @@ -338,7 +338,7 @@ ___ ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L5)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L5)* **Parameters:** @@ -354,7 +354,7 @@ ___ ▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L6)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L6)* **Parameters:** @@ -370,7 +370,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L12)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L12)* **Returns:** *string* @@ -380,7 +380,7 @@ ___ ▸ **setFilledTakerAmount**(`orderHash`: string, `balance`: `BigNumber`): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L7)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L7)* **Parameters:** @@ -397,7 +397,7 @@ ___ ▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L9)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L9)* **Parameters:** @@ -433,9 +433,9 @@ An exchange transfer simulator which simulates asset transfers exactly how the ### constructor -\+ **new ExchangeTransferSimulator**(`store`: [AbstractBalanceAndProxyAllowanceLazyStore](#class-exchangetransfersimulator)* +\+ **new ExchangeTransferSimulator**(`store`: [AbstractBalanceAndProxyAllowanceLazyStore](_abstract_abstract_balance_and_proxy_allowance_lazy_store_.abstractbalanceandproxyallowancelazystore.md)): *[ExchangeTransferSimulator](#class-exchangetransfersimulator)* -*Defined in [exchange_transfer_simulator.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/exchange_transfer_simulator.ts#L50)* +*Defined in [exchange_transfer_simulator.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/exchange_transfer_simulator.ts#L50)* Instantiate a ExchangeTransferSimulator @@ -455,7 +455,7 @@ an instance of ExchangeTransferSimulator ▸ **transferFromAsync**(`assetData`: string, `from`: string, `to`: string, `amountInBaseUnits`: `BigNumber`, `tradeSide`: [TradeSide](#enumeration-tradeside), `transferType`: [TransferType](#enumeration-transfertype)): *`Promise`* -*Defined in [exchange_transfer_simulator.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/exchange_transfer_simulator.ts#L70)* +*Defined in [exchange_transfer_simulator.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/exchange_transfer_simulator.ts#L70)* Simulates transferFrom call performed by a proxy @@ -496,9 +496,9 @@ Name | Type | Description | ### constructor -\+ **new OrderStateUtils**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](#class-orderstateutils)* +\+ **new OrderStateUtils**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](_abstract_abstract_balance_and_proxy_allowance_fetcher_.abstractbalanceandproxyallowancefetcher.md), `orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](_abstract_abstract_order_filled_cancelled_fetcher_.abstractorderfilledcancelledfetcher.md)): *[OrderStateUtils](#class-orderstateutils)* -*Defined in [order_state_utils.ts:98](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_state_utils.ts#L98)* +*Defined in [order_state_utils.ts:98](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_state_utils.ts#L98)* Instantiate OrderStateUtils @@ -519,7 +519,7 @@ Instance of OrderStateUtils ▸ **getMaxFillableTakerAssetAmountAsync**(`signedOrder`: `SignedOrder`, `takerAddress`: string): *`Promise`* -*Defined in [order_state_utils.ts:192](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_state_utils.ts#L192)* +*Defined in [order_state_utils.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_state_utils.ts#L192)* Get the max amount of the supplied order's takerAmount that could still be filled @@ -540,7 +540,7 @@ ___ ▸ **getOpenOrderRelevantStateAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [order_state_utils.ts:162](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_state_utils.ts#L162)* +*Defined in [order_state_utils.ts:162](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_state_utils.ts#L162)* Get state relevant to an order (i.e makerBalance, makerAllowance, filledTakerAssetAmount, etc... @@ -560,7 +560,7 @@ ___ ▸ **getOpenOrderStateAsync**(`signedOrder`: `SignedOrder`, `transactionHash?`: undefined | string): *`Promise`* -*Defined in [order_state_utils.ts:122](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_state_utils.ts#L122)* +*Defined in [order_state_utils.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_state_utils.ts#L122)* Get the orderState for an "open" order (i.e where takerAddress=NULL_ADDRESS) This method will only check the maker's balance/allowance to calculate the @@ -606,9 +606,9 @@ A utility class for validating orders ### constructor -\+ **new OrderValidationUtils**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](#class-ordervalidationutils)* +\+ **new OrderValidationUtils**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](_abstract_abstract_order_filled_cancelled_fetcher_.abstractorderfilledcancelledfetcher.md), `supportedProvider`: `SupportedProvider`): *[OrderValidationUtils](#class-ordervalidationutils)* -*Defined in [order_validation_utils.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L159)* +*Defined in [order_validation_utils.ts:159](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L159)* Instantiate OrderValidationUtils @@ -629,7 +629,7 @@ An instance of OrderValidationUtils ▸ **validateFillOrderThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `takerAddress`: string, `zrxAssetData`: string): *`Promise`* -*Defined in [order_validation_utils.ts:236](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L236)* +*Defined in [order_validation_utils.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L236)* Validate a call to FillOrder and throw if it wouldn't succeed @@ -652,7 +652,7 @@ ___ ▸ **validateOrderFillableOrThrowAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `zrxAssetData`: string, `expectedFillTakerTokenAmount?`: `BigNumber`): *`Promise`* -*Defined in [order_validation_utils.ts:185](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L185)* +*Defined in [order_validation_utils.ts:185](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L185)* Validate if the supplied order is fillable, and throw if it isn't @@ -673,7 +673,7 @@ ___ ▸ **isRoundingErrorFloor**(`numerator`: `BigNumber`, `denominator`: `BigNumber`, `target`: `BigNumber`): *boolean* -*Defined in [order_validation_utils.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L34)* +*Defined in [order_validation_utils.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L34)* A Typescript implementation mirroring the implementation of isRoundingError in the Exchange smart contract @@ -694,7 +694,7 @@ ___ ▸ **validateFillOrderBalancesAllowancesThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `senderAddress`: string, `zrxAssetData`: string): *`Promise`* -*Defined in [order_validation_utils.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L61)* +*Defined in [order_validation_utils.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L61)* Validate that the maker & taker have sufficient balances/allowances to fill the supplied order to the fillTakerAssetAmount amount @@ -717,7 +717,7 @@ ___ ▸ **validateMakerTransferThrowIfInvalidAsync**(`networkId`: `NetworkId`, `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `makerAssetAmount`: `BigNumber`, `takerAddress?`: undefined | string): *`Promise`* -*Defined in [order_validation_utils.ts:127](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/order_validation_utils.ts#L127)* +*Defined in [order_validation_utils.ts:127](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L127)* Validate the transfer from the maker to the taker. This is simulated on-chain via an eth_call. If this call fails, the asset is currently nontransferable. @@ -758,7 +758,7 @@ Name | Type | Description | \+ **new RemainingFillableCalculator**(`orderFee`: `BigNumber`, `orderAssetAmount`: `BigNumber`, `isTraderAssetZRX`: boolean, `transferrableAssetAmount`: `BigNumber`, `transferrableFeeAmount`: `BigNumber`, `remainingOrderAssetAmount`: `BigNumber`): *[RemainingFillableCalculator](#class-remainingfillablecalculator)* -*Defined in [remaining_fillable_calculator.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/remaining_fillable_calculator.ts#L11)* +*Defined in [remaining_fillable_calculator.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/remaining_fillable_calculator.ts#L11)* **Parameters:** @@ -779,7 +779,7 @@ Name | Type | ▸ **computeRemainingFillable**(): *`BigNumber`* -*Defined in [remaining_fillable_calculator.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/remaining_fillable_calculator.ts#L30)* +*Defined in [remaining_fillable_calculator.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/remaining_fillable_calculator.ts#L30)* **Returns:** *`BigNumber`* @@ -818,9 +818,9 @@ Copy on read store for balances/proxyAllowances of tokens/accounts ### constructor -\+ **new BalanceAndProxyAllowanceLazyStore**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](#class-balanceandproxyallowancelazystore)* +\+ **new BalanceAndProxyAllowanceLazyStore**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](_abstract_abstract_balance_and_proxy_allowance_fetcher_.abstractbalanceandproxyallowancefetcher.md)): *[BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore)* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L23)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L23)* Instantiates a BalanceAndProxyAllowanceLazyStore @@ -840,7 +840,7 @@ Instance of BalanceAndProxyAllowanceLazyStore ▸ **deleteAll**(): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:136](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L136)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L136)* Delete all balances & allowances @@ -852,7 +852,7 @@ ___ ▸ **deleteAllERC721ProxyAllowance**(`tokenAddress`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:119](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L119)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L119)* Clear all ERC721 0x proxy allowances a user has on all items of a specific ERC721 contract @@ -871,7 +871,7 @@ ___ ▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L63)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L63)* Clear the balance of an asset for a user @@ -890,7 +890,7 @@ ___ ▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:106](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L106)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:106](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L106)* Clear the 0x asset proxy allowance @@ -909,7 +909,7 @@ ___ ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L39)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L39)* Get a users balance of an asset @@ -928,7 +928,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L76)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L76)* Get the 0x asset proxy allowance @@ -947,7 +947,7 @@ ___ ▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L52)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L52)* Set the balance of an asset for a user @@ -967,7 +967,7 @@ ___ ▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:95](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L95)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:95](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L95)* Set the 0x asset proxy allowance @@ -1018,9 +1018,9 @@ Copy on read store for balances/proxyAllowances of tokens/accounts ### constructor -\+ **new OrderFilledCancelledLazyStore**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](#class-orderfilledcancelledlazystore)* +\+ **new OrderFilledCancelledLazyStore**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](_abstract_abstract_order_filled_cancelled_fetcher_.abstractorderfilledcancelledfetcher.md)): *[OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore)* -*Defined in [store/order_filled_cancelled_lazy_store.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L19)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L19)* Instantiate a OrderFilledCancelledLazyStore @@ -1040,7 +1040,7 @@ An instance of OrderFilledCancelledLazyStore ▸ **deleteAll**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L90)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:90](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L90)* Clear all filled/cancelled state @@ -1052,7 +1052,7 @@ ___ ▸ **deleteAllFilled**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L103)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:103](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L103)* Clear all filled state @@ -1064,7 +1064,7 @@ ___ ▸ **deleteAllIsCancelled**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:97](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L97)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:97](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L97)* Clear all cancelled state @@ -1076,7 +1076,7 @@ ___ ▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L55)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L55)* Clear the filledTakerAssetAmount of an order @@ -1094,7 +1094,7 @@ ___ ▸ **deleteIsCancelled**(`orderHash`: string): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L84)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L84)* Clear whether the order has been cancelled if already set @@ -1112,7 +1112,7 @@ ___ ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [store/order_filled_cancelled_lazy_store.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L35)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L35)* Get the filledTakerAssetAmount of an order @@ -1132,7 +1132,7 @@ ___ ▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [store/order_filled_cancelled_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L63)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L63)* Check if an order has been cancelled @@ -1152,7 +1152,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [store/order_filled_cancelled_lazy_store.ts:109](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L109)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:109](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L109)* Get the ZRX assetData @@ -1164,7 +1164,7 @@ ___ ▸ **setFilledTakerAmount**(`orderHash`: string, `filledTakerAmount`: `BigNumber`): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L48)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L48)* Set the filledTakerAssetAmount of an order @@ -1183,7 +1183,7 @@ ___ ▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L77)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L77)* Set whether an order has been cancelled or not @@ -1213,7 +1213,7 @@ Name | Type | Description | • **Maker**: = "maker" -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L9)* ___ @@ -1221,7 +1221,7 @@ ___ • **Taker**: = "taker" -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L10)*
@@ -1240,7 +1240,7 @@ ___ • **Fee**: = "fee" -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L15)* ___ @@ -1248,7 +1248,7 @@ ___ • **Trade**: = "trade" -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L14)*
@@ -1267,7 +1267,7 @@ ___ • **InvalidMetamaskSigner**: = "MetaMask provider must be wrapped in a MetamaskSubprovider (from the '@0x/subproviders' package) in order to work with this method." -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L5)* ___ @@ -1275,7 +1275,7 @@ ___ • **InvalidSignature**: = "INVALID_SIGNATURE" -*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L4)* +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L4)*
@@ -1303,7 +1303,7 @@ ___ • **expirationTimeSeconds**? : *`BigNumber`* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L25)* ___ @@ -1311,7 +1311,7 @@ ___ • **feeRecipientAddress**? : *undefined | string* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L23)* ___ @@ -1319,7 +1319,7 @@ ___ • **makerFee**? : *`BigNumber`* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L21)* ___ @@ -1327,7 +1327,7 @@ ___ • **salt**? : *`BigNumber`* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L24)* ___ @@ -1335,7 +1335,7 @@ ___ • **senderAddress**? : *undefined | string* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L20)* ___ @@ -1343,7 +1343,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L19)* ___ @@ -1351,7 +1351,7 @@ ___ • **takerFee**? : *`BigNumber`* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L22)*
@@ -1379,7 +1379,7 @@ ___ • **feeOrdersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L70)* +*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L70)* ___ @@ -1387,7 +1387,7 @@ ___ • **remainingFeeAmount**: *`BigNumber`* -*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L71)* +*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L71)* ___ @@ -1395,7 +1395,7 @@ ___ • **resultFeeOrders**: *`T`[]* -*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L69)* +*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L69)*
@@ -1428,7 +1428,7 @@ Defaults to 0 • **remainingFillableFeeAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L64)* ___ @@ -1436,7 +1436,7 @@ ___ • **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L63)* ___ @@ -1444,7 +1444,7 @@ ___ • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L65)*
@@ -1473,7 +1473,7 @@ Defaults to 0 • **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L36)* ___ @@ -1481,7 +1481,7 @@ ___ • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L37)*
@@ -1510,7 +1510,7 @@ Defaults to 0 • **remainingFillableTakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L48)* ___ @@ -1518,7 +1518,7 @@ ___ • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L49)*
@@ -1546,7 +1546,7 @@ ___ • **ordersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L76)* ___ @@ -1554,7 +1554,7 @@ ___ • **remainingFillAmount**: *`BigNumber`* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L77)* ___ @@ -1562,7 +1562,7 @@ ___ • **resultOrders**: *`T`[]* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L75)*
@@ -1590,7 +1590,7 @@ ___ • **ordersRemainingFillableTakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L82)* +*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L82)* ___ @@ -1598,7 +1598,7 @@ ___ • **remainingFillAmount**: *`BigNumber`* -*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L83)* +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L83)* ___ @@ -1606,83 +1606,7 @@ ___ • **resultOrders**: *`T`[]* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-utils/src/types.ts#L81)* - -
- -* [Globals](globals.md) -* [External Modules]() - * [abstract/abstract_balance_and_proxy_allowance_fetcher](modules/_abstract_abstract_balance_and_proxy_allowance_fetcher_.md) - * [abstract/abstract_balance_and_proxy_allowance_fetcher.AbstractBalanceAndProxyAllowanceFetcher](#class-abstractbalanceandproxyallowancefetcher) - * [abstract/abstract_balance_and_proxy_allowance_lazy_store](modules/_abstract_abstract_balance_and_proxy_allowance_lazy_store_.md) - * [abstract/abstract_balance_and_proxy_allowance_lazy_store.AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) - * [abstract/abstract_order_filled_cancelled_fetcher](modules/_abstract_abstract_order_filled_cancelled_fetcher_.md) - * [abstract/abstract_order_filled_cancelled_fetcher.AbstractOrderFilledCancelledFetcher](#class-abstractorderfilledcancelledfetcher) - * [abstract/abstract_order_filled_cancelled_lazy_store](modules/_abstract_abstract_order_filled_cancelled_lazy_store_.md) - * [abstract/abstract_order_filled_cancelled_lazy_store.AbstractOrderFilledCancelledLazyStore](#class-abstractorderfilledcancelledlazystore) - * [assert](modules/_assert_.md) - * [asset_data_utils](modules/_asset_data_utils_.md) - * [constants](modules/_constants_.md) - * [crypto](modules/_crypto_.md) - * [eip712_utils](modules/_eip712_utils_.md) - * [exchange_transfer_simulator](modules/_exchange_transfer_simulator_.md) - * [exchange_transfer_simulator.ExchangeTransferSimulator](#class-exchangetransfersimulator) - * [index](modules/_index_.md) - * [market_utils](modules/_market_utils_.md) - * [order_calculation_utils](modules/_order_calculation_utils_.md) - * [order_factory](modules/_order_factory_.md) - * [order_hash](modules/_order_hash_.md) - * [order_state_utils](modules/_order_state_utils_.md) - * [order_state_utils.OrderStateUtils](#class-orderstateutils) - * [order_validation_utils](modules/_order_validation_utils_.md) - * [order_validation_utils.OrderValidationUtils](#class-ordervalidationutils) - * [parsing_utils](modules/_parsing_utils_.md) - * [rate_utils](modules/_rate_utils_.md) - * [remaining_fillable_calculator](modules/_remaining_fillable_calculator_.md) - * [remaining_fillable_calculator.RemainingFillableCalculator](#class-remainingfillablecalculator) - * [salt](modules/_salt_.md) - * [signature_utils](modules/_signature_utils_.md) - * [sorting_utils](modules/_sorting_utils_.md) - * [store/balance_and_proxy_allowance_lazy_store](modules/_store_balance_and_proxy_allowance_lazy_store_.md) - * [store/balance_and_proxy_allowance_lazy_store.BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore) - * [store/order_filled_cancelled_lazy_store](modules/_store_order_filled_cancelled_lazy_store_.md) - * [store/order_filled_cancelled_lazy_store.OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore) - * [transaction_hash](modules/_transaction_hash_.md) - * [types](modules/_types_.md) - * [types.TradeSide](#class-tradeside) - * [types.TransferType](#class-transfertype) - * [types.TypedDataError](#class-typeddataerror) - * [types.CreateOrderOpts](#class-createorderopts) - * [types.FeeOrdersAndRemainingFeeAmount](#class-feeordersandremainingfeeamount) - * [types.FindFeeOrdersThatCoverFeesForTargetOrdersOpts](#class-findfeeordersthatcoverfeesfortargetordersopts) - * [types.FindOrdersThatCoverMakerAssetFillAmountOpts](#class-findordersthatcovermakerassetfillamountopts) - * [types.FindOrdersThatCoverTakerAssetFillAmountOpts](#class-findordersthatcovertakerassetfillamountopts) - * [types.OrdersAndRemainingMakerFillAmount](#class-ordersandremainingmakerfillamount) - * [types.OrdersAndRemainingTakerFillAmount](#class-ordersandremainingtakerfillamount) - * [utils](modules/_utils_.md) -* [Classes]() - * [abstract/abstract_balance_and_proxy_allowance_fetcher.AbstractBalanceAndProxyAllowanceFetcher](#class-abstractbalanceandproxyallowancefetcher) - * [abstract/abstract_balance_and_proxy_allowance_lazy_store.AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) - * [abstract/abstract_order_filled_cancelled_fetcher.AbstractOrderFilledCancelledFetcher](#class-abstractorderfilledcancelledfetcher) - * [abstract/abstract_order_filled_cancelled_lazy_store.AbstractOrderFilledCancelledLazyStore](#class-abstractorderfilledcancelledlazystore) - * [exchange_transfer_simulator.ExchangeTransferSimulator](#class-exchangetransfersimulator) - * [order_state_utils.OrderStateUtils](#class-orderstateutils) - * [order_validation_utils.OrderValidationUtils](#class-ordervalidationutils) - * [remaining_fillable_calculator.RemainingFillableCalculator](#class-remainingfillablecalculator) - * [store/balance_and_proxy_allowance_lazy_store.BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore) - * [store/order_filled_cancelled_lazy_store.OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore) -* [Enums]() - * [types.TradeSide](#class-tradeside) - * [types.TransferType](#class-transfertype) - * [types.TypedDataError](#class-typeddataerror) -* [Interfaces]() - * [types.CreateOrderOpts](#class-createorderopts) - * [types.FeeOrdersAndRemainingFeeAmount](#class-feeordersandremainingfeeamount) - * [types.FindFeeOrdersThatCoverFeesForTargetOrdersOpts](#class-findfeeordersthatcoverfeesfortargetordersopts) - * [types.FindOrdersThatCoverMakerAssetFillAmountOpts](#class-findordersthatcovermakerassetfillamountopts) - * [types.FindOrdersThatCoverTakerAssetFillAmountOpts](#class-findordersthatcovertakerassetfillamountopts) - * [types.OrdersAndRemainingMakerFillAmount](#class-ordersandremainingmakerfillamount) - * [types.OrdersAndRemainingTakerFillAmount](#class-ordersandremainingtakerfillamount) +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L81)*
diff --git a/packages/order-watcher/docs/reference.mdx b/packages/order-watcher/docs/reference.mdx index bd5974aa3b..32a24d9bb8 100644 --- a/packages/order-watcher/docs/reference.mdx +++ b/packages/order-watcher/docs/reference.mdx @@ -32,7 +32,7 @@ You can pass it by calling `this.addERC20Token(address)` or `this.addERC721Token \+ **new CollisionResistanceAbiDecoder**(`erc20Abi`: `ContractAbi`, `erc721Abi`: `ContractAbi`, `abis`: `ContractAbi`[]): *[CollisionResistanceAbiDecoder](#class-collisionresistanceabidecoder)* -*Defined in [order_watcher/collision_resistant_abi_decoder.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L22)* +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L22)* **Parameters:** @@ -50,7 +50,7 @@ Name | Type | ▸ **addERC20Token**(`address`: string): *void* -*Defined in [order_watcher/collision_resistant_abi_decoder.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L44)* +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L44)* **Parameters:** @@ -66,7 +66,7 @@ ___ ▸ **addERC721Token**(`address`: string): *void* -*Defined in [order_watcher/collision_resistant_abi_decoder.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L51)* +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L51)* **Parameters:** @@ -82,7 +82,7 @@ ___ ▸ **tryToDecodeLogOrNoop**<**ArgsType**>(`log`: `LogEntry`): *`LogWithDecodedArgs` | `RawLog`* -*Defined in [order_watcher/collision_resistant_abi_decoder.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L28)* +*Defined in [order_watcher/collision_resistant_abi_decoder.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/collision_resistant_abi_decoder.ts#L28)* **Type parameters:** @@ -124,7 +124,7 @@ Name | Type | \+ **new DependentOrderHashesTracker**(`zrxTokenAddress`: string): *[DependentOrderHashesTracker](#class-dependentorderhashestracker)* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L35)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L35)* **Parameters:** @@ -140,7 +140,7 @@ Name | Type | ▸ **addToDependentOrderHashes**(`signedOrder`: `SignedOrder`): *void* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:69](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L69)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L69)* **Parameters:** @@ -156,7 +156,7 @@ ___ ▸ **getDependentOrderHashesByAssetDataByMaker**(`makerAddress`: string, `assetData`: string): *string[]* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L61)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L61)* **Parameters:** @@ -173,7 +173,7 @@ ___ ▸ **getDependentOrderHashesByERC721ByMaker**(`makerAddress`: string, `tokenAddress`: string): *string[]* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L39)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L39)* **Parameters:** @@ -190,7 +190,7 @@ ___ ▸ **getDependentOrderHashesByMaker**(`makerAddress`: string): *string[]* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L57)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L57)* **Parameters:** @@ -206,7 +206,7 @@ ___ ▸ **removeFromDependentOrderHashes**(`signedOrder`: `SignedOrder`): *void* -*Defined in [order_watcher/dependent_order_hashes_tracker.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L74)* +*Defined in [order_watcher/dependent_order_hashes_tracker.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts#L74)* **Parameters:** @@ -244,7 +244,7 @@ depth. \+ **new EventWatcher**(`supportedProvider`: `SupportedProvider`, `pollingIntervalIfExistsMs`: undefined | number, `isVerbose`: boolean): *[EventWatcher](#class-eventwatcher)* -*Defined in [order_watcher/event_watcher.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/event_watcher.ts#L28)* +*Defined in [order_watcher/event_watcher.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/event_watcher.ts#L28)* **Parameters:** @@ -262,7 +262,7 @@ Name | Type | ▸ **subscribe**(`callback`: [EventWatcherCallback](#eventwatchercallback)): *void* -*Defined in [order_watcher/event_watcher.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/event_watcher.ts#L43)* +*Defined in [order_watcher/event_watcher.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/event_watcher.ts#L43)* **Parameters:** @@ -278,7 +278,7 @@ ___ ▸ **unsubscribe**(): *void* -*Defined in [order_watcher/event_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/event_watcher.ts#L50)* +*Defined in [order_watcher/event_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/event_watcher.ts#L50)* **Returns:** *void* @@ -312,7 +312,7 @@ It stores them in a min heap by expiration time and checks for expired ones ever \+ **new ExpirationWatcher**(`expirationMarginIfExistsMs?`: undefined | number, `orderExpirationCheckingIntervalIfExistsMs?`: undefined | number): *[ExpirationWatcher](#class-expirationwatcher)* -*Defined in [order_watcher/expiration_watcher.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L20)* +*Defined in [order_watcher/expiration_watcher.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L20)* **Parameters:** @@ -329,7 +329,7 @@ Name | Type | ▸ **addOrder**(`orderHash`: string, `expirationUnixTimestampMs`: `BigNumber`): *void* -*Defined in [order_watcher/expiration_watcher.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L57)* +*Defined in [order_watcher/expiration_watcher.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L57)* **Parameters:** @@ -346,7 +346,7 @@ ___ ▸ **removeOrder**(`orderHash`: string): *void* -*Defined in [order_watcher/expiration_watcher.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L61)* +*Defined in [order_watcher/expiration_watcher.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L61)* **Parameters:** @@ -362,7 +362,7 @@ ___ ▸ **subscribe**(`callback`: function): *void* -*Defined in [order_watcher/expiration_watcher.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L40)* +*Defined in [order_watcher/expiration_watcher.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L40)* **Parameters:** @@ -384,7 +384,7 @@ ___ ▸ **unsubscribe**(): *void* -*Defined in [order_watcher/expiration_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L50)* +*Defined in [order_watcher/expiration_watcher.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/expiration_watcher.ts#L50)* **Returns:** *void* @@ -421,7 +421,7 @@ the order should be deemed invalid. \+ **new OrderWatcher**(`supportedProvider`: `SupportedProvider`, `networkId`: number, `contractAddresses?`: `ContractAddresses`, `partialConfig`: `Partial`): *[OrderWatcher](#class-orderwatcher)* -*Defined in [order_watcher/order_watcher.ts:98](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L98)* +*Defined in [order_watcher/order_watcher.ts:98](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/order_watcher.ts#L98)* Instantiate a new OrderWatcher @@ -442,7 +442,7 @@ Name | Type | Default | Description | ▸ **addOrderAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [order_watcher/order_watcher.ts:160](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L160)* +*Defined in [order_watcher/order_watcher.ts:160](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/order_watcher.ts#L160)* Add an order to the orderWatcher. Before the order is added, it's signature is verified. @@ -461,7 +461,7 @@ ___ ▸ **getStats**(): *`Stats`* -*Defined in [order_watcher/order_watcher.ts:231](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L231)* +*Defined in [order_watcher/order_watcher.ts:231](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/order_watcher.ts#L231)* Gets statistics of the OrderWatcher Instance. @@ -473,7 +473,7 @@ ___ ▸ **removeOrder**(`orderHash`: string): *void* -*Defined in [order_watcher/order_watcher.ts:178](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L178)* +*Defined in [order_watcher/order_watcher.ts:178](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/order_watcher.ts#L178)* Removes an order from the orderWatcher @@ -491,7 +491,7 @@ ___ ▸ **subscribe**(`callback`: [OnOrderStateChangeCallback](#onorderstatechangecallback)): *void* -*Defined in [order_watcher/order_watcher.ts:195](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L195)* +*Defined in [order_watcher/order_watcher.ts:195](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/order_watcher.ts#L195)* Starts an orderWatcher subscription. The callback will be called every time a watched order's backing blockchain state has changed. This is a call-to-action for the caller to re-validate the order. @@ -510,7 +510,7 @@ ___ ▸ **unsubscribe**(): *void* -*Defined in [order_watcher/order_watcher.ts:217](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher.ts#L217)* +*Defined in [order_watcher/order_watcher.ts:217](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/order_watcher.ts#L217)* Ends an orderWatcher subscription. @@ -541,7 +541,7 @@ Ends an orderWatcher subscription. \+ **new OrderWatcherWebSocketServer**(`supportedProvider`: `SupportedProvider`, `networkId`: number, `contractAddresses?`: `ContractAddresses`, `orderWatcherConfig?`: `Partial`): *[OrderWatcherWebSocketServer](#class-orderwatcherwebsocketserver)* -*Defined in [order_watcher/order_watcher_web_socket_server.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L42)* +*Defined in [order_watcher/order_watcher_web_socket_server.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L42)* Instantiate a new WebSocket server which provides OrderWatcher functionality @param supportedProvider Web3 provider to use for JSON RPC calls. @@ -568,7 +568,7 @@ Name | Type | ▸ **start**(): *void* -*Defined in [order_watcher/order_watcher_web_socket_server.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L92)* +*Defined in [order_watcher/order_watcher_web_socket_server.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L92)* Activates the WebSocket server by subscribing to the OrderWatcher and starting the WebSocket's HTTP server @@ -581,7 +581,7 @@ ___ ▸ **stop**(): *void* -*Defined in [order_watcher/order_watcher_web_socket_server.ts:107](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L107)* +*Defined in [order_watcher/order_watcher_web_socket_server.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/order_watcher/order_watcher_web_socket_server.ts#L107)* Deactivates the WebSocket server by stopping the HTTP server from accepting new connections and unsubscribing from the OrderWatcher @@ -606,7 +606,7 @@ new connections and unsubscribing from the OrderWatcher • **NoAbiDecoder**: = "NO_ABI_DECODER" -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L30)* ___ @@ -614,7 +614,7 @@ ___ • **WethNotInTokenRegistry**: = "WETH_NOT_IN_TOKEN_REGISTRY" -*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L32)* ___ @@ -622,7 +622,7 @@ ___ • **ZrxNotInTokenRegistry**: = "ZRX_NOT_IN_TOKEN_REGISTRY" -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L31)*
@@ -641,7 +641,7 @@ ___ • **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L5)* ___ @@ -649,7 +649,7 @@ ___ • **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L6)*
@@ -670,7 +670,7 @@ ___ • **AddOrder**: = "ADD_ORDER" -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L38)* ___ @@ -678,7 +678,7 @@ ___ • **GetStats**: = "GET_STATS" -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L37)* ___ @@ -686,7 +686,7 @@ ___ • **RemoveOrder**: = "REMOVE_ORDER" -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L39)* ___ @@ -694,7 +694,7 @@ ___ • **Update**: = "UPDATE" -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L41)*
@@ -761,7 +761,7 @@ ___ • **id**: *number* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L52)* ___ @@ -769,7 +769,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L53)* ___ @@ -777,7 +777,7 @@ ___ • **method**: *[AddOrder](#addorder)* -*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L54)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L54)* ___ @@ -785,7 +785,7 @@ ___ • **params**: *object* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L55)* #### Type declaration: @@ -812,7 +812,7 @@ ___ • **error**: *[JSONRPCError](#interface-jsonrpcerror)* -*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L86)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L86)* ___ @@ -820,7 +820,7 @@ ___ • **id**: *number | null* -*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L83)* +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L83)* ___ @@ -828,7 +828,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L84)* ___ @@ -836,7 +836,7 @@ ___ • **method**: *null* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L85)*
@@ -860,7 +860,7 @@ ___ • **id**: *number* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L66)* ___ @@ -868,7 +868,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L67)* ___ @@ -876,7 +876,7 @@ ___ • **method**: *[GetStats](#getstats)* -*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L68)* +*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L68)*
@@ -898,7 +898,7 @@ ___ • **orderCount**: *number* -*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L96)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L96)*
@@ -922,7 +922,7 @@ ___ • **code**: *number* -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L90)* ___ @@ -930,7 +930,7 @@ ___ • **data**? : *string | object* -*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L92)* +*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L92)* ___ @@ -938,7 +938,7 @@ ___ • **message**: *string* -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L91)*
@@ -971,7 +971,7 @@ isVerbose: Weather the order watcher should be verbose. Default=true. • **cleanupJobIntervalMs**: *number* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L23)* ___ @@ -979,7 +979,7 @@ ___ • **eventPollingIntervalMs**: *number* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L21)* ___ @@ -987,7 +987,7 @@ ___ • **expirationMarginMs**: *number* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L22)* ___ @@ -995,7 +995,7 @@ ___ • **isVerbose**: *boolean* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L24)* ___ @@ -1003,7 +1003,7 @@ ___ • **orderExpirationCheckingIntervalMs**: *number* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L20)*
@@ -1028,7 +1028,7 @@ ___ • **id**: *number* -*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L59)* +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L59)* ___ @@ -1036,7 +1036,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L60)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L60)* ___ @@ -1044,7 +1044,7 @@ ___ • **method**: *[RemoveOrder](#removeorder)* -*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L61)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L61)* ___ @@ -1052,7 +1052,7 @@ ___ • **params**: *object* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L62)* #### Type declaration: @@ -1079,7 +1079,7 @@ ___ • **id**: *number* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L76)* ___ @@ -1087,7 +1087,7 @@ ___ • **jsonrpc**: *string* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L77)* ___ @@ -1095,7 +1095,7 @@ ___ • **method**: *[OrderWatcherMethod](#enumeration-orderwatchermethod)* -*Defined in [types.ts:78](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L78)* +*Defined in [types.ts:78](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L78)* ___ @@ -1103,67 +1103,7 @@ ___ • **result**: *`OrderState` | [GetStatsResult](#interface-getstatsresult) | undefined* -*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/order-watcher/src/types.ts#L79)* - -
- -* [Globals](globals.md) -* [External Modules]() - * [index](modules/_index_.md) - * [order_watcher/collision_resistant_abi_decoder](modules/_order_watcher_collision_resistant_abi_decoder_.md) - * [order_watcher/collision_resistant_abi_decoder.CollisionResistanceAbiDecoder](#class-collisionresistanceabidecoder) - * [order_watcher/dependent_order_hashes_tracker](modules/_order_watcher_dependent_order_hashes_tracker_.md) - * [order_watcher/dependent_order_hashes_tracker.DependentOrderHashesTracker](#class-dependentorderhashestracker) - * [order_watcher/dependent_order_hashes_tracker.OrderHashesByERC20ByMakerAddress](#class-orderhashesbyerc20bymakeraddress) - * [order_watcher/dependent_order_hashes_tracker.OrderHashesByERC721AddressByTokenIdByMakerAddress](#class-orderhashesbyerc721addressbytokenidbymakeraddress) - * [order_watcher/dependent_order_hashes_tracker.OrderHashesByMakerAddress](#class-orderhashesbymakeraddress) - * [order_watcher/event_watcher](modules/_order_watcher_event_watcher_.md) - * [order_watcher/event_watcher.EventWatcher](#class-eventwatcher) - * [order_watcher/expiration_watcher](modules/_order_watcher_expiration_watcher_.md) - * [order_watcher/expiration_watcher.ExpirationWatcher](#class-expirationwatcher) - * [order_watcher/order_watcher](modules/_order_watcher_order_watcher_.md) - * [order_watcher/order_watcher.OrderWatcher](#class-orderwatcher) - * [order_watcher/order_watcher_web_socket_server](modules/_order_watcher_order_watcher_web_socket_server_.md) - * [order_watcher/order_watcher_web_socket_server.OrderWatcherWebSocketServer](#class-orderwatcherwebsocketserver) - * [schemas/order_watcher_partial_config_schema](modules/_schemas_order_watcher_partial_config_schema_.md) - * [server](modules/_server_.md) - * [types](modules/_types_.md) - * [types.InternalOrderWatcherError](#class-internalorderwatchererror) - * [types.OrderWatcherError](#class-orderwatchererror) - * [types.OrderWatcherMethod](#class-orderwatchermethod) - * [types.AddOrderRequest](#class-addorderrequest) - * [types.ErrorWebSocketResponse](#class-errorwebsocketresponse) - * [types.GetStatsRequest](#class-getstatsrequest) - * [types.GetStatsResult](#class-getstatsresult) - * [types.JSONRPCError](#class-jsonrpcerror) - * [types.OrderWatcherConfig](#class-orderwatcherconfig) - * [types.RemoveOrderRequest](#class-removeorderrequest) - * [types.SuccessfulWebSocketResponse](#class-successfulwebsocketresponse) - * [utils/assert](modules/_utils_assert_.md) - * [utils/utils](modules/_utils_utils_.md) -* [Classes]() - * [order_watcher/collision_resistant_abi_decoder.CollisionResistanceAbiDecoder](#class-collisionresistanceabidecoder) - * [order_watcher/dependent_order_hashes_tracker.DependentOrderHashesTracker](#class-dependentorderhashestracker) - * [order_watcher/event_watcher.EventWatcher](#class-eventwatcher) - * [order_watcher/expiration_watcher.ExpirationWatcher](#class-expirationwatcher) - * [order_watcher/order_watcher.OrderWatcher](#class-orderwatcher) - * [order_watcher/order_watcher_web_socket_server.OrderWatcherWebSocketServer](#class-orderwatcherwebsocketserver) -* [Enums]() - * [types.InternalOrderWatcherError](#class-internalorderwatchererror) - * [types.OrderWatcherError](#class-orderwatchererror) - * [types.OrderWatcherMethod](#class-orderwatchermethod) -* [Interfaces]() - * [order_watcher/dependent_order_hashes_tracker.OrderHashesByERC20ByMakerAddress](#class-orderhashesbyerc20bymakeraddress) - * [order_watcher/dependent_order_hashes_tracker.OrderHashesByERC721AddressByTokenIdByMakerAddress](#class-orderhashesbyerc721addressbytokenidbymakeraddress) - * [order_watcher/dependent_order_hashes_tracker.OrderHashesByMakerAddress](#class-orderhashesbymakeraddress) - * [types.AddOrderRequest](#class-addorderrequest) - * [types.ErrorWebSocketResponse](#class-errorwebsocketresponse) - * [types.GetStatsRequest](#class-getstatsrequest) - * [types.GetStatsResult](#class-getstatsresult) - * [types.JSONRPCError](#class-jsonrpcerror) - * [types.OrderWatcherConfig](#class-orderwatcherconfig) - * [types.RemoveOrderRequest](#class-removeorderrequest) - * [types.SuccessfulWebSocketResponse](#class-successfulwebsocketresponse) +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-watcher/src/types.ts#L79)*
diff --git a/packages/sol-compiler/docs/reference.mdx b/packages/sol-compiler/docs/reference.mdx index caca9c942d..d7e14ee553 100644 --- a/packages/sol-compiler/docs/reference.mdx +++ b/packages/sol-compiler/docs/reference.mdx @@ -25,7 +25,7 @@ to artifact files. \+ **new Compiler**(`opts?`: `CompilerOptions`): *[Compiler](#class-compiler)* -*Defined in [compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/compiler.ts#L94)* +*Defined in [compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/compiler.ts#L94)* Instantiates a new instance of the Compiler class. @@ -45,7 +45,7 @@ An instance of the Compiler class. ▸ **compileAsync**(): *`Promise`* -*Defined in [compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/compiler.ts#L132)* +*Defined in [compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/compiler.ts#L132)* Compiles selected Solidity files found in `contractsDir` and writes JSON artifacts to `artifactsDir`. @@ -57,7 +57,7 @@ ___ ▸ **getCompilerOutputsAsync**(): *`Promise`* -*Defined in [compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/compiler.ts#L145)* +*Defined in [compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/compiler.ts#L145)* Compiles Solidity files specified during instantiation, and returns the compiler output given by solc. Return value is an array of outputs: @@ -74,7 +74,7 @@ ___ ▸ **watchAsync**(): *`Promise`* -*Defined in [compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/compiler.ts#L149)* +*Defined in [compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/compiler.ts#L149)* **Returns:** *`Promise`* @@ -109,7 +109,7 @@ ___ \+ **new CompilationError**(`errorsCount`: number): *[CompilationError](#class-compilationerror)* -*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L39)* +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L39)* **Parameters:** @@ -125,7 +125,7 @@ Name | Type | • **errorsCount**: *number* -*Defined in [utils/types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L38)* +*Defined in [utils/types.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L38)* ___ @@ -135,7 +135,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974 + ___ @@ -145,7 +145,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:973 + ___ @@ -157,7 +157,7 @@ ___ *Overrides void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:975 + ___ @@ -165,7 +165,7 @@ ___ • **typeName**: *string* = "CompilationError" -*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L39)* +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L39)* ___ @@ -173,7 +173,7 @@ ___ ▪ **Error**: *`ErrorConstructor`* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:984 +
@@ -194,7 +194,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/node_modules/typed • **Constructor**: = "constructor" -*Defined in [utils/types.ts:3](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L3)* +*Defined in [utils/types.ts:3](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L3)* ___ @@ -202,7 +202,7 @@ ___ • **Event**: = "event" -*Defined in [utils/types.ts:4](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L4)* +*Defined in [utils/types.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L4)* ___ @@ -210,7 +210,7 @@ ___ • **Fallback**: = "fallback" -*Defined in [utils/types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L5)* +*Defined in [utils/types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L5)* ___ @@ -218,7 +218,7 @@ ___ • **Function**: = "function" -*Defined in [utils/types.ts:2](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L2)* +*Defined in [utils/types.ts:2](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L2)*
@@ -266,7 +266,7 @@ ___ • **solcVersionRange**: *string* -*Defined in [utils/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L21)* +*Defined in [utils/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L21)* ___ @@ -274,7 +274,7 @@ ___ • **sourceHash**: *`Buffer`* -*Defined in [utils/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L22)* +*Defined in [utils/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L22)* ___ @@ -282,7 +282,7 @@ ___ • **sourceTreeHash**: *`Buffer`* -*Defined in [utils/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L23)* +*Defined in [utils/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L23)*
@@ -321,7 +321,7 @@ ___ • **address**? : *undefined | string* -*Defined in [utils/types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L27)* +*Defined in [utils/types.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L27)* ___ @@ -329,7 +329,7 @@ ___ • **decimals**: *number* -*Defined in [utils/types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L30)* +*Defined in [utils/types.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L30)* ___ @@ -337,7 +337,7 @@ ___ • **ipfsHash**: *string* -*Defined in [utils/types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L31)* +*Defined in [utils/types.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L31)* ___ @@ -345,7 +345,7 @@ ___ • **name**: *string* -*Defined in [utils/types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L28)* +*Defined in [utils/types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L28)* ___ @@ -353,7 +353,7 @@ ___ • **swarmHash**: *string* -*Defined in [utils/types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L32)* +*Defined in [utils/types.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L32)* ___ @@ -361,41 +361,7 @@ ___ • **symbol**: *string* -*Defined in [utils/types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-compiler/src/utils/types.ts#L29)* - -
- -* [Globals](globals.md) -* [External Modules]() - * [cli](modules/_cli_.md) - * [compiler](modules/_compiler_.md) - * [compiler.Compiler](#class-compiler) - * [index](modules/_index_.md) - * [schemas/compiler_options_schema](modules/_schemas_compiler_options_schema_.md) - * [utils/compiler](modules/_utils_compiler_.md) - * [utils/constants](modules/_utils_constants_.md) - * [utils/encoder](modules/_utils_encoder_.md) - * [utils/fs_wrapper](modules/_utils_fs_wrapper_.md) - * [utils/types](modules/_utils_types_.md) - * [utils/types.AbiType](#class-abitype) - * [utils/types.CompilationError](#class-compilationerror) - * [utils/types.BinaryPaths](#class-binarypaths) - * [utils/types.ContractSourceData](#class-contractsourcedata) - * [utils/types.ContractSpecificSourceData](#class-contractspecificsourcedata) - * [utils/types.SolcErrors](#class-solcerrors) - * [utils/types.Token](#class-token) - * [utils/utils](modules/_utils_utils_.md) -* [Classes]() - * [compiler.Compiler](#class-compiler) - * [utils/types.CompilationError](#class-compilationerror) -* [Enums]() - * [utils/types.AbiType](#class-abitype) -* [Interfaces]() - * [utils/types.BinaryPaths](#class-binarypaths) - * [utils/types.ContractSourceData](#class-contractsourcedata) - * [utils/types.ContractSpecificSourceData](#class-contractspecificsourcedata) - * [utils/types.SolcErrors](#class-solcerrors) - * [utils/types.Token](#class-token) +*Defined in [utils/types.ts:29](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L29)*
diff --git a/packages/sol-coverage/docs/reference.mdx b/packages/sol-coverage/docs/reference.mdx index 2bd7034d74..dc44f07940 100644 --- a/packages/sol-coverage/docs/reference.mdx +++ b/packages/sol-coverage/docs/reference.mdx @@ -28,11 +28,11 @@ It's used to compute your code coverage while running solidity tests. ### constructor -\+ **new CoverageSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `partialConfig`: [CoverageSubproviderPartialConfig](#class-coveragesubprovider)* +\+ **new CoverageSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `partialConfig`: [CoverageSubproviderPartialConfig](#coveragesubproviderpartialconfig)): *[CoverageSubprovider](#class-coveragesubprovider)* *Overrides void* -*Defined in [coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-coverage/src/coverage_subprovider.ts#L44)* +*Defined in [coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-coverage/src/coverage_subprovider.ts#L44)* Instantiates a CoverageSubprovider instance @@ -54,7 +54,7 @@ Name | Type | Default | Description | *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/subproviders/lib/src/subproviders/subprovider.d.ts:25 + Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -80,7 +80,7 @@ ___ *Overrides void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:42 + This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -106,7 +106,7 @@ ___ *Overrides void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:49 + Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -128,7 +128,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:29 + Starts trace collection @@ -142,7 +142,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:33 + Stops trace collection @@ -154,7 +154,7 @@ ___ ▸ **writeCoverageAsync**(): *`Promise`* -*Defined in [coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-coverage/src/coverage_subprovider.ts#L78)* +*Defined in [coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-coverage/src/coverage_subprovider.ts#L78)* Write the test coverage results to a file in Istanbul format. @@ -185,7 +185,7 @@ ignoreFilesGlobs: The list of globs matching the file names of the files we want • **ignoreFilesGlobs**: *string[]* -*Defined in [coverage_subprovider.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-coverage/src/coverage_subprovider.ts#L28)* +*Defined in [coverage_subprovider.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-coverage/src/coverage_subprovider.ts#L28)* ___ @@ -193,20 +193,7 @@ ___ • **isVerbose**: *boolean* -*Defined in [coverage_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-coverage/src/coverage_subprovider.ts#L27)* - -
- -* [Globals](globals.md) -* [External Modules]() - * [coverage_subprovider](modules/_coverage_subprovider_.md) - * [coverage_subprovider.CoverageSubprovider](#class-coveragesubprovider) - * [coverage_subprovider.CoverageSubproviderConfig](#class-coveragesubproviderconfig) - * [index](modules/_index_.md) -* [Classes]() - * [coverage_subprovider.CoverageSubprovider](#class-coveragesubprovider) -* [Interfaces]() - * [coverage_subprovider.CoverageSubproviderConfig](#class-coveragesubproviderconfig) +*Defined in [coverage_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-coverage/src/coverage_subprovider.ts#L27)*
diff --git a/packages/sol-profiler/docs/reference.mdx b/packages/sol-profiler/docs/reference.mdx index 8cefb99a8f..86910bb22c 100644 --- a/packages/sol-profiler/docs/reference.mdx +++ b/packages/sol-profiler/docs/reference.mdx @@ -32,7 +32,7 @@ ProfilerSubprovider is used to profile Solidity code while running tests. *Overrides void* -*Defined in [profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-profiler/src/profiler_subprovider.ts#L30)* +*Defined in [profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-profiler/src/profiler_subprovider.ts#L30)* Instantiates a ProfilerSubprovider instance @@ -54,7 +54,7 @@ Name | Type | Default | Description | *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/subproviders/lib/src/subproviders/subprovider.d.ts:25 + Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -80,7 +80,7 @@ ___ *Overrides void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:42 + This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -106,7 +106,7 @@ ___ *Overrides void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:49 + Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -128,7 +128,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:29 + Starts trace collection @@ -142,7 +142,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:33 + Stops trace collection @@ -154,7 +154,7 @@ ___ ▸ **writeProfilerOutputAsync**(): *`Promise`* -*Defined in [profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-profiler/src/profiler_subprovider.ts#L104)* +*Defined in [profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-profiler/src/profiler_subprovider.ts#L104)* Write the test profiler results to a file in Istanbul format. @@ -162,14 +162,3 @@ Write the test profiler results to a file in Istanbul format.
-* [Globals](globals.md) -* [External Modules]() - * [cost_utils](modules/_cost_utils_.md) - * [index](modules/_index_.md) - * [profiler_subprovider](modules/_profiler_subprovider_.md) - * [profiler_subprovider.ProfilerSubprovider](#class-profilersubprovider) -* [Classes]() - * [profiler_subprovider.ProfilerSubprovider](#class-profilersubprovider) - -
- diff --git a/packages/sol-trace/docs/reference.mdx b/packages/sol-trace/docs/reference.mdx index 2ec16a4af8..12b573bf6d 100644 --- a/packages/sol-trace/docs/reference.mdx +++ b/packages/sol-trace/docs/reference.mdx @@ -31,7 +31,7 @@ It is used to report call stack traces whenever a revert occurs. *Overrides void* -*Defined in [revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/sol-trace/src/revert_trace_subprovider.ts#L27)* +*Defined in [revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-trace/src/revert_trace_subprovider.ts#L27)* Instantiates a RevertTraceSubprovider instance @@ -53,7 +53,7 @@ Name | Type | Default | Description | *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/subproviders/lib/src/subproviders/subprovider.d.ts:25 + Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -79,7 +79,7 @@ ___ *Overrides void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:42 + This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -105,7 +105,7 @@ ___ *Overrides void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:49 + Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -127,7 +127,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:29 + Starts trace collection @@ -141,7 +141,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/sol-tracing-utils/lib/src/trace_collection_subprovider.d.ts:33 + Stops trace collection @@ -149,13 +149,3 @@ Stops trace collection
-* [Globals](globals.md) -* [External Modules]() - * [index](modules/_index_.md) - * [revert_trace_subprovider](modules/_revert_trace_subprovider_.md) - * [revert_trace_subprovider.RevertTraceSubprovider](#class-reverttracesubprovider) -* [Classes]() - * [revert_trace_subprovider.RevertTraceSubprovider](#class-reverttracesubprovider) - -
- diff --git a/packages/subproviders/docs/reference.mdx b/packages/subproviders/docs/reference.mdx index d3c40e92c6..ad4058f042 100644 --- a/packages/subproviders/docs/reference.mdx +++ b/packages/subproviders/docs/reference.mdx @@ -34,7 +34,7 @@ *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -56,7 +56,7 @@ ___ ▸ **getAccountsAsync**(): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L23)* +*Defined in [subproviders/base_wallet_subprovider.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L23)* **Returns:** *`Promise`* @@ -68,7 +68,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -92,7 +92,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -112,7 +112,7 @@ ___ ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L25)* +*Defined in [subproviders/base_wallet_subprovider.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L25)* **Parameters:** @@ -129,7 +129,7 @@ ___ ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L24)* +*Defined in [subproviders/base_wallet_subprovider.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L24)* **Parameters:** @@ -145,7 +145,7 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:26](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L26)* +*Defined in [subproviders/base_wallet_subprovider.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L26)* **Parameters:** @@ -185,7 +185,7 @@ It intercepts the `eth_accounts` JSON RPC requests and never returns any address *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -209,7 +209,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/empty_wallet_subprovider.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/empty_wallet_subprovider.ts#L21)* +*Defined in [subproviders/empty_wallet_subprovider.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/empty_wallet_subprovider.ts#L21)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -233,7 +233,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -278,7 +278,7 @@ It intercepts the `eth_estimateGas` JSON RPC call and always returns a constant \+ **new FakeGasEstimateSubprovider**(`constantGasAmount`: number): *[FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider)* -*Defined in [subproviders/fake_gas_estimate_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L17)* +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L17)* Instantiates an instance of the FakeGasEstimateSubprovider @@ -298,7 +298,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -322,7 +322,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/fake_gas_estimate_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L35)* +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L35)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -346,7 +346,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -391,7 +391,7 @@ It intercepts all JSON RPC requests and relays them to an in-process ganache ins \+ **new GanacheSubprovider**(`opts`: `GanacheOpts`): *[GanacheSubprovider](#class-ganachesubprovider)* -*Defined in [subproviders/ganache.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ganache.ts#L13)* +*Defined in [subproviders/ganache.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ganache.ts#L13)* Instantiates a GanacheSubprovider @@ -411,7 +411,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -435,7 +435,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/ganache.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ganache.ts#L31)* +*Defined in [subproviders/ganache.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ganache.ts#L31)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -459,7 +459,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -509,9 +509,9 @@ re-routes them to a Ledger device plugged into the users computer. ### constructor -\+ **new LedgerSubprovider**(`config`: [LedgerSubproviderConfigs](#class-ledgersubprovider)* +\+ **new LedgerSubprovider**(`config`: [LedgerSubproviderConfigs](#interface-ledgersubproviderconfigs)): *[LedgerSubprovider](#class-ledgersubprovider)* -*Defined in [subproviders/ledger.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L41)* +*Defined in [subproviders/ledger.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L41)* Instantiates a LedgerSubprovider. Defaults to derivationPath set to `44'/60'/0'`. TestRPC/Ganache defaults to `m/44'/60'/0'/0`, so set this in the configs if desired. @@ -534,7 +534,7 @@ LedgerSubprovider instance *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -558,7 +558,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/ledger.ts:87](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L87)* +*Defined in [subproviders/ledger.ts:87](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L87)* Retrieve a users Ledger accounts. The accounts are derived from the derivationPath, master public key and chain code. Because of this, you can request as many accounts @@ -582,7 +582,7 @@ ___ ▸ **getPath**(): *string* -*Defined in [subproviders/ledger.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L68)* +*Defined in [subproviders/ledger.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L68)* Retrieve the set derivation path @@ -600,7 +600,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -624,7 +624,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -644,7 +644,7 @@ ___ ▸ **setPath**(`basDerivationPath`: string): *void* -*Defined in [subproviders/ledger.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L75)* +*Defined in [subproviders/ledger.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L75)* Set a desired derivation path when computing the available user addresses @@ -664,7 +664,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/ledger.ts:158](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L158)* +*Defined in [subproviders/ledger.ts:158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L158)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. @@ -692,7 +692,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/ledger.ts:101](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L101)* +*Defined in [subproviders/ledger.ts:101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L101)* Signs a transaction on the Ledger with the account specificed by the `from` field in txParams. If you've added the LedgerSubprovider to your app's provider, you can simply send an `eth_sendTransaction` @@ -717,7 +717,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/ledger.ts:196](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/ledger.ts#L196)* +*Defined in [subproviders/ledger.ts:196](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L196)* eth_signTypedData is currently not supported on Ledger devices. @@ -768,7 +768,7 @@ are passed onwards for subsequent subproviders to handle. \+ **new MetamaskSubprovider**(`supportedProvider`: `SupportedProvider`): *[MetamaskSubprovider](#class-metamasksubprovider)* -*Defined in [subproviders/metamask_subprovider.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/metamask_subprovider.ts#L20)* +*Defined in [subproviders/metamask_subprovider.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/metamask_subprovider.ts#L20)* Instantiates a new MetamaskSubprovider @@ -788,7 +788,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -812,7 +812,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/metamask_subprovider.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/metamask_subprovider.ts#L40)* +*Defined in [subproviders/metamask_subprovider.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/metamask_subprovider.ts#L40)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -834,7 +834,7 @@ ___ ▸ **sendAsync**(`payload`: `JSONRPCRequestPayload`, `callback`: [ErrorCallback](#errorcallback)): *void* -*Defined in [subproviders/metamask_subprovider.ts:114](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/metamask_subprovider.ts#L114)* +*Defined in [subproviders/metamask_subprovider.ts:114](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/metamask_subprovider.ts#L114)* This method conforms to the provider sendAsync interface. Allowing the MetamaskSubprovider to be used as a generic provider (outside of Web3ProviderEngine) with the @@ -859,7 +859,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -909,9 +909,9 @@ all requests with accounts derived from the supplied mnemonic. ### constructor -\+ **new MnemonicWalletSubprovider**(`config`: [MnemonicWalletSubproviderConfigs](#class-mnemonicwalletsubprovider)* +\+ **new MnemonicWalletSubprovider**(`config`: [MnemonicWalletSubproviderConfigs](#interface-mnemonicwalletsubproviderconfigs)): *[MnemonicWalletSubprovider](#class-mnemonicwalletsubprovider)* -*Defined in [subproviders/mnemonic_wallet.ts:27](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L27)* +*Defined in [subproviders/mnemonic_wallet.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L27)* Instantiates a MnemonicWalletSubprovider. Defaults to baseDerivationPath set to `44'/60'/0'/0`. This is the default in TestRPC/Ganache, it can be overridden if desired. @@ -934,7 +934,7 @@ MnemonicWalletSubprovider instance *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -958,7 +958,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/mnemonic_wallet.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L70)* +*Defined in [subproviders/mnemonic_wallet.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L70)* Retrieve the accounts associated with the mnemonic. This method is implicitly called when issuing a `eth_accounts` JSON RPC request @@ -980,7 +980,7 @@ ___ ▸ **getPath**(): *string* -*Defined in [subproviders/mnemonic_wallet.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L52)* +*Defined in [subproviders/mnemonic_wallet.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L52)* Retrieve the set derivation path @@ -998,7 +998,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1022,7 +1022,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1042,7 +1042,7 @@ ___ ▸ **setPath**(`baseDerivationPath`: string): *void* -*Defined in [subproviders/mnemonic_wallet.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L59)* +*Defined in [subproviders/mnemonic_wallet.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L59)* Set a desired derivation path when computing the available user addresses @@ -1062,7 +1062,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/mnemonic_wallet.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L102)* +*Defined in [subproviders/mnemonic_wallet.ts:102](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L102)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. If you've added the MnemonicWalletSubprovider to @@ -1089,7 +1089,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/mnemonic_wallet.ts:84](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L84)* +*Defined in [subproviders/mnemonic_wallet.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L84)* Signs a transaction with the account specificed by the `from` field in txParams. If you've added this Subprovider to your app's provider, you can simply send @@ -1114,7 +1114,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/mnemonic_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L122)* +*Defined in [subproviders/mnemonic_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L122)* Sign an EIP712 Typed Data message. The signing account will be the account associated with the provided address. If you've added this MnemonicWalletSubprovider to @@ -1163,7 +1163,7 @@ We added the additional feature of clearing the cached nonce value when a `nonce *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1187,7 +1187,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/nonce_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/nonce_tracker.ts#L57)* +*Defined in [subproviders/nonce_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/nonce_tracker.ts#L57)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1211,7 +1211,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1261,7 +1261,7 @@ all requests with the supplied Ethereum private key. \+ **new PrivateKeyWalletSubprovider**(`privateKey`: string): *[PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider)* -*Defined in [subproviders/private_key_wallet.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L19)* +*Defined in [subproviders/private_key_wallet.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L19)* Instantiates a PrivateKeyWalletSubprovider. @@ -1283,7 +1283,7 @@ PrivateKeyWalletSubprovider instance *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1307,7 +1307,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/private_key_wallet.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L37)* +*Defined in [subproviders/private_key_wallet.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L37)* Retrieve the account associated with the supplied private key. This method is implicitly called when issuing a `eth_accounts` JSON RPC request @@ -1327,7 +1327,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1351,7 +1351,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1373,7 +1373,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/private_key_wallet.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L72)* +*Defined in [subproviders/private_key_wallet.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L72)* Sign a personal Ethereum signed message. The signing address will be calculated from the private key. The address must be provided it must match the address calculated from the private key. @@ -1400,7 +1400,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/private_key_wallet.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L48)* +*Defined in [subproviders/private_key_wallet.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L48)* Sign a transaction with the private key. If you've added this Subprovider to your app's provider, you can simply send an `eth_sendTransaction` JSON RPC request, and @@ -1425,7 +1425,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/private_key_wallet.ts:99](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/private_key_wallet.ts#L99)* +*Defined in [subproviders/private_key_wallet.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L99)* Sign an EIP712 Typed Data message. The signing address will be calculated from the private key. The address must be provided it must match the address calculated from the private key. @@ -1474,9 +1474,9 @@ set of JSON RPC endpoints. ### constructor -\+ **new RedundantSubprovider**(`subproviders`: [Subprovider](#class-redundantsubprovider)* +\+ **new RedundantSubprovider**(`subproviders`: [Subprovider](_subproviders_subprovider_.subprovider.md)[]): *[RedundantSubprovider](#class-redundantsubprovider)* -*Defined in [subproviders/redundant_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/redundant_subprovider.ts#L33)* +*Defined in [subproviders/redundant_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/redundant_subprovider.ts#L33)* Instantiates a new RedundantSubprovider @@ -1496,7 +1496,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1520,7 +1520,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/redundant_subprovider.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/redundant_subprovider.ts#L51)* +*Defined in [subproviders/redundant_subprovider.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/redundant_subprovider.ts#L51)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1559,7 +1559,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1604,7 +1604,7 @@ It forwards on JSON RPC requests to the supplied `rpcUrl` endpoint \+ **new RPCSubprovider**(`rpcUrl`: string, `requestTimeoutMs`: number): *[RPCSubprovider](#class-rpcsubprovider)* -*Defined in [subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)* +*Defined in [subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)* **Parameters:** @@ -1623,7 +1623,7 @@ Name | Type | Default | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1647,7 +1647,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)* +*Defined in [subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1671,7 +1671,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1718,7 +1718,7 @@ are passed onwards for subsequent subproviders to handle. \+ **new SignerSubprovider**(`supportedProvider`: `SupportedProvider`): *[SignerSubprovider](#class-signersubprovider)* -*Defined in [subproviders/signer.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/signer.ts#L15)* +*Defined in [subproviders/signer.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/signer.ts#L15)* Instantiates a new SignerSubprovider. @@ -1738,7 +1738,7 @@ Name | Type | Description | *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1762,7 +1762,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/signer.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/signer.ts#L33)* +*Defined in [subproviders/signer.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/signer.ts#L33)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1786,7 +1786,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1843,7 +1843,7 @@ This one has an async/await `emitPayloadAsync` and also defined types. ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1865,7 +1865,7 @@ ___ ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* -*Defined in [subproviders/subprovider.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L42)* +*Defined in [subproviders/subprovider.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L42)* **Parameters:** @@ -1883,7 +1883,7 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1927,9 +1927,9 @@ Name | Type | Description | ### constructor -\+ **new TrezorSubprovider**(`config`: [TrezorSubproviderConfig](#class-trezorsubprovider)* +\+ **new TrezorSubprovider**(`config`: [TrezorSubproviderConfig](#interface-trezorsubproviderconfig)): *[TrezorSubprovider](#class-trezorsubprovider)* -*Defined in [subproviders/trezor.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L32)* +*Defined in [subproviders/trezor.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L32)* Instantiates a TrezorSubprovider. Defaults to private key path set to `44'/60'/0'/0/`. Must be initialized with trezor-connect API module https://github.com/trezor/connect. @@ -1952,7 +1952,7 @@ TrezorSubprovider instance *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1976,7 +1976,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/trezor.ts:56](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L56)* +*Defined in [subproviders/trezor.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L56)* Retrieve a users Trezor account. This method is automatically called when issuing a `eth_accounts` JSON RPC request via your providerEngine @@ -2002,7 +2002,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -2026,7 +2026,7 @@ ___ *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -2048,7 +2048,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/trezor.ts:129](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L129)* +*Defined in [subproviders/trezor.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L129)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. If you've added the TrezorSubprovider to @@ -2075,7 +2075,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/trezor.ts:70](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L70)* +*Defined in [subproviders/trezor.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L70)* Signs a transaction on the Trezor with the account specificed by the `from` field in txParams. If you've added the TrezorSubprovider to your app's provider, you can simply send an `eth_sendTransaction` @@ -2100,7 +2100,7 @@ ___ *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/trezor.ts:161](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/subproviders/trezor.ts#L161)* +*Defined in [subproviders/trezor.ts:161](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L161)* TODO:: eth_signTypedData is currently not supported on Trezor devices. @@ -2132,7 +2132,7 @@ Signature hex string (order: rsv) • **MultipleOpenConnectionsDisallowed**: = "MULTIPLE_OPEN_CONNECTIONS_DISALLOWED" -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L116)* ___ @@ -2140,7 +2140,7 @@ ___ • **TooOldLedgerFirmware**: = "TOO_OLD_LEDGER_FIRMWARE" -*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L115)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L115)*
@@ -2159,7 +2159,7 @@ ___ • **CannotDetermineAddressFromPayload**: = "CANNOT_DETERMINE_ADDRESS_FROM_PAYLOAD" -*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L121)* +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L121)* ___ @@ -2167,7 +2167,7 @@ ___ • **EmptyParametersFound**: = "EMPTY_PARAMETERS_FOUND" -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L120)*
@@ -2190,7 +2190,7 @@ ___ • **AddressNotFound**: = "ADDRESS_NOT_FOUND" -*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L107)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L107)* ___ @@ -2198,7 +2198,7 @@ ___ • **DataMissingForSignPersonalMessage**: = "DATA_MISSING_FOR_SIGN_PERSONAL_MESSAGE" -*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L108)* ___ @@ -2206,7 +2206,7 @@ ___ • **DataMissingForSignTypedData**: = "DATA_MISSING_FOR_SIGN_TYPED_DATA" -*Defined in [types.ts:109](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L109)* +*Defined in [types.ts:109](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L109)* ___ @@ -2214,7 +2214,7 @@ ___ • **FromAddressMissingOrInvalid**: = "FROM_ADDRESS_MISSING_OR_INVALID" -*Defined in [types.ts:111](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L111)* +*Defined in [types.ts:111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L111)* ___ @@ -2222,7 +2222,7 @@ ___ • **MethodNotSupported**: = "METHOD_NOT_SUPPORTED" -*Defined in [types.ts:112](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L112)* +*Defined in [types.ts:112](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L112)* ___ @@ -2230,7 +2230,7 @@ ___ • **SenderInvalidOrNotSupplied**: = "SENDER_INVALID_OR_NOT_SUPPLIED" -*Defined in [types.ts:110](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L110)* +*Defined in [types.ts:110](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L110)*
@@ -2259,7 +2259,7 @@ shouldAskForOnDeviceConfirmation: Whether you wish to prompt the user on their L • **addressSearchLimit**? : *undefined | number* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L55)* ___ @@ -2267,7 +2267,7 @@ ___ • **numAddressesToReturn**? : *undefined | number* -*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L56)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L56)* ___ @@ -2275,7 +2275,7 @@ ___ • **shouldAskForOnDeviceConfirmation**? : *undefined | false | true* -*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L57)* +*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L57)*
@@ -2300,7 +2300,7 @@ ___ • **address**: *string* -*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L124)* ___ @@ -2308,7 +2308,7 @@ ___ • **baseDerivationPath**: *string* -*Defined in [types.ts:125](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L125)* +*Defined in [types.ts:125](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L125)* ___ @@ -2316,7 +2316,7 @@ ___ • **derivationPath**: *string* -*Defined in [types.ts:126](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L126)* +*Defined in [types.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L126)* ___ @@ -2324,7 +2324,7 @@ ___ • **hdKey**: *`HDNode`* -*Defined in [types.ts:127](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L127)* +*Defined in [types.ts:127](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L127)*
@@ -2348,7 +2348,7 @@ ___ • **r**: *string* -*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L29)* +*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L29)* ___ @@ -2356,7 +2356,7 @@ ___ • **s**: *string* -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L30)* ___ @@ -2364,7 +2364,7 @@ ___ • **v**: *string* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L28)*
@@ -2393,7 +2393,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum-types/lib/index.d.ts:262 + ___ @@ -2403,7 +2403,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum-types/lib/index.d.ts:263 + ___ @@ -2413,7 +2413,7 @@ ___ *Overrides void* -*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L136)* +*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L136)* ___ @@ -2423,7 +2423,7 @@ ___ *Inherited from void* -Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum-types/lib/index.d.ts:260 +
@@ -2445,7 +2445,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum- • **close_async**: *function* -*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L98)* +*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L98)* #### Type declaration: @@ -2471,7 +2471,7 @@ Defined in /Users/rickmorty/Documents/projects/0x/0x-monorepo/packages/ethereum- • **close**: *function* -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L5)* #### Type declaration: @@ -2505,7 +2505,7 @@ NodeJs and Browser communication are supported. • **getAddress**: *function* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L17)* #### Type declaration: @@ -2525,7 +2525,7 @@ ___ • **signPersonalMessage**: *function* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L23)* #### Type declaration: @@ -2544,7 +2544,7 @@ ___ • **signTransaction**: *function* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L22)* #### Type declaration: @@ -2563,7 +2563,7 @@ ___ • **transport**: *[LedgerCommunicationClient](#interface-ledgercommunicationclient)* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L24)*
@@ -2587,7 +2587,7 @@ ___ • **address**: *string* -*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L79)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L79)* ___ @@ -2595,7 +2595,7 @@ ___ • **chainCode**: *string* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L81)* ___ @@ -2603,7 +2603,7 @@ ___ • **publicKey**: *string* -*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L80)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L80)*
@@ -2633,7 +2633,7 @@ accountFetchingConfigs: configs related to fetching accounts from a Ledger • **accountFetchingConfigs**? : *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* -*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L45)* ___ @@ -2641,7 +2641,7 @@ ___ • **baseDerivationPath**? : *undefined | string* -*Defined in [types.ts:44](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L44)* +*Defined in [types.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L44)* ___ @@ -2649,7 +2649,7 @@ ___ • **ledgerEthereumClientFactoryAsync**: *[LedgerEthereumClientFactoryAsync](#ledgerethereumclientfactoryasync)* -*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L43)* +*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L43)* ___ @@ -2657,7 +2657,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L42)*
@@ -2685,7 +2685,7 @@ baseDerivationPath: The base derivation path (e.g 44'/60'/0'/0) • **addressSearchLimit**? : *undefined | number* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L67)* ___ @@ -2693,7 +2693,7 @@ ___ • **baseDerivationPath**? : *undefined | string* -*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L68)* +*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L68)* ___ @@ -2701,7 +2701,7 @@ ___ • **mnemonic**: *string* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L66)*
@@ -2730,7 +2730,7 @@ ___ • **chainId**: *number* -*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L92)* +*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L92)* ___ @@ -2738,7 +2738,7 @@ ___ • **data**? : *undefined | string* -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L91)* ___ @@ -2746,7 +2746,7 @@ ___ • **from**: *string* -*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L89)* +*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L89)* ___ @@ -2754,7 +2754,7 @@ ___ • **gas**: *string* -*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L87)* +*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L87)* ___ @@ -2762,7 +2762,7 @@ ___ • **gasPrice**? : *undefined | string* -*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L86)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L86)* ___ @@ -2770,7 +2770,7 @@ ___ • **nonce**: *string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L85)* ___ @@ -2778,7 +2778,7 @@ ___ • **to**: *string* -*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L88)* +*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L88)* ___ @@ -2786,7 +2786,7 @@ ___ • **value**? : *undefined | string* -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L90)*
@@ -2809,7 +2809,7 @@ ___ • **raw**: *string* -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L102)* ___ @@ -2817,7 +2817,7 @@ ___ • **tx**: *[PartialTxParams](#interface-partialtxparams)* -*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L103)* +*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L103)*
@@ -2842,7 +2842,7 @@ ___ • **hash**: *string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L72)* ___ @@ -2850,7 +2850,7 @@ ___ • **r**: *string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L73)* ___ @@ -2858,7 +2858,7 @@ ___ • **s**: *string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L74)* ___ @@ -2866,7 +2866,7 @@ ___ • **v**: *number* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L75)*
@@ -2890,7 +2890,7 @@ ___ • **id**: *number* -*Defined in [types.ts:175](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L175)* +*Defined in [types.ts:175](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L175)* ___ @@ -2898,7 +2898,7 @@ ___ • **payload**: *any* -*Defined in [types.ts:174](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L174)* +*Defined in [types.ts:174](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L174)* ___ @@ -2906,7 +2906,7 @@ ___ • **success**: *boolean* -*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L176)* +*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L176)*
@@ -2935,7 +2935,7 @@ ___ • **chainCode**: *string* -*Defined in [types.ts:152](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L152)* +*Defined in [types.ts:152](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L152)* ___ @@ -2943,7 +2943,7 @@ ___ • **childNumb**: *number* -*Defined in [types.ts:150](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L150)* +*Defined in [types.ts:150](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L150)* ___ @@ -2951,7 +2951,7 @@ ___ • **depth**: *number* -*Defined in [types.ts:155](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L155)* +*Defined in [types.ts:155](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L155)* ___ @@ -2959,7 +2959,7 @@ ___ • **fingerprint**: *number* -*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L154)* ___ @@ -2967,7 +2967,7 @@ ___ • **path**: *object* -*Defined in [types.ts:146](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L146)* +*Defined in [types.ts:146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L146)* #### Type declaration: @@ -2979,7 +2979,7 @@ ___ • **publicKey**: *string* -*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L153)* ___ @@ -2987,7 +2987,7 @@ ___ • **serializedPath**: *string* -*Defined in [types.ts:149](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L149)* +*Defined in [types.ts:149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L149)* ___ @@ -2995,7 +2995,7 @@ ___ • **xpub**: *string* -*Defined in [types.ts:151](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L151)* +*Defined in [types.ts:151](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L151)*
@@ -3017,7 +3017,7 @@ ___ • **error**: *string* -*Defined in [types.ts:170](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L170)* +*Defined in [types.ts:170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L170)*
@@ -3040,7 +3040,7 @@ ___ • **address**: *string* -*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L165)* ___ @@ -3048,7 +3048,7 @@ ___ • **signature**: *string* -*Defined in [types.ts:166](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L166)* +*Defined in [types.ts:166](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L166)*
@@ -3072,7 +3072,7 @@ ___ • **r**: *string* -*Defined in [types.ts:160](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L160)* +*Defined in [types.ts:160](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L160)* ___ @@ -3080,7 +3080,7 @@ ___ • **s**: *string* -*Defined in [types.ts:161](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L161)* +*Defined in [types.ts:161](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L161)* ___ @@ -3088,7 +3088,7 @@ ___ • **v**: *string* -*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L159)* +*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L159)*
@@ -3112,7 +3112,7 @@ ___ • **accountFetchingConfigs**: *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* -*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L140)* ___ @@ -3120,7 +3120,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:142](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L142)* +*Defined in [types.ts:142](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L142)* ___ @@ -3128,105 +3128,7 @@ ___ • **trezorConnectClientApi**: *any* -*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/subproviders/src/types.ts#L141)* - -
- -* [Globals](globals.md) -* [External Modules]() - * [index](modules/_index_.md) - * [subproviders/base_wallet_subprovider](modules/_subproviders_base_wallet_subprovider_.md) - * [subproviders/base_wallet_subprovider.BaseWalletSubprovider](#class-basewalletsubprovider) - * [subproviders/empty_wallet_subprovider](modules/_subproviders_empty_wallet_subprovider_.md) - * [subproviders/empty_wallet_subprovider.EmptyWalletSubprovider](#class-emptywalletsubprovider) - * [subproviders/fake_gas_estimate_subprovider](modules/_subproviders_fake_gas_estimate_subprovider_.md) - * [subproviders/fake_gas_estimate_subprovider.FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider) - * [subproviders/ganache](modules/_subproviders_ganache_.md) - * [subproviders/ganache.GanacheSubprovider](#class-ganachesubprovider) - * [subproviders/ledger](modules/_subproviders_ledger_.md) - * [subproviders/ledger.LedgerSubprovider](#class-ledgersubprovider) - * [subproviders/metamask_subprovider](modules/_subproviders_metamask_subprovider_.md) - * [subproviders/metamask_subprovider.MetamaskSubprovider](#class-metamasksubprovider) - * [subproviders/mnemonic_wallet](modules/_subproviders_mnemonic_wallet_.md) - * [subproviders/mnemonic_wallet.MnemonicWalletSubprovider](#class-mnemonicwalletsubprovider) - * [subproviders/nonce_tracker](modules/_subproviders_nonce_tracker_.md) - * [subproviders/nonce_tracker.NonceTrackerSubprovider](#class-noncetrackersubprovider) - * [subproviders/private_key_wallet](modules/_subproviders_private_key_wallet_.md) - * [subproviders/private_key_wallet.PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider) - * [subproviders/redundant_subprovider](modules/_subproviders_redundant_subprovider_.md) - * [subproviders/redundant_subprovider.RedundantSubprovider](#class-redundantsubprovider) - * [subproviders/rpc_subprovider](modules/_subproviders_rpc_subprovider_.md) - * [subproviders/rpc_subprovider.RPCSubprovider](#class-rpcsubprovider) - * [subproviders/signer](modules/_subproviders_signer_.md) - * [subproviders/signer.SignerSubprovider](#class-signersubprovider) - * [subproviders/subprovider](modules/_subproviders_subprovider_.md) - * [subproviders/subprovider.Subprovider](#class-subprovider) - * [subproviders/trezor](modules/_subproviders_trezor_.md) - * [subproviders/trezor.TrezorSubprovider](#class-trezorsubprovider) - * [types](modules/_types_.md) - * [types.LedgerSubproviderErrors](#class-ledgersubprovidererrors) - * [types.NonceSubproviderErrors](#class-noncesubprovidererrors) - * [types.WalletSubproviderErrors](#class-walletsubprovidererrors) - * [types.AccountFetchingConfigs](#class-accountfetchingconfigs) - * [types.DerivedHDKeyInfo](#class-derivedhdkeyinfo) - * [types.ECSignatureString](#class-ecsignaturestring) - * [types.JSONRPCRequestPayloadWithMethod](#class-jsonrpcrequestpayloadwithmethod) - * [types.LedgerCommunication](#class-ledgercommunication) - * [types.LedgerCommunicationClient](#class-ledgercommunicationclient) - * [types.LedgerEthereumClient](#class-ledgerethereumclient) - * [types.LedgerGetAddressResult](#class-ledgergetaddressresult) - * [types.LedgerSubproviderConfigs](#class-ledgersubproviderconfigs) - * [types.MnemonicWalletSubproviderConfigs](#class-mnemonicwalletsubproviderconfigs) - * [types.PartialTxParams](#class-partialtxparams) - * [types.ResponseWithTxParams](#class-responsewithtxparams) - * [types.SignatureData](#class-signaturedata) - * [types.TrezorConnectResponse](#class-trezorconnectresponse) - * [types.TrezorGetPublicKeyResponsePayload](#class-trezorgetpublickeyresponsepayload) - * [types.TrezorResponseErrorPayload](#class-trezorresponseerrorpayload) - * [types.TrezorSignMsgResponsePayload](#class-trezorsignmsgresponsepayload) - * [types.TrezorSignTxResponsePayload](#class-trezorsigntxresponsepayload) - * [types.TrezorSubproviderConfig](#class-trezorsubproviderconfig) - * [utils/subprovider_utils](modules/_utils_subprovider_utils_.md) - * [utils/wallet_utils](modules/_utils_wallet_utils_.md) -* [Classes]() - * [subproviders/base_wallet_subprovider.BaseWalletSubprovider](#class-basewalletsubprovider) - * [subproviders/empty_wallet_subprovider.EmptyWalletSubprovider](#class-emptywalletsubprovider) - * [subproviders/fake_gas_estimate_subprovider.FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider) - * [subproviders/ganache.GanacheSubprovider](#class-ganachesubprovider) - * [subproviders/ledger.LedgerSubprovider](#class-ledgersubprovider) - * [subproviders/metamask_subprovider.MetamaskSubprovider](#class-metamasksubprovider) - * [subproviders/mnemonic_wallet.MnemonicWalletSubprovider](#class-mnemonicwalletsubprovider) - * [subproviders/nonce_tracker.NonceTrackerSubprovider](#class-noncetrackersubprovider) - * [subproviders/private_key_wallet.PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider) - * [subproviders/redundant_subprovider.RedundantSubprovider](#class-redundantsubprovider) - * [subproviders/rpc_subprovider.RPCSubprovider](#class-rpcsubprovider) - * [subproviders/signer.SignerSubprovider](#class-signersubprovider) - * [subproviders/subprovider.Subprovider](#class-subprovider) - * [subproviders/trezor.TrezorSubprovider](#class-trezorsubprovider) -* [Enums]() - * [types.LedgerSubproviderErrors](#class-ledgersubprovidererrors) - * [types.NonceSubproviderErrors](#class-noncesubprovidererrors) - * [types.WalletSubproviderErrors](#class-walletsubprovidererrors) -* [Interfaces]() - * [types.AccountFetchingConfigs](#class-accountfetchingconfigs) - * [types.DerivedHDKeyInfo](#class-derivedhdkeyinfo) - * [types.ECSignatureString](#class-ecsignaturestring) - * [types.JSONRPCRequestPayloadWithMethod](#class-jsonrpcrequestpayloadwithmethod) - * [types.LedgerCommunication](#class-ledgercommunication) - * [types.LedgerCommunicationClient](#class-ledgercommunicationclient) - * [types.LedgerEthereumClient](#class-ledgerethereumclient) - * [types.LedgerGetAddressResult](#class-ledgergetaddressresult) - * [types.LedgerSubproviderConfigs](#class-ledgersubproviderconfigs) - * [types.MnemonicWalletSubproviderConfigs](#class-mnemonicwalletsubproviderconfigs) - * [types.PartialTxParams](#class-partialtxparams) - * [types.ResponseWithTxParams](#class-responsewithtxparams) - * [types.SignatureData](#class-signaturedata) - * [types.TrezorConnectResponse](#class-trezorconnectresponse) - * [types.TrezorGetPublicKeyResponsePayload](#class-trezorgetpublickeyresponsepayload) - * [types.TrezorResponseErrorPayload](#class-trezorresponseerrorpayload) - * [types.TrezorSignMsgResponsePayload](#class-trezorsignmsgresponsepayload) - * [types.TrezorSignTxResponsePayload](#class-trezorsigntxresponsepayload) - * [types.TrezorSubproviderConfig](#class-trezorsubproviderconfig) +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L141)*
diff --git a/packages/web3-wrapper/docs/reference.mdx b/packages/web3-wrapper/docs/reference.mdx index fb1b2c3141..93da7491d4 100644 --- a/packages/web3-wrapper/docs/reference.mdx +++ b/packages/web3-wrapper/docs/reference.mdx @@ -62,7 +62,7 @@ An alternative to the Web3.js library that provides a consistent, clean, promise \+ **new Web3Wrapper**(`supportedProvider`: `SupportedProvider`, `callAndTxnDefaults`: `Partial`): *[Web3Wrapper](#class-web3wrapper)* -*Defined in [web3_wrapper.ts:145](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L145)* +*Defined in [web3_wrapper.ts:145](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L145)* Instantiates a new Web3Wrapper. @@ -83,7 +83,7 @@ An instance of the Web3Wrapper class. • **abiDecoder**: *`AbiDecoder`* -*Defined in [web3_wrapper.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L54)* +*Defined in [web3_wrapper.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L54)* ___ @@ -91,7 +91,7 @@ ___ • **isZeroExWeb3Wrapper**: *boolean* = true -*Defined in [web3_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L53)* +*Defined in [web3_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L53)* Flag to check if this instance is of type Web3Wrapper @@ -101,7 +101,7 @@ Flag to check if this instance is of type Web3Wrapper ▸ **awaitTransactionMinedAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* -*Defined in [web3_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L568)* +*Defined in [web3_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L568)* Waits for a transaction to be mined and returns the transaction receipt. Note that just because a transaction was mined does not mean it was @@ -127,7 +127,7 @@ ___ ▸ **awaitTransactionSuccessAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* -*Defined in [web3_wrapper.ts:643](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L643)* +*Defined in [web3_wrapper.ts:643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L643)* Waits for a transaction to be mined and returns the transaction receipt. Unlike awaitTransactionMinedAsync, it will throw if the receipt has a @@ -153,7 +153,7 @@ ___ ▸ **callAsync**(`callData`: `CallData`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:525](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L525)* +*Defined in [web3_wrapper.ts:525](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L525)* Call a smart contract method at a given block height @@ -174,7 +174,7 @@ ___ ▸ **doesContractExistAtAddressAsync**(`address`: string): *`Promise`* -*Defined in [web3_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L273)* +*Defined in [web3_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L273)* Check if a contract exists at a given address @@ -194,7 +194,7 @@ ___ ▸ **estimateGasAsync**(`txData`: `Partial`): *`Promise`* -*Defined in [web3_wrapper.ts:508](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L508)* +*Defined in [web3_wrapper.ts:508](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L508)* Calculate the estimated gas cost for a given transaction @@ -214,7 +214,7 @@ ___ ▸ **getAvailableAddressesAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:421](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L421)* +*Defined in [web3_wrapper.ts:421](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L421)* Retrieve the user addresses available through the backing provider @@ -228,7 +228,7 @@ ___ ▸ **getBalanceInWeiAsync**(`owner`: string, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:254](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L254)* +*Defined in [web3_wrapper.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L254)* Retrieves an accounts Ether balance in wei @@ -249,7 +249,7 @@ ___ ▸ **getBlockIfExistsAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:361](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L361)* +*Defined in [web3_wrapper.ts:361](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L361)* Fetch a specific Ethereum block without transaction data @@ -270,7 +270,7 @@ ___ ▸ **getBlockNumberAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:347](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L347)* +*Defined in [web3_wrapper.ts:347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L347)* Fetches the latest block number @@ -284,7 +284,7 @@ ___ ▸ **getBlockTimestampAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L409)* +*Defined in [web3_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L409)* Fetch a block's timestamp @@ -304,7 +304,7 @@ ___ ▸ **getBlockWithTransactionDataAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:387](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L387)* +*Defined in [web3_wrapper.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L387)* Fetch a specific Ethereum block with transaction data @@ -324,7 +324,7 @@ ___ ▸ **getContractCodeAsync**(`address`: string, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:286](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L286)* +*Defined in [web3_wrapper.ts:286](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L286)* Gets the contract code by address @@ -345,7 +345,7 @@ ___ ▸ **getContractDefaults**(): *`Partial` | undefined* -*Defined in [web3_wrapper.ts:164](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L164)* +*Defined in [web3_wrapper.ts:164](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L164)* Get the contract defaults set to the Web3Wrapper instance @@ -359,7 +359,7 @@ ___ ▸ **getLogsAsync**(`filter`: `FilterObject`): *`Promise`* -*Defined in [web3_wrapper.ts:475](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L475)* +*Defined in [web3_wrapper.ts:475](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L475)* Retrieve smart contract logs for a given filter @@ -379,7 +379,7 @@ ___ ▸ **getNetworkIdAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L207)* +*Defined in [web3_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L207)* Fetches the networkId of the backing Ethereum node @@ -393,7 +393,7 @@ ___ ▸ **getNodeTypeAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:690](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L690)* +*Defined in [web3_wrapper.ts:690](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L690)* Returns either NodeType.Geth or NodeType.Ganache depending on the type of the backing Ethereum node. Throws for any other type of node. @@ -406,7 +406,7 @@ ___ ▸ **getNodeVersionAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:199](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L199)* +*Defined in [web3_wrapper.ts:199](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L199)* Fetch the backing Ethereum node's version string (e.g `MetaMask/v4.2.0`) @@ -420,7 +420,7 @@ ___ ▸ **getProvider**(): *`SupportedProvider`* -*Defined in [web3_wrapper.ts:171](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L171)* +*Defined in [web3_wrapper.ts:171](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L171)* Retrieve the Web3 provider @@ -434,7 +434,7 @@ ___ ▸ **getTransactionByHashAsync**(`txHash`: string): *`Promise`* -*Defined in [web3_wrapper.ts:239](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L239)* +*Defined in [web3_wrapper.ts:239](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L239)* Retrieves the transaction data for a given transaction @@ -454,7 +454,7 @@ ___ ▸ **getTransactionReceiptIfExistsAsync**(`txHash`: string): *`Promise`* -*Defined in [web3_wrapper.ts:217](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L217)* +*Defined in [web3_wrapper.ts:217](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L217)* Retrieves the transaction receipt for a given transaction hash if found @@ -474,7 +474,7 @@ ___ ▸ **getTransactionTraceAsync**(`txHash`: string, `traceParams`: `TraceParams`): *`Promise`* -*Defined in [web3_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L305)* +*Defined in [web3_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L305)* Gets the debug trace of a transaction @@ -495,7 +495,7 @@ ___ ▸ **increaseTimeAsync**(`timeDelta`: number): *`Promise`* -*Defined in [web3_wrapper.ts:458](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L458)* +*Defined in [web3_wrapper.ts:458](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L458)* Increase the next blocks timestamp on TestRPC/Ganache or Geth local node. Will throw if provider is neither TestRPC/Ganache or Geth. @@ -514,7 +514,7 @@ ___ ▸ **isSenderAddressAvailableAsync**(`senderAddress`: string): *`Promise`* -*Defined in [web3_wrapper.ts:189](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L189)* +*Defined in [web3_wrapper.ts:189](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L189)* Check whether an address is available through the backing provider. This can be useful if you want to know whether a user can sign messages or transactions from @@ -536,7 +536,7 @@ ___ ▸ **mineBlockAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:450](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L450)* +*Defined in [web3_wrapper.ts:450](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L450)* Mine a block on a TestRPC/Ganache local node @@ -548,7 +548,7 @@ ___ ▸ **revertSnapshotAsync**(`snapshotId`: number): *`Promise`* -*Defined in [web3_wrapper.ts:442](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L442)* +*Defined in [web3_wrapper.ts:442](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L442)* Revert the blockchain state to a previous snapshot state on TestRPC/Ganache local node @@ -568,7 +568,7 @@ ___ ▸ **sendRawPayloadAsync**<**A**>(`payload`: `Partial`): *`Promise`* -*Defined in [web3_wrapper.ts:671](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L671)* +*Defined in [web3_wrapper.ts:671](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L671)* Sends a raw Ethereum JSON RPC payload and returns the response's `result` key @@ -592,7 +592,7 @@ ___ ▸ **sendTransactionAsync**(`txData`: `TxData`): *`Promise`* -*Defined in [web3_wrapper.ts:547](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L547)* +*Defined in [web3_wrapper.ts:547](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L547)* Send a transaction @@ -612,7 +612,7 @@ ___ ▸ **setHeadAsync**(`blockNumber`: number): *`Promise`* -*Defined in [web3_wrapper.ts:662](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L662)* +*Defined in [web3_wrapper.ts:662](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L662)* Calls the 'debug_setHead' JSON RPC method, which sets the current head of the local chain by block number. Note, this is a destructive action and @@ -634,7 +634,7 @@ ___ ▸ **setProvider**(`supportedProvider`: `SupportedProvider`): *void* -*Defined in [web3_wrapper.ts:178](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L178)* +*Defined in [web3_wrapper.ts:178](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L178)* Update the used Web3 provider @@ -652,7 +652,7 @@ ___ ▸ **signMessageAsync**(`address`: string, `message`: string): *`Promise`* -*Defined in [web3_wrapper.ts:319](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L319)* +*Defined in [web3_wrapper.ts:319](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L319)* Sign a message with a specific address's private key (`eth_sign`) @@ -673,7 +673,7 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Defined in [web3_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L334)* +*Defined in [web3_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L334)* Sign an EIP712 typed data message with a specific address's private key (`eth_signTypedData`) @@ -694,7 +694,7 @@ ___ ▸ **takeSnapshotAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:433](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L433)* +*Defined in [web3_wrapper.ts:433](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L433)* Take a snapshot of the blockchain state on a TestRPC/Ganache local node @@ -708,7 +708,7 @@ ___ ▸ **isAddress**(`address`: string): *boolean* -*Defined in [web3_wrapper.ts:65](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L65)* +*Defined in [web3_wrapper.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L65)* Check if an address is a valid Ethereum address @@ -728,7 +728,7 @@ ___ ▸ **toBaseUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* -*Defined in [web3_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L91)* +*Defined in [web3_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L91)* A baseUnit is defined as the smallest denomination of a token. An amount expressed in baseUnits is the amount expressed in the smallest denomination. @@ -751,7 +751,7 @@ ___ ▸ **toUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* -*Defined in [web3_wrapper.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L76)* +*Defined in [web3_wrapper.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L76)* A unit amount is defined as the amount of a token above the specified decimal places (integer part). E.g: If a currency has 18 decimal places, 1e18 or one quintillion of the currency is equivalent @@ -774,7 +774,7 @@ ___ ▸ **toWei**(`ethAmount`: `BigNumber`): *`BigNumber`* -*Defined in [web3_wrapper.ts:107](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/web3_wrapper.ts#L107)* +*Defined in [web3_wrapper.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L107)* Convert an Ether amount from ETH to Wei @@ -805,7 +805,7 @@ Amount in wei • **Ganache**: = "GANACHE" -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L91)* ___ @@ -813,7 +813,7 @@ ___ • **Geth**: = "GETH" -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L90)*
@@ -831,7 +831,7 @@ ___ • **TransactionMiningTimeout**: = "TRANSACTION_MINING_TIMEOUT" -*Defined in [types.ts:2](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L2)* +*Defined in [types.ts:2](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L2)*
@@ -873,7 +873,7 @@ ___ • **difficulty**: *string* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L15)* ___ @@ -881,7 +881,7 @@ ___ • **extraData**: *string* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L17)* ___ @@ -889,7 +889,7 @@ ___ • **gasLimit**: *string* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L19)* ___ @@ -897,7 +897,7 @@ ___ • **gasUsed**: *string* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L20)* ___ @@ -905,7 +905,7 @@ ___ • **hash**: *string | null* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L7)* ___ @@ -913,7 +913,7 @@ ___ • **logsBloom**: *string | null* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L11)* ___ @@ -921,7 +921,7 @@ ___ • **miner**: *string* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L14)* ___ @@ -929,7 +929,7 @@ ___ • **nonce**: *string | null* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L9)* ___ @@ -937,7 +937,7 @@ ___ • **number**: *string | null* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L6)* ___ @@ -945,7 +945,7 @@ ___ • **parentHash**: *string* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L8)* ___ @@ -953,7 +953,7 @@ ___ • **sha3Uncles**: *string* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L10)* ___ @@ -961,7 +961,7 @@ ___ • **size**: *string* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L18)* ___ @@ -969,7 +969,7 @@ ___ • **stateRoot**: *string* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L13)* ___ @@ -977,7 +977,7 @@ ___ • **timestamp**: *string* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L21)* ___ @@ -985,7 +985,7 @@ ___ • **totalDifficulty**: *string* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L16)* ___ @@ -993,7 +993,7 @@ ___ • **transactionsRoot**: *string* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L12)* ___ @@ -1001,7 +1001,7 @@ ___ • **uncles**: *string[]* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L22)*
@@ -1044,7 +1044,7 @@ ___ *Inherited from [AbstractBlockRPC](#difficulty)* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L15)* ___ @@ -1054,7 +1054,7 @@ ___ *Inherited from [AbstractBlockRPC](#extradata)* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L17)* ___ @@ -1064,7 +1064,7 @@ ___ *Inherited from [AbstractBlockRPC](#gaslimit)* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L19)* ___ @@ -1074,7 +1074,7 @@ ___ *Inherited from [AbstractBlockRPC](#gasused)* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L20)* ___ @@ -1084,7 +1084,7 @@ ___ *Inherited from [AbstractBlockRPC](#hash)* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L7)* ___ @@ -1094,7 +1094,7 @@ ___ *Inherited from [AbstractBlockRPC](#logsbloom)* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L11)* ___ @@ -1104,7 +1104,7 @@ ___ *Inherited from [AbstractBlockRPC](#miner)* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L14)* ___ @@ -1114,7 +1114,7 @@ ___ *Inherited from [AbstractBlockRPC](#nonce)* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L9)* ___ @@ -1124,7 +1124,7 @@ ___ *Inherited from [AbstractBlockRPC](#number)* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L6)* ___ @@ -1134,7 +1134,7 @@ ___ *Inherited from [AbstractBlockRPC](#parenthash)* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L8)* ___ @@ -1144,7 +1144,7 @@ ___ *Inherited from [AbstractBlockRPC](#sha3uncles)* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L10)* ___ @@ -1154,7 +1154,7 @@ ___ *Inherited from [AbstractBlockRPC](#size)* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L18)* ___ @@ -1164,7 +1164,7 @@ ___ *Inherited from [AbstractBlockRPC](#stateroot)* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L13)* ___ @@ -1174,7 +1174,7 @@ ___ *Inherited from [AbstractBlockRPC](#timestamp)* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L21)* ___ @@ -1184,7 +1184,7 @@ ___ *Inherited from [AbstractBlockRPC](#totaldifficulty)* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L16)* ___ @@ -1192,7 +1192,7 @@ ___ • **transactions**: *string[]* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L25)* ___ @@ -1202,7 +1202,7 @@ ___ *Inherited from [AbstractBlockRPC](#transactionsroot)* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L12)* ___ @@ -1212,7 +1212,7 @@ ___ *Inherited from [AbstractBlockRPC](#uncles)* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L22)*
@@ -1255,7 +1255,7 @@ ___ *Inherited from [AbstractBlockRPC](#difficulty)* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L15)* ___ @@ -1265,7 +1265,7 @@ ___ *Inherited from [AbstractBlockRPC](#extradata)* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L17)* ___ @@ -1275,7 +1275,7 @@ ___ *Inherited from [AbstractBlockRPC](#gaslimit)* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L19)* ___ @@ -1285,7 +1285,7 @@ ___ *Inherited from [AbstractBlockRPC](#gasused)* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L20)* ___ @@ -1295,7 +1295,7 @@ ___ *Inherited from [AbstractBlockRPC](#hash)* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L7)* ___ @@ -1305,7 +1305,7 @@ ___ *Inherited from [AbstractBlockRPC](#logsbloom)* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L11)* ___ @@ -1315,7 +1315,7 @@ ___ *Inherited from [AbstractBlockRPC](#miner)* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L14)* ___ @@ -1325,7 +1325,7 @@ ___ *Inherited from [AbstractBlockRPC](#nonce)* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L9)* ___ @@ -1335,7 +1335,7 @@ ___ *Inherited from [AbstractBlockRPC](#number)* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L6)* ___ @@ -1345,7 +1345,7 @@ ___ *Inherited from [AbstractBlockRPC](#parenthash)* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L8)* ___ @@ -1355,7 +1355,7 @@ ___ *Inherited from [AbstractBlockRPC](#sha3uncles)* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L10)* ___ @@ -1365,7 +1365,7 @@ ___ *Inherited from [AbstractBlockRPC](#size)* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L18)* ___ @@ -1375,7 +1375,7 @@ ___ *Inherited from [AbstractBlockRPC](#stateroot)* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L13)* ___ @@ -1385,7 +1385,7 @@ ___ *Inherited from [AbstractBlockRPC](#timestamp)* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L21)* ___ @@ -1395,7 +1395,7 @@ ___ *Inherited from [AbstractBlockRPC](#totaldifficulty)* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L16)* ___ @@ -1403,7 +1403,7 @@ ___ • **transactions**: *[TransactionRPC](#interface-transactionrpc)[]* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L28)* ___ @@ -1413,7 +1413,7 @@ ___ *Inherited from [AbstractBlockRPC](#transactionsroot)* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L12)* ___ @@ -1423,7 +1423,7 @@ ___ *Inherited from [AbstractBlockRPC](#uncles)* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L22)*
@@ -1455,7 +1455,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-data)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L76)* ___ @@ -1463,7 +1463,7 @@ ___ • **from**? : *undefined | string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L85)* ___ @@ -1473,7 +1473,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-gas)* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L74)* ___ @@ -1483,7 +1483,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-gasprice)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L75)* ___ @@ -1493,7 +1493,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-nonce)* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L77)* ___ @@ -1503,7 +1503,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-to)* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L72)* ___ @@ -1513,7 +1513,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-value)* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L73)*
@@ -1544,7 +1544,7 @@ ___ • **data**? : *undefined | string* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L76)* ___ @@ -1552,7 +1552,7 @@ ___ • **gas**? : *undefined | string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L74)* ___ @@ -1560,7 +1560,7 @@ ___ • **gasPrice**? : *undefined | string* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L75)* ___ @@ -1568,7 +1568,7 @@ ___ • **nonce**? : *undefined | string* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L77)* ___ @@ -1576,7 +1576,7 @@ ___ • **to**? : *undefined | string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L72)* ___ @@ -1584,7 +1584,7 @@ ___ • **value**? : *undefined | string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L73)*
@@ -1613,7 +1613,7 @@ ___ • **address**: *string* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L64)* ___ @@ -1621,7 +1621,7 @@ ___ • **blockHash**: *string | null* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L62)* ___ @@ -1629,7 +1629,7 @@ ___ • **blockNumber**: *string | null* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L63)* ___ @@ -1637,7 +1637,7 @@ ___ • **data**: *string* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L65)* ___ @@ -1645,7 +1645,7 @@ ___ • **logIndex**: *string | null* -*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L59)* +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L59)* ___ @@ -1653,7 +1653,7 @@ ___ • **topics**: *string[]* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L66)* ___ @@ -1661,7 +1661,7 @@ ___ • **transactionHash**: *string* -*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L61)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L61)* ___ @@ -1669,7 +1669,7 @@ ___ • **transactionIndex**: *string | null* -*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L60)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L60)*
@@ -1701,7 +1701,7 @@ ___ • **blockHash**: *string* -*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L45)* ___ @@ -1709,7 +1709,7 @@ ___ • **blockNumber**: *string* -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L46)* ___ @@ -1717,7 +1717,7 @@ ___ • **contractAddress**: *string | null* -*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L54)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L54)* ___ @@ -1725,7 +1725,7 @@ ___ • **cumulativeGasUsed**: *string* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L52)* ___ @@ -1733,7 +1733,7 @@ ___ • **from**: *string* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L49)* ___ @@ -1741,7 +1741,7 @@ ___ • **gasUsed**: *string* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L53)* ___ @@ -1749,7 +1749,7 @@ ___ • **logs**: *[LogEntryRPC](#interface-logentryrpc)[]* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L55)* ___ @@ -1757,7 +1757,7 @@ ___ • **status**: *[TransactionReceiptStatusRPC](#transactionreceiptstatusrpc)* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L51)* ___ @@ -1765,7 +1765,7 @@ ___ • **to**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L50)* ___ @@ -1773,7 +1773,7 @@ ___ • **transactionHash**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L47)* ___ @@ -1781,7 +1781,7 @@ ___ • **transactionIndex**: *string* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L48)*
@@ -1813,7 +1813,7 @@ ___ • **blockHash**: *string | null* -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L33)* ___ @@ -1821,7 +1821,7 @@ ___ • **blockNumber**: *string | null* -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L34)* ___ @@ -1829,7 +1829,7 @@ ___ • **from**: *string* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L36)* ___ @@ -1837,7 +1837,7 @@ ___ • **gas**: *string* -*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L40)* +*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L40)* ___ @@ -1845,7 +1845,7 @@ ___ • **gasPrice**: *string* -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L39)* ___ @@ -1853,7 +1853,7 @@ ___ • **hash**: *string* -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L31)* ___ @@ -1861,7 +1861,7 @@ ___ • **input**: *string* -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L41)* ___ @@ -1869,7 +1869,7 @@ ___ • **nonce**: *string* -*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L32)* ___ @@ -1877,7 +1877,7 @@ ___ • **to**: *string | null* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L37)* ___ @@ -1885,7 +1885,7 @@ ___ • **transactionIndex**: *string | null* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L35)* ___ @@ -1893,7 +1893,7 @@ ___ • **value**: *string* -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L38)*
@@ -1925,7 +1925,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-data)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L76)* ___ @@ -1933,7 +1933,7 @@ ___ • **from**: *string* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L81)* ___ @@ -1943,7 +1943,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-gas)* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L74)* ___ @@ -1953,7 +1953,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-gasprice)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L75)* ___ @@ -1963,7 +1963,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-nonce)* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L77)* ___ @@ -1973,7 +1973,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-to)* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L72)* ___ @@ -1983,44 +1983,7 @@ ___ *Inherited from [CallTxDataBaseRPC](#optional-value)* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6dd77d5c8/packages/web3-wrapper/src/types.ts#L73)* - -
- -* [Globals](globals.md) -* [External Modules]() - * [index](modules/_index_.md) - * [marshaller](modules/_marshaller_.md) - * [types](modules/_types_.md) - * [types.NodeType](#class-nodetype) - * [types.Web3WrapperErrors](#class-web3wrappererrors) - * [types.AbstractBlockRPC](#class-abstractblockrpc) - * [types.BlockWithTransactionDataRPC](#class-blockwithtransactiondatarpc) - * [types.BlockWithoutTransactionDataRPC](#class-blockwithouttransactiondatarpc) - * [types.CallDataRPC](#class-calldatarpc) - * [types.CallTxDataBaseRPC](#class-calltxdatabaserpc) - * [types.LogEntryRPC](#class-logentryrpc) - * [types.TransactionRPC](#class-transactionrpc) - * [types.TransactionReceiptRPC](#class-transactionreceiptrpc) - * [types.TxDataRPC](#class-txdatarpc) - * [utils](modules/_utils_.md) - * [web3_wrapper](modules/_web3_wrapper_.md) - * [web3_wrapper.Web3Wrapper](#class-web3wrapper) -* [Classes]() - * [web3_wrapper.Web3Wrapper](#class-web3wrapper) -* [Enums]() - * [types.NodeType](#class-nodetype) - * [types.Web3WrapperErrors](#class-web3wrappererrors) -* [Interfaces]() - * [types.AbstractBlockRPC](#class-abstractblockrpc) - * [types.BlockWithTransactionDataRPC](#class-blockwithtransactiondatarpc) - * [types.BlockWithoutTransactionDataRPC](#class-blockwithouttransactiondatarpc) - * [types.CallDataRPC](#class-calldatarpc) - * [types.CallTxDataBaseRPC](#class-calltxdatabaserpc) - * [types.LogEntryRPC](#class-logentryrpc) - * [types.TransactionRPC](#class-transactionrpc) - * [types.TransactionReceiptRPC](#class-transactionreceiptrpc) - * [types.TxDataRPC](#class-txdatarpc) +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L73)*
From e92e99d6ea52870b4925a43a287c7ec64ab055ee Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sun, 18 Aug 2019 00:48:09 +0200 Subject: [PATCH 26/37] Add missing devDep --- packages/contract-wrappers/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 7d6c866aec..a850cd2df2 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -50,6 +50,7 @@ "devDependencies": { "@0x/abi-gen": "^4.1.1", "@0x/assert": "^2.1.4", + "@0x/contracts-test-utils": "^3.1.13", "@0x/ts-doc-gen": "^0.0.15", "@0x/contracts-test-utils": "^3.1.14", "@0x/coordinator-server": "^0.1.3", From c3f98e95adeac824c92229a1ac02ec64302a5db1 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sun, 18 Aug 2019 00:50:25 +0200 Subject: [PATCH 27/37] Remove 0x.js from packages getting MD docs generated for them --- package.json | 2 +- packages/0x.js/package.json | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index bb06fdadb9..a6649aa3c5 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "config": { "contractsPackages": "@0x/contracts-asset-proxy @0x/contracts-erc20 @0x/contracts-erc721 @0x/contracts-erc1155 @0x/contracts-exchange @0x/contracts-exchange-forwarder @0x/contracts-exchange-libs @0x/contracts-extensions @0x/contracts-multisig @0x/contracts-test-utils @0x/contracts-utils @0x/contracts-coordinator @0x/contracts-dev-utils", "mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic", - "packagesWithDocPages": "0x.js connect json-schemas subproviders web3-wrapper order-utils sol-compiler sol-coverage sol-profiler sol-trace ethereum-types asset-buyer migrations", + "packagesWithDocPages": "connect json-schemas subproviders web3-wrapper order-utils sol-compiler sol-coverage sol-profiler sol-trace ethereum-types asset-buyer migrations", "ignoreDependencyVersions": "@types/styled-components @types/node", "ignoreDependencyVersionsForPackage": "website instant dev-tools-pages contract-wrappers" }, diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 6903345340..2b15e602c2 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -27,8 +27,6 @@ "clean": "shx rm -rf _bundles lib test_temp src/generated_contract_wrappers generated_docs", "build:umd:prod": "NODE_ENV=production node --max_old_space_size=8192 ../../node_modules/.bin/webpack --mode production", "build:commonjs": "tsc -b", - "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", - "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" }, "config": { From d15532227da60f7dc426bce41180b4669b438e18 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sun, 18 Aug 2019 00:50:34 +0200 Subject: [PATCH 28/37] Update yarn.lock --- yarn.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index 1786dacc23..626ecfff44 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9169,7 +9169,7 @@ highlight.js@^9.13.1: version "9.13.1" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.13.1.tgz#054586d53a6863311168488a0f58d6c505ce641e" -highlight.js@^9.15.8: +highlight.js@^9.15.8, highlight.js@^9.6.0: version "9.15.9" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.15.9.tgz#865257da1dbb4a58c4552d46c4b3854f77f0e6d5" integrity sha512-M0zZvfLr5p0keDMCAhNBp03XJbKBxUx5AfyfufMdFMEP4N/Xj6dh0IqC75ys7BAzceR34NgcvXjupRVaHBPPVQ== From b0e56fc27bc8d959bd98dc0cc6eb2bd7c7dbc6da Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 23 Aug 2019 19:13:27 +0200 Subject: [PATCH 29/37] Bump version of ts-doc-gen --- packages/asset-buyer/package.json | 2 +- packages/asset-swapper/package.json | 2 +- packages/connect/package.json | 2 +- packages/contract-wrappers/package.json | 2 +- packages/ethereum-types/package.json | 2 +- packages/json-schemas/package.json | 2 +- packages/migrations/package.json | 2 +- packages/order-utils/package.json | 2 +- packages/sol-compiler/package.json | 2 +- packages/sol-coverage/package.json | 2 +- packages/sol-profiler/package.json | 2 +- packages/sol-trace/package.json | 2 +- packages/subproviders/package.json | 2 +- packages/web3-wrapper/package.json | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index 1e42f5cb35..31d4954385 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -53,7 +53,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index 653bc259cc..d6f436aef4 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -57,7 +57,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/connect/package.json b/packages/connect/package.json index f57112fd96..bbbfc63efa 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -60,7 +60,7 @@ "websocket": "^1.0.26" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/fetch-mock": "^6.0.3", "@types/lodash": "4.14.104", diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index a850cd2df2..3388995d23 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -51,7 +51,7 @@ "@0x/abi-gen": "^4.1.1", "@0x/assert": "^2.1.4", "@0x/contracts-test-utils": "^3.1.13", - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/contracts-test-utils": "^3.1.14", "@0x/coordinator-server": "^0.1.3", "@0x/json-schemas": "^4.0.0", diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index 8162351a4c..7828454c80 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/ethereum-types/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "make-promises-safe": "^1.1.0", "shx": "^0.2.2", diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 79dfd86438..6a63dcc4c8 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -48,7 +48,7 @@ "lodash.values": "^4.3.0" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@0x/utils": "^4.5.0", "@types/lodash.foreach": "^4.5.3", diff --git a/packages/migrations/package.json b/packages/migrations/package.json index eca8fd35ff..11038fc116 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -40,7 +40,7 @@ "license": "Apache-2.0", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@0x/types": "^2.4.1", "@types/yargs": "^11.0.0", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 2b2c4fc72a..90dd4ad22b 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -39,7 +39,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 5ff5a8f846..824f1670e0 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -46,7 +46,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-compiler/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/mkdirp": "^0.5.2", "@types/mocha": "^5.2.7", diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index 88637c4e01..e25310e825 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 8a7a9796b9..6da0a3ef1d 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -42,7 +42,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index 0df3dde035..9ee3a7b684 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -43,7 +43,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/loglevel": "^1.5.3", "@types/node": "*", diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index 3d295f2984..a0e483316e 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -54,7 +54,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/bip39": "^2.4.0", "@types/bn.js": "^4.11.0", diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index bc81d72971..8a15d37ba6 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -39,7 +39,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/web3-wrapper/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.15", + "@0x/ts-doc-gen": "^0.0.16", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", From 9b12695443b200464e0ab9c16888162157a60063 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 23 Aug 2019 23:34:04 +0200 Subject: [PATCH 30/37] Fix rebase issue --- packages/contract-wrappers/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 3388995d23..02569b3124 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -50,7 +50,6 @@ "devDependencies": { "@0x/abi-gen": "^4.1.1", "@0x/assert": "^2.1.4", - "@0x/contracts-test-utils": "^3.1.13", "@0x/ts-doc-gen": "^0.0.16", "@0x/contracts-test-utils": "^3.1.14", "@0x/coordinator-server": "^0.1.3", From 87f31ec5329dc4ad69eb20581ebe163576e8e87c Mon Sep 17 00:00:00 2001 From: fabioberger Date: Fri, 23 Aug 2019 23:38:41 +0200 Subject: [PATCH 31/37] Update yarn.lock --- yarn.lock | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/yarn.lock b/yarn.lock index 626ecfff44..55799d3935 100644 --- a/yarn.lock +++ b/yarn.lock @@ -755,6 +755,16 @@ typeorm "0.2.7" websocket "^1.0.25" +"@0x/json-schemas@^3.0.1", "@0x/json-schemas@^3.0.11", "@0x/json-schemas@^3.0.2", "@0x/json-schemas@^3.0.3", "@0x/json-schemas@^3.1.11": + version "3.1.13" + resolved "https://registry.yarnpkg.com/@0x/json-schemas/-/json-schemas-3.1.13.tgz#4b9010f1bdeaf2aef1daba1753aa2e5ecf57f654" + integrity sha512-V93sF6seHDHFCSLZOOEhgY5k+w+78tLmxJRhj8XvsW4+EnXcgpshxK38P6SQAmBoNLDutmM8Wk1inf6ghiW0qA== + dependencies: + "@0x/typescript-typings" "^4.2.4" + "@types/node" "*" + jsonschema "^1.2.0" + lodash.values "^4.3.0" + "@0x/order-utils@^5.0.0": version "5.0.0" resolved "https://registry.yarnpkg.com/@0x/order-utils/-/order-utils-5.0.0.tgz#7f43e0310ace31738895881501c8dda9c3a3aefa" @@ -820,6 +830,20 @@ typedoc-plugin-markdown "^2.1.0" yargs "^10.0.3" +"@0x/ts-doc-gen@^0.0.16": + version "0.0.16" + resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.16.tgz#9ac03483803c89c5fd774a95d99a4cb0db070f69" + integrity sha512-jE2QPR0257Pa7MURN7NFB6F2bnEWvcHvvYTdSzLvFMmibQEa+5b0jron4NaK7TCseWFnKJD/psTbyXMResTnsQ== + dependencies: + "@0x/typescript-typings" "^4.2.2" + "@0x/utils" "^4.3.3" + glob "^7.1.4" + promisify-child-process "^3.1.1" + rimraf "^2.6.3" + typedoc "^0.15.0" + typedoc-plugin-markdown "^2.1.0" + yargs "^10.0.3" + "@0x/web3-wrapper@^4.0.1": version "4.0.2" resolved "https://registry.npmjs.org/@0x/web3-wrapper/-/web3-wrapper-4.0.2.tgz#d4e0a4fa1217155e1aed4cd91086654fd99f2959" @@ -14909,8 +14933,6 @@ react-highlight@0xproject/react-highlight#react-peer-deps: dependencies: highlight.js "^9.11.0" highlightjs-solidity "^1.0.5" - react "^16.5.2" - react-dom "^16.5.2" react-hot-loader@^4.3.3: version "4.3.4" From 368ae86530b716900fdb51f7d5218330161f3f10 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sat, 24 Aug 2019 01:27:24 +0200 Subject: [PATCH 32/37] Add MD docs diff test to CI --- .circleci/config.yml | 1 + package.json | 1 + packages/asset-buyer/package.json | 1 + packages/asset-swapper/package.json | 1 + packages/connect/package.json | 1 + packages/contract-wrappers/package.json | 1 + packages/ethereum-types/package.json | 1 + packages/json-schemas/package.json | 1 + packages/migrations/package.json | 1 + packages/order-utils/package.json | 1 + packages/sol-compiler/package.json | 1 + packages/sol-coverage/package.json | 1 + packages/sol-profiler/package.json | 1 + packages/sol-trace/package.json | 1 + packages/subproviders/package.json | 1 + packages/web3-wrapper/package.json | 1 + 16 files changed, 16 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 98e8862b74..b9e3085482 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -302,6 +302,7 @@ jobs: - run: yarn lerna run lint - run: yarn prettier:ci - run: yarn deps_versions:ci + - run: yarn diff_md_docs:ci - run: cd packages/0x.js && yarn build:umd:prod - run: yarn bundlewatch submit-coverage: diff --git a/package.json b/package.json index a6649aa3c5..f79ab19c94 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "generate_doc": "node ./packages/monorepo-scripts/lib/doc_generate_and_upload.js", "generate_md_docs": "wsrun docs:md --exclude-missing", "upload_md_docs": "wsrun s3:sync_md_docs --exclude-missing", + "diff_md_docs:ci": "wsrun diff_docs --exclude-missing", "test:generate_docs:circleci": "for i in ${npm_package_config_packagesWithDocPages}; do yarn generate_doc --package $i --shouldUpload false --isStaging true || break -1; done;", "bundlewatch": "bundlewatch", "lint": "wsrun lint $PKG --fast-exit --parallel --exclude-missing" diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index 31d4954385..5c5503e817 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -19,6 +19,7 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib test_temp", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index d6f436aef4..ca8a5dc9d5 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -19,6 +19,7 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit", "clean": "shx rm -rf lib test_temp", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/connect/package.json b/packages/connect/package.json index bbbfc63efa..b29a402f18 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -27,6 +27,7 @@ "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "test:circleci": "yarn test:coverage", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 5053cf9c71..765d0320b3 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -29,6 +29,7 @@ "prettier": "prettier --write **/* --config ../../.prettierrc", "clean": "shx rm -rf lib", "docs_test": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --out generated_docs ./src/generated-wrappers/*", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json" }, diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index 7828454c80..bb57bf398b 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -13,6 +13,7 @@ "clean": "shx rm -rf lib generated_docs", "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 6a63dcc4c8..7da7382adc 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -19,6 +19,7 @@ "test:circleci": "yarn test:coverage", "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit", "clean": "shx rm -rf lib test_temp generated_docs", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/migrations/package.json b/packages/migrations/package.json index 11038fc116..cef363b8e3 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -17,6 +17,7 @@ "migrate:v2:snapshot": "run-s build script:migrate:v2:snapshot", "script:migrate:v2": "node ./lib/migrate.js", "script:migrate:v2:snapshot": "node ./lib/migrate_snapshot.js", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index 90dd4ad22b..baa3fee37c 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -19,6 +19,7 @@ "clean": "shx rm -rf lib generated_docs", "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 824f1670e0..83e5f5de51 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -22,6 +22,7 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "test:circleci": "yarn test:coverage", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index e25310e825..f74fde575d 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -13,6 +13,7 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 6da0a3ef1d..784c9e91e3 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -13,6 +13,7 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index 9ee3a7b684..ff7e589cc2 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -13,6 +13,7 @@ "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", "clean": "shx rm -rf lib src/artifacts generated_docs", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index a0e483316e..e823e57713 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -22,6 +22,7 @@ "test:all": "run-s test:unit test:integration", "test:unit": "run-s clean build run_mocha_unit", "test:integration": "run-s clean build run_mocha_integration", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 8a15d37ba6..6718c0b90b 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -20,6 +20,7 @@ "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --bail --exit", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", + "diff_docs": "git diff --exit-code ./docs", "s3:sync_md_docs": "aws s3 sync ./docs s3://docs-markdown/${npm_package_name}/v${npm_package_version} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers", "docs:md": "ts-doc-gen --sourceDir=./src --output=./docs --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json", "docs:json": "typedoc --excludePrivate --excludeExternals --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES" From bfbc78c95c4bf9a298b466c194911f8792ede4cf Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sun, 25 Aug 2019 22:14:08 +0200 Subject: [PATCH 33/37] Remove unused dep --- packages/0x.js/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 2b15e602c2..ea2c9ce6f1 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -46,7 +46,6 @@ "@0x/contract-addresses": "^3.1.0", "@0x/dev-utils": "^2.3.1", "@0x/migrations": "^4.3.0", - "@0x/ts-doc-gen": "^0.0.15", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", From 6e2d0ab13d4d3d9ccdc37a1f58bd83604a242c22 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sun, 25 Aug 2019 22:34:28 +0200 Subject: [PATCH 34/37] Update docs to latest format --- packages/asset-buyer/docs/reference.mdx | 585 +- packages/asset-swapper/docs/reference.mdx | 1429 +- packages/connect/docs/reference.mdx | 213 +- packages/contract-wrappers/docs/reference.mdx | 27505 +--------------- packages/ethereum-types/docs/reference.mdx | 2760 +- packages/json-schemas/docs/reference.mdx | 33 +- packages/migrations/docs/reference.mdx | 117 +- packages/order-utils/docs/reference.mdx | 613 +- packages/sol-compiler/docs/reference.mdx | 193 +- packages/sol-coverage/docs/reference.mdx | 66 +- packages/sol-profiler/docs/reference.mdx | 48 +- packages/sol-trace/docs/reference.mdx | 43 +- packages/subproviders/docs/reference.mdx | 1087 +- packages/web3-wrapper/docs/reference.mdx | 827 +- 14 files changed, 3424 insertions(+), 32095 deletions(-) diff --git a/packages/asset-buyer/docs/reference.mdx b/packages/asset-buyer/docs/reference.mdx index 80b2dc620f..5428e22d9c 100644 --- a/packages/asset-buyer/docs/reference.mdx +++ b/packages/asset-buyer/docs/reference.mdx @@ -1,41 +1,17 @@ -> # Class: AssetBuyer +# Class: AssetBuyer -## Hierarchy +### Hierarchy * **AssetBuyer** -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [expiryBufferSeconds](#expirybufferseconds) -* [networkId](#networkid) -* [orderProvider](#orderprovider) -* [orderRefreshIntervalMs](#orderrefreshintervalms) -* [provider](#provider) - -### Methods - -* [executeBuyQuoteAsync](#executebuyquoteasync) -* [getAvailableAssetDatasAsync](#getavailableassetdatasasync) -* [getBuyQuoteAsync](#getbuyquoteasync) -* [getBuyQuoteForERC20TokenAddressAsync](#getbuyquoteforerc20tokenaddressasync) -* [getLiquidityForAssetDataAsync](#getliquidityforassetdataasync) -* [getOrdersAndFillableAmountsAsync](#getordersandfillableamountsasync) -* [getAssetBuyerForProvidedOrders](#static-getassetbuyerforprovidedorders) -* [getAssetBuyerForStandardRelayerAPIUrl](#static-getassetbuyerforstandardrelayerapiurl) - -## Constructors - -### constructor +## constructer \+ **new AssetBuyer**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#interface-orderprovider), `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L84)* +*Defined in [asset_buyer.ts:83](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L83)* Instantiates a new AssetBuyer instance @@ -51,53 +27,53 @@ Name | Type | Default | Description | An instance of AssetBuyer -## Properties +### Properties -### expiryBufferSeconds +## expiryBufferSeconds • **expiryBufferSeconds**: *number* -*Defined in [asset_buyer.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L41)* +*Defined in [asset_buyer.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L40)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [asset_buyer.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L39)* +*Defined in [asset_buyer.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L38)* ___ -### orderProvider +## orderProvider • **orderProvider**: *[OrderProvider](#interface-orderprovider)* -*Defined in [asset_buyer.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L38)* +*Defined in [asset_buyer.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L37)* ___ -### orderRefreshIntervalMs +## orderRefreshIntervalMs • **orderRefreshIntervalMs**: *number* -*Defined in [asset_buyer.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L40)* +*Defined in [asset_buyer.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L39)* ___ -### provider +## provider • **provider**: *`ZeroExProvider`* -*Defined in [asset_buyer.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L37)* +*Defined in [asset_buyer.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L36)* -## Methods +### Methods -### executeBuyQuoteAsync +## executeBuyQuoteAsync ▸ **executeBuyQuoteAsync**(`buyQuote`: [BuyQuote](#interface-buyquote), `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L227)* +*Defined in [asset_buyer.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L226)* Given a BuyQuote and desired rate, attempt to execute the buy. @@ -114,11 +90,11 @@ A promise of the txHash. ___ -### getAvailableAssetDatasAsync +## getAvailableAssetDatasAsync ▸ **getAvailableAssetDatasAsync**(): *`Promise`* -*Defined in [asset_buyer.ts:297](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L297)* +*Defined in [asset_buyer.ts:302](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L302)* Get the asset data of all assets that are purchaseable with ether token (wETH) in the order provider passed in at init. @@ -128,11 +104,11 @@ An array of asset data strings that can be purchased using wETH. ___ -### getBuyQuoteAsync +## getBuyQuoteAsync ▸ **getBuyQuoteAsync**(`assetData`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L126)* +*Defined in [asset_buyer.ts:125](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L125)* Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired assetData. You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. @@ -151,11 +127,11 @@ An object that conforms to BuyQuote that satisfies the request. See type definit ___ -### getBuyQuoteForERC20TokenAddressAsync +## getBuyQuoteForERC20TokenAddressAsync ▸ **getBuyQuoteForERC20TokenAddressAsync**(`tokenAddress`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:174](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L174)* +*Defined in [asset_buyer.ts:173](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L173)* Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired ERC20 token address. You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. @@ -174,11 +150,11 @@ An object that conforms to BuyQuote that satisfies the request. See type definit ___ -### getLiquidityForAssetDataAsync +## getLiquidityForAssetDataAsync ▸ **getLiquidityForAssetDataAsync**(`assetData`: string, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:193](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L193)* +*Defined in [asset_buyer.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L192)* Returns information about available liquidity for an asset Does not factor in slippage or fees @@ -196,11 +172,11 @@ An object that conforms to LiquidityForAssetData that satisfies the request. See ___ -### getOrdersAndFillableAmountsAsync +## getOrdersAndFillableAmountsAsync ▸ **getOrdersAndFillableAmountsAsync**(`assetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* -*Defined in [asset_buyer.ts:306](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L306)* +*Defined in [asset_buyer.ts:311](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L311)* Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders @@ -215,11 +191,11 @@ Name | Type | Description | ___ -### `Static` getAssetBuyerForProvidedOrders +## `Static` getAssetBuyerForProvidedOrders ▸ **getAssetBuyerForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L54)* +*Defined in [asset_buyer.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L53)* Instantiates a new AssetBuyer instance given existing liquidity in the form of orders and feeOrders. @@ -237,11 +213,11 @@ An instance of AssetBuyer ___ -### `Static` getAssetBuyerForStandardRelayerAPIUrl +## `Static` getAssetBuyerForStandardRelayerAPIUrl ▸ **getAssetBuyerForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/asset_buyer.ts#L73)* +*Defined in [asset_buyer.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L72)* Instantiates a new AssetBuyer instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint @@ -259,37 +235,24 @@ An instance of AssetBuyer
-> # Class: InsufficientAssetLiquidityError +# Class: InsufficientAssetLiquidityError Error class representing insufficient asset liquidity -## Hierarchy +### Hierarchy * `Error` * **InsufficientAssetLiquidityError** -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [amountAvailableToFill](#amountavailabletofill) -* [message](#message) -* [name](#name) -* [stack](#optional-stack) -* [Error](#static-error) - -## Constructors - -### constructor +## constructer \+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/errors.ts#L12)* **Parameters:** @@ -299,43 +262,43 @@ Name | Type | Description | **Returns:** *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -## Properties +### Properties -### amountAvailableToFill +## amountAvailableToFill • **amountAvailableToFill**: *`BigNumber`* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/errors.ts#L12)* The amount availabe to fill (in base units) factoring in slippage. ___ -### message +## message • **message**: *string* -*Inherited from void* + ___ -### name +## name • **name**: *string* -*Inherited from void* + ___ -### `Optional` stack +## `Optional` stack • **stack**? : *undefined | string* -*Inherited from void* + *Overrides void* @@ -343,7 +306,7 @@ ___ ___ -### `Static` Error +## `Static` Error ▪ **Error**: *`ErrorConstructor`* @@ -351,38 +314,24 @@ ___
-> # Class: BasicOrderProvider +# Class: BasicOrderProvider -## Hierarchy +### Hierarchy * **BasicOrderProvider** -## Implements +### Implements * [OrderProvider](#interface-orderprovider) -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [orders](#orders) - -### Methods - -* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) -* [getOrdersAsync](#getordersasync) - -## Constructors - -### constructor +## constructer \+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* Instantiates a new BasicOrderProvider instance @@ -396,21 +345,21 @@ Name | Type | Description | An instance of BasicOrderProvider -## Properties +### Properties -### orders +## orders • **orders**: *`SignedOrder`[]* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* -## Methods +### Methods -### getAvailableMakerAssetDatasAsync +## getAvailableMakerAssetDatasAsync ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L37)* +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L37)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -426,11 +375,11 @@ An array of asset data strings that can be purchased using takerAssetData. ___ -### getOrdersAsync +## getOrdersAsync ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L24)* +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L24)* Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -446,39 +395,24 @@ An instance of OrderProviderResponse. See type for more information.
-> # Class: StandardRelayerAPIOrderProvider +# Class: StandardRelayerAPIOrderProvider -## Hierarchy +### Hierarchy * **StandardRelayerAPIOrderProvider** -## Implements +### Implements * [OrderProvider](#interface-orderprovider) -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [apiUrl](#apiurl) -* [networkId](#networkid) - -### Methods - -* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) -* [getOrdersAsync](#getordersasync) - -## Constructors - -### constructor +## constructer \+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L48)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L48)* Instantiates a new StandardRelayerAPIOrderProvider instance @@ -493,29 +427,29 @@ Name | Type | Description | An instance of StandardRelayerAPIOrderProvider -## Properties +### Properties -### apiUrl +## apiUrl • **apiUrl**: *string* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L17)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L17)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L18)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L18)* -## Methods +### Methods -### getAvailableMakerAssetDatasAsync +## getAvailableMakerAssetDatasAsync ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L91)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L91)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -531,11 +465,11 @@ An array of asset data strings that can be purchased using takerAssetData. ___ -### getOrdersAsync +## getOrdersAsync ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L67)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L67)* Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -551,152 +485,131 @@ An instance of OrderProviderResponse. See type for more information.
-> # Enumeration: AssetBuyerError +# Enumeration: AssetBuyerError Possible error messages thrown by an AssetBuyer instance or associated static methods. -## Index ### Enumeration members -* [AssetUnavailable](#assetunavailable) -* [InsufficientAssetLiquidity](#insufficientassetliquidity) -* [InsufficientZrxLiquidity](#insufficientzrxliquidity) -* [InvalidOrderProviderResponse](#invalidorderproviderresponse) -* [NoAddressAvailable](#noaddressavailable) -* [NoEtherTokenContractFound](#noethertokencontractfound) -* [NoZrxTokenContractFound](#nozrxtokencontractfound) -* [SignatureRequestDenied](#signaturerequestdenied) -* [StandardRelayerApiError](#standardrelayerapierror) -* [TransactionValueTooLow](#transactionvaluetoolow) - -## Enumeration members - -### AssetUnavailable +## AssetUnavailable • **AssetUnavailable**: = "ASSET_UNAVAILABLE" -*Defined in [types.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L122)* +*Defined in [types.ts:122](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L122)* ___ -### InsufficientAssetLiquidity +## InsufficientAssetLiquidity • **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L118)* ___ -### InsufficientZrxLiquidity +## InsufficientZrxLiquidity • **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L119)* ___ -### InvalidOrderProviderResponse +## InvalidOrderProviderResponse • **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" -*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L121)* +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L121)* ___ -### NoAddressAvailable +## NoAddressAvailable • **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L120)* ___ -### NoEtherTokenContractFound +## NoEtherTokenContractFound • **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L115)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L115)* ___ -### NoZrxTokenContractFound +## NoZrxTokenContractFound • **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L116)* ___ -### SignatureRequestDenied +## SignatureRequestDenied • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L123)* +*Defined in [types.ts:123](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L123)* ___ -### StandardRelayerApiError +## StandardRelayerApiError • **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L117)* ___ -### TransactionValueTooLow +## TransactionValueTooLow • **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" -*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L124)*
-> # Interface: AssetBuyerOpts +# Interface: AssetBuyerOpts networkId: The ethereum network id. Defaults to 1 (mainnet). orderRefreshIntervalMs: The interval in ms that getBuyQuoteAsync should trigger an refresh of orders and order states. Defaults to 10000ms (10s). expiryBufferSeconds: The number of seconds to add when calculating whether an order is expired or not. Defaults to 300s (5m). -## Hierarchy +### Hierarchy * **AssetBuyerOpts** -## Index ### Properties -* [expiryBufferSeconds](#expirybufferseconds) -* [networkId](#networkid) -* [orderRefreshIntervalMs](#orderrefreshintervalms) - -## Properties - -### expiryBufferSeconds +## expiryBufferSeconds • **expiryBufferSeconds**: *number* -*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L108)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L106)* +*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L106)* ___ -### orderRefreshIntervalMs +## orderRefreshIntervalMs • **orderRefreshIntervalMs**: *number* -*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L107)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L107)*
-> # Interface: BuyQuote +# Interface: BuyQuote assetData: String that represents a specific asset (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). assetBuyAmount: The amount of asset to buy. @@ -706,81 +619,70 @@ feePercentage: Optional affiliate fee percentage used to calculate the eth amoun bestCaseQuoteInfo: Info about the best case price for the asset. worstCaseQuoteInfo: Info about the worst case price for the asset. -## Hierarchy +### Hierarchy * **BuyQuote** -## Index ### Properties -* [assetBuyAmount](#assetbuyamount) -* [assetData](#assetdata) -* [bestCaseQuoteInfo](#bestcasequoteinfo) -* [feeOrders](#feeorders) -* [feePercentage](#optional-feepercentage) -* [orders](#orders) -* [worstCaseQuoteInfo](#worstcasequoteinfo) - -## Properties - -### assetBuyAmount +## assetBuyAmount • **assetBuyAmount**: *`BigNumber`* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L48)* ___ -### assetData +## assetData • **assetData**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L47)* ___ -### bestCaseQuoteInfo +## bestCaseQuoteInfo • **bestCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L52)* ___ -### feeOrders +## feeOrders • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L50)* ___ -### `Optional` feePercentage +## `Optional` feePercentage • **feePercentage**? : *undefined | number* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L51)* ___ -### orders +## orders • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L49)* ___ -### worstCaseQuoteInfo +## worstCaseQuoteInfo • **worstCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L53)*
-> # Interface: BuyQuoteExecutionOpts +# Interface: BuyQuoteExecutionOpts ethAmount: The desired amount of eth to spend. Defaults to buyQuote.worstCaseQuoteInfo.totalEthAmount. takerAddress: The address to perform the buy. Defaults to the first available address from the provider. @@ -788,211 +690,176 @@ gasLimit: The amount of gas to send with a transaction (in Gwei). Defaults to an gasPrice: Gas price in Wei to use for a transaction feeRecipient: The address where affiliate fees are sent. Defaults to null address (0x000...000). -## Hierarchy +### Hierarchy * **BuyQuoteExecutionOpts** -## Index ### Properties -* [ethAmount](#optional-ethamount) -* [feeRecipient](#feerecipient) -* [gasLimit](#optional-gaslimit) -* [gasPrice](#optional-gasprice) -* [takerAddress](#optional-takeraddress) - -## Properties - -### `Optional` ethAmount +## `Optional` ethAmount • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L93)* +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L93)* ___ -### feeRecipient +## feeRecipient • **feeRecipient**: *string* -*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L97)* +*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L97)* ___ -### `Optional` gasLimit +## `Optional` gasLimit • **gasLimit**? : *undefined | number* -*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L95)* +*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L95)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L96)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L96)* ___ -### `Optional` takerAddress +## `Optional` takerAddress • **takerAddress**? : *undefined | string* -*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L94)* +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L94)*
-> # Interface: BuyQuoteInfo +# Interface: BuyQuoteInfo assetEthAmount: The amount of eth required to pay for the requested asset. feeEthAmount: The amount of eth required to pay the affiliate fee. totalEthAmount: The total amount of eth required to complete the buy (filling orders, feeOrders, and paying affiliate fee). -## Hierarchy +### Hierarchy * **BuyQuoteInfo** -## Index ### Properties -* [assetEthAmount](#assetethamount) -* [feeEthAmount](#feeethamount) -* [totalEthAmount](#totalethamount) - -## Properties - -### assetEthAmount +## assetEthAmount • **assetEthAmount**: *`BigNumber`* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L62)* ___ -### feeEthAmount +## feeEthAmount • **feeEthAmount**: *`BigNumber`* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L63)* ___ -### totalEthAmount +## totalEthAmount • **totalEthAmount**: *`BigNumber`* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L64)*
-> # Interface: BuyQuoteRequestOpts +# Interface: BuyQuoteRequestOpts feePercentage: The affiliate fee percentage. Defaults to 0. shouldForceOrderRefresh: If set to true, new orders and state will be fetched instead of waiting for the next orderRefreshIntervalMs. Defaults to false. slippagePercentage: The percentage buffer to add to account for slippage. Affects max ETH price estimates. Defaults to 0.2 (20%). -## Hierarchy +### Hierarchy * **BuyQuoteRequestOpts** -## Index ### Properties -* [feePercentage](#feepercentage) -* [shouldForceOrderRefresh](#shouldforceorderrefresh) -* [slippagePercentage](#slippagepercentage) - -## Properties - -### feePercentage +## feePercentage • **feePercentage**: *number* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L73)* ___ -### shouldForceOrderRefresh +## shouldForceOrderRefresh • **shouldForceOrderRefresh**: *boolean* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L74)* ___ -### slippagePercentage +## slippagePercentage • **slippagePercentage**: *number* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L75)*
-> # Interface: LiquidityForAssetData +# Interface: LiquidityForAssetData Represents available liquidity for a given assetData -## Hierarchy +### Hierarchy * **LiquidityForAssetData** -## Index ### Properties -* [ethValueAvailableInWei](#ethvalueavailableinwei) -* [tokensAvailableInBaseUnits](#tokensavailableinbaseunits) - -## Properties - -### ethValueAvailableInWei +## ethValueAvailableInWei • **ethValueAvailableInWei**: *`BigNumber`* -*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L141)* +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L141)* ___ -### tokensAvailableInBaseUnits +## tokensAvailableInBaseUnits • **tokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L140)*
-> # Interface: OrderProvider +# Interface: OrderProvider gerOrdersAsync: Given an OrderProviderRequest, get an OrderProviderResponse. getAvailableMakerAssetDatasAsync: Given a taker asset data string, return all availabled paired maker asset data strings. -## Hierarchy +### Hierarchy * **OrderProvider** -## Implemented by +### Implemented by * [BasicOrderProvider](#class-basicorderprovider) * [StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) -## Index ### Properties -* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) -* [getOrdersAsync](#getordersasync) - -## Properties - -### getAvailableMakerAssetDatasAsync +## getAvailableMakerAssetDatasAsync • **getAvailableMakerAssetDatasAsync**: *function* -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L34)* #### Type declaration: @@ -1006,11 +873,11 @@ Name | Type | ___ -### getOrdersAsync +## getOrdersAsync • **getOrdersAsync**: *function* -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L33)* #### Type declaration: @@ -1024,275 +891,239 @@ Name | Type |
-> # Interface: OrderProviderRequest +# Interface: OrderProviderRequest makerAssetData: The assetData representing the desired makerAsset. takerAssetData: The assetData representing the desired takerAsset. networkId: The networkId that the desired orders should be for. -## Hierarchy +### Hierarchy * **OrderProviderRequest** -## Index ### Properties -* [makerAssetData](#makerassetdata) -* [takerAssetData](#takerassetdata) - -## Properties - -### makerAssetData +## makerAssetData • **makerAssetData**: *string* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L10)* ___ -### takerAssetData +## takerAssetData • **takerAssetData**: *string* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L11)*
-> # Interface: OrderProviderResponse +# Interface: OrderProviderResponse orders: An array of orders with optional remaining fillable makerAsset amounts. See type for more info. -## Hierarchy +### Hierarchy * **OrderProviderResponse** -## Index ### Properties -* [orders](#orders) - -## Properties - -### orders +## orders • **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L18)*
-> # Interface: OrdersAndFillableAmounts +# Interface: OrdersAndFillableAmounts orders: An array of signed orders remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed orders. The index of an item in the array associates the amount with the corresponding order. -## Hierarchy +### Hierarchy * **OrdersAndFillableAmounts** -## Index ### Properties -* [orders](#orders) -* [remainingFillableMakerAssetAmounts](#remainingfillablemakerassetamounts) - -## Properties - -### orders +## orders • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:132](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L132)* +*Defined in [types.ts:132](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L132)* ___ -### remainingFillableMakerAssetAmounts +## remainingFillableMakerAssetAmounts • **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L133)* +*Defined in [types.ts:133](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L133)*
-> # Interface: SignedOrderWithRemainingFillableMakerAssetAmount +# Interface: SignedOrderWithRemainingFillableMakerAssetAmount A normal SignedOrder with one extra optional property `remainingFillableMakerAssetAmount` remainingFillableMakerAssetAmount: The amount of the makerAsset that is available to be filled -## Hierarchy +### Hierarchy * `SignedOrder` * **SignedOrderWithRemainingFillableMakerAssetAmount** -## Index ### Properties -* [exchangeAddress](#exchangeaddress) -* [expirationTimeSeconds](#expirationtimeseconds) -* [feeRecipientAddress](#feerecipientaddress) -* [makerAddress](#makeraddress) -* [makerAssetAmount](#makerassetamount) -* [makerAssetData](#makerassetdata) -* [makerFee](#makerfee) -* [remainingFillableMakerAssetAmount](#optional-remainingfillablemakerassetamount) -* [salt](#salt) -* [senderAddress](#senderaddress) -* [signature](#signature) -* [takerAddress](#takeraddress) -* [takerAssetAmount](#takerassetamount) -* [takerAssetData](#takerassetdata) -* [takerFee](#takerfee) - -## Properties - -### exchangeAddress +## exchangeAddress • **exchangeAddress**: *string* -*Inherited from void* + ___ -### expirationTimeSeconds +## expirationTimeSeconds • **expirationTimeSeconds**: *`BigNumber`* -*Inherited from void* + ___ -### feeRecipientAddress +## feeRecipientAddress • **feeRecipientAddress**: *string* -*Inherited from void* + ___ -### makerAddress +## makerAddress • **makerAddress**: *string* -*Inherited from void* + ___ -### makerAssetAmount +## makerAssetAmount • **makerAssetAmount**: *`BigNumber`* -*Inherited from void* + ___ -### makerAssetData +## makerAssetData • **makerAssetData**: *string* -*Inherited from void* + ___ -### makerFee +## makerFee • **makerFee**: *`BigNumber`* -*Inherited from void* + ___ -### `Optional` remainingFillableMakerAssetAmount +## `Optional` remainingFillableMakerAssetAmount • **remainingFillableMakerAssetAmount**? : *`BigNumber`* -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-buyer/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L26)* ___ -### salt +## salt • **salt**: *`BigNumber`* -*Inherited from void* + ___ -### senderAddress +## senderAddress • **senderAddress**: *string* -*Inherited from void* + ___ -### signature +## signature • **signature**: *string* -*Inherited from void* + ___ -### takerAddress +## takerAddress • **takerAddress**: *string* -*Inherited from void* + ___ -### takerAssetAmount +## takerAssetAmount • **takerAssetAmount**: *`BigNumber`* -*Inherited from void* + ___ -### takerAssetData +## takerAssetData • **takerAssetData**: *string* -*Inherited from void* + ___ -### takerFee +## takerFee • **takerFee**: *`BigNumber`* -*Inherited from void* + diff --git a/packages/asset-swapper/docs/reference.mdx b/packages/asset-swapper/docs/reference.mdx index 5f1ec0b0fc..e958082492 100644 --- a/packages/asset-swapper/docs/reference.mdx +++ b/packages/asset-swapper/docs/reference.mdx @@ -1,34 +1,21 @@ -> # Class: InsufficientAssetLiquidityError +# Class: InsufficientAssetLiquidityError Error class representing insufficient asset liquidity -## Hierarchy +### Hierarchy * `Error` * **InsufficientAssetLiquidityError** -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [amountAvailableToFill](#amountavailabletofill) -* [message](#message) -* [name](#name) -* [stack](#optional-stack) -* [Error](#static-error) - -## Constructors - -### constructor +## constructer \+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/errors.ts#L12)* **Parameters:** @@ -38,43 +25,43 @@ Name | Type | Description | **Returns:** *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -## Properties +### Properties -### amountAvailableToFill +## amountAvailableToFill • **amountAvailableToFill**: *`BigNumber`* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/errors.ts#L12)* The amount availabe to fill (in base units) factoring in slippage. ___ -### message +## message • **message**: *string* -*Inherited from void* + ___ -### name +## name • **name**: *string* -*Inherited from void* + ___ -### `Optional` stack +## `Optional` stack • **stack**? : *undefined | string* -*Inherited from void* + *Overrides void* @@ -82,7 +69,7 @@ ___ ___ -### `Static` Error +## `Static` Error ▪ **Error**: *`ErrorConstructor`* @@ -90,39 +77,24 @@ ___
-> # Class: BasicOrderProvider +# Class: BasicOrderProvider -## Hierarchy +### Hierarchy * **BasicOrderProvider** -## Implements +### Implements * [OrderProvider](#interface-orderprovider) -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [orders](#orders) - -### Methods - -* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) -* [getAvailableTakerAssetDatasAsync](#getavailabletakerassetdatasasync) -* [getOrdersAsync](#getordersasync) - -## Constructors - -### constructor +## constructer \+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* Instantiates a new BasicOrderProvider instance @@ -136,21 +108,21 @@ Name | Type | Description | An instance of BasicOrderProvider -## Properties +### Properties -### orders +## orders • **orders**: *`SignedOrder`[]* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* -## Methods +### Methods -### getAvailableMakerAssetDatasAsync +## getAvailableMakerAssetDatasAsync ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L37)* +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L37)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -166,11 +138,11 @@ An array of asset data strings that can be purchased using takerAssetData. ___ -### getAvailableTakerAssetDatasAsync +## getAvailableTakerAssetDatasAsync ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L46)* +*Defined in [order_providers/basic_order_provider.ts:46](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L46)* Given a maker asset data string, return all availabled paired taker asset data strings. @@ -186,11 +158,11 @@ An array of asset data strings that can be used to purchased makerAssetData. ___ -### getOrdersAsync +## getOrdersAsync ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L24)* +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L24)* Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -206,40 +178,24 @@ An instance of OrderProviderResponse. See type for more information.
-> # Class: StandardRelayerAPIOrderProvider +# Class: StandardRelayerAPIOrderProvider -## Hierarchy +### Hierarchy * **StandardRelayerAPIOrderProvider** -## Implements +### Implements * [OrderProvider](#interface-orderprovider) -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [apiUrl](#apiurl) -* [networkId](#networkid) - -### Methods - -* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) -* [getAvailableTakerAssetDatasAsync](#getavailabletakerassetdatasasync) -* [getOrdersAsync](#getordersasync) - -## Constructors - -### constructor +## constructer \+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L49)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L49)* Instantiates a new StandardRelayerAPIOrderProvider instance @@ -254,29 +210,29 @@ Name | Type | Description | An instance of StandardRelayerAPIOrderProvider -## Properties +### Properties -### apiUrl +## apiUrl • **apiUrl**: *string* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L18)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L18)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L19)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L19)* -## Methods +### Methods -### getAvailableMakerAssetDatasAsync +## getAvailableMakerAssetDatasAsync ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L92)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:92](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L92)* Given a taker asset data string, return all available paired maker asset data strings. @@ -292,11 +248,11 @@ An array of asset data strings that can be purchased using takerAssetData. ___ -### getAvailableTakerAssetDatasAsync +## getAvailableTakerAssetDatasAsync ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L120)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L120)* Given a maker asset data string, return all availabled paired taker asset data strings. @@ -312,11 +268,11 @@ An array of asset data strings that can be used to purchased makerAssetData. ___ -### getOrdersAsync +## getOrdersAsync ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L68)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L68)* Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -332,40 +288,24 @@ An instance of OrderProviderResponse. See type for more information.
-> # Class: ExchangeSwapQuoteConsumer +# Class: ExchangeSwapQuoteConsumer -## Hierarchy +### Hierarchy * **ExchangeSwapQuoteConsumer** -## Implements +### Implements * [SwapQuoteConsumerBase](#exchangesmartcontractparams)*› -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [networkId](#networkid) -* [provider](#provider) - -### Methods - -* [executeSwapQuoteOrThrowAsync](#executeswapquoteorthrowasync) -* [getCalldataOrThrowAsync](#getcalldataorthrowasync) -* [getSmartContractParamsOrThrowAsync](#getsmartcontractparamsorthrowasync) - -## Constructors - -### constructor +## constructer \+ **new ExchangeSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L28)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L28)* **Parameters:** @@ -376,31 +316,31 @@ Name | Type | Default | **Returns:** *[ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer)* -## Properties +### Properties -### networkId +## networkId • **networkId**: *number* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L26)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L26)* ___ -### provider +## provider • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L25)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L25)* -## Methods +### Methods -### executeSwapQuoteOrThrowAsync +## executeSwapQuoteOrThrowAsync ▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L121)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:121](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L121)* **Parameters:** @@ -413,13 +353,13 @@ Name | Type | ___ -### getCalldataOrThrowAsync +## getCalldataOrThrowAsync ▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L42)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L42)* **Parameters:** @@ -432,13 +372,13 @@ Name | Type | ___ -### getSmartContractParamsOrThrowAsync +## getSmartContractParamsOrThrowAsync ▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `_opts`: `Partial`): *`Promise>`* *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L70)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L70)* **Parameters:** @@ -451,40 +391,24 @@ Name | Type |
-> # Class: ForwarderSwapQuoteConsumer +# Class: ForwarderSwapQuoteConsumer -## Hierarchy +### Hierarchy * **ForwarderSwapQuoteConsumer** -## Implements +### Implements * [SwapQuoteConsumerBase](#forwardersmartcontractparams)*› -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [networkId](#networkid) -* [provider](#provider) - -### Methods - -* [executeSwapQuoteOrThrowAsync](#executeswapquoteorthrowasync) -* [getCalldataOrThrowAsync](#getcalldataorthrowasync) -* [getSmartContractParamsOrThrowAsync](#getsmartcontractparamsorthrowasync) - -## Constructors - -### constructor +## constructer \+ **new ForwarderSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L31)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L30)* **Parameters:** @@ -495,31 +419,31 @@ Name | Type | Default | **Returns:** *[ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer)* -## Properties +### Properties -### networkId +## networkId • **networkId**: *number* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:29](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L29)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L28)* ___ -### provider +## provider • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L28)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L27)* -## Methods +### Methods -### executeSwapQuoteOrThrowAsync +## executeSwapQuoteOrThrowAsync ▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:163](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L163)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:159](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L159)* Given a SwapQuote and desired rate (in Eth), attempt to execute the swap. @@ -534,13 +458,13 @@ Name | Type | Description | ___ -### getCalldataOrThrowAsync +## getCalldataOrThrowAsync ▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L50)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L49)* Given a SwapQuote, returns 'CalldataInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. @@ -555,13 +479,13 @@ Name | Type | Description | ___ -### getSmartContractParamsOrThrowAsync +## getSmartContractParamsOrThrowAsync ▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise>`* *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:82](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L82)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L81)* Given a SwapQuote, returns 'SmartContractParamsInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. @@ -576,40 +500,24 @@ Name | Type | Description |
-> # Class: SwapQuoteConsumer +# Class: SwapQuoteConsumer -## Hierarchy +### Hierarchy * **SwapQuoteConsumer** -## Implements +### Implements * [SwapQuoteConsumerBase](#smartcontractparams)*› -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [networkId](#networkid) -* [provider](#provider) - -### Methods - -* [executeSwapQuoteOrThrowAsync](#executeswapquoteorthrowasync) -* [getCalldataOrThrowAsync](#getcalldataorthrowasync) -* [getSmartContractParamsOrThrowAsync](#getsmartcontractparamsorthrowasync) - -## Constructors - -### constructor +## constructer \+ **new SwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[SwapQuoteConsumer](#class-swapquoteconsumer)* -*Defined in [quote_consumers/swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L30)* +*Defined in [quote_consumers/swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L30)* **Parameters:** @@ -620,31 +528,31 @@ Name | Type | Default | **Returns:** *[SwapQuoteConsumer](#class-swapquoteconsumer)* -## Properties +### Properties -### networkId +## networkId • **networkId**: *number* -*Defined in [quote_consumers/swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L26)* +*Defined in [quote_consumers/swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L26)* ___ -### provider +## provider • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L25)* +*Defined in [quote_consumers/swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L25)* -## Methods +### Methods -### executeSwapQuoteOrThrowAsync +## executeSwapQuoteOrThrowAsync ▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:80](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L80)* +*Defined in [quote_consumers/swap_quote_consumer.ts:80](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L80)* Given a SwapQuote and desired rate (in takerAsset), attempt to execute the swap. @@ -659,13 +567,13 @@ Name | Type | Description | ___ -### getCalldataOrThrowAsync +## getCalldataOrThrowAsync ▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L52)* +*Defined in [quote_consumers/swap_quote_consumer.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L52)* Given a SwapQuote, returns 'CalldataInfo' for a 0x exchange call. See type definition of CalldataInfo for more information. @@ -680,13 +588,13 @@ Name | Type | Description | ___ -### getSmartContractParamsOrThrowAsync +## getSmartContractParamsOrThrowAsync ▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise>`* *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L66)* +*Defined in [quote_consumers/swap_quote_consumer.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L66)* Given a SwapQuote, returns 'SmartContractParamsInfo' for a 0x exchange call. See type definition of SmartContractParamsInfo for more information. @@ -701,48 +609,20 @@ Name | Type | Description |
-> # Class: SwapQuoter +# Class: SwapQuoter -## Hierarchy +### Hierarchy * **SwapQuoter** -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [expiryBufferMs](#expirybufferms) -* [networkId](#networkid) -* [orderProvider](#orderprovider) -* [orderRefreshIntervalMs](#orderrefreshintervalms) -* [provider](#provider) - -### Methods - -* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) -* [getAvailableTakerAssetDatasAsync](#getavailabletakerassetdatasasync) -* [getLiquidityForMakerTakerAssetDataPairAsync](#getliquidityformakertakerassetdatapairasync) -* [getMarketBuySwapQuoteAsync](#getmarketbuyswapquoteasync) -* [getMarketBuySwapQuoteForAssetDataAsync](#getmarketbuyswapquoteforassetdataasync) -* [getMarketSellSwapQuoteAsync](#getmarketsellswapquoteasync) -* [getMarketSellSwapQuoteForAssetDataAsync](#getmarketsellswapquoteforassetdataasync) -* [getOrdersAndFillableAmountsAsync](#getordersandfillableamountsasync) -* [isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync](#istakeraddressallowanceenoughforbestandworstquoteinfoasync) -* [isTakerMakerAssetDataPairAvailableAsync](#istakermakerassetdatapairavailableasync) -* [getSwapQuoterForProvidedOrders](#static-getswapquoterforprovidedorders) -* [getSwapQuoterForStandardRelayerAPIUrl](#static-getswapquoterforstandardrelayerapiurl) - -## Constructors - -### constructor +## constructer \+ **new SwapQuoter**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#interface-orderprovider), `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L93)* +*Defined in [swap_quoter.ts:92](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L92)* Instantiates a new SwapQuoter instance @@ -758,53 +638,53 @@ Name | Type | Default | Description | An instance of SwapQuoter -## Properties +### Properties -### expiryBufferMs +## expiryBufferMs • **expiryBufferMs**: *number* -*Defined in [swap_quoter.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L41)* +*Defined in [swap_quoter.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L40)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [swap_quoter.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L39)* +*Defined in [swap_quoter.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L38)* ___ -### orderProvider +## orderProvider • **orderProvider**: *[OrderProvider](#interface-orderprovider)* -*Defined in [swap_quoter.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L38)* +*Defined in [swap_quoter.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L37)* ___ -### orderRefreshIntervalMs +## orderRefreshIntervalMs • **orderRefreshIntervalMs**: *number* -*Defined in [swap_quoter.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L40)* +*Defined in [swap_quoter.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L39)* ___ -### provider +## provider • **provider**: *`ZeroExProvider`* -*Defined in [swap_quoter.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L37)* +*Defined in [swap_quoter.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L36)* -## Methods +### Methods -### getAvailableMakerAssetDatasAsync +## getAvailableMakerAssetDatasAsync ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L291)* +*Defined in [swap_quoter.ts:290](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L290)* Get the asset data of all assets that are purchaseable with takerAssetData in the order provider passed in at init. @@ -820,11 +700,11 @@ An array of asset data strings that are purchaseable with takerAssetData. ___ -### getAvailableTakerAssetDatasAsync +## getAvailableTakerAssetDatasAsync ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L280)* +*Defined in [swap_quoter.ts:279](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L279)* Get the asset data of all assets that can be used to purchase makerAssetData in the order provider passed in at init. @@ -840,11 +720,11 @@ An array of asset data strings that can purchase makerAssetData. ___ -### getLiquidityForMakerTakerAssetDataPairAsync +## getLiquidityForMakerTakerAssetDataPairAsync ▸ **getLiquidityForMakerTakerAssetDataPairAsync**(`makerAssetData`: string, `takerAssetData`: string, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:246](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L246)* +*Defined in [swap_quoter.ts:245](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L245)* Returns information about available liquidity for an asset Does not factor in slippage or fees @@ -863,11 +743,11 @@ An object that conforms to LiquidityForAssetData that satisfies the request. See ___ -### getMarketBuySwapQuoteAsync +## getMarketBuySwapQuoteAsync ▸ **getMarketBuySwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:187](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L187)* +*Defined in [swap_quoter.ts:186](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L186)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -887,11 +767,11 @@ An object that conforms to SwapQuote that satisfies the request. See type defini ___ -### getMarketBuySwapQuoteForAssetDataAsync +## getMarketBuySwapQuoteForAssetDataAsync ▸ **getMarketBuySwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:162](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L162)* +*Defined in [swap_quoter.ts:161](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L161)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -911,11 +791,11 @@ An object that conforms to SwapQuote that satisfies the request. See type defini ___ -### getMarketSellSwapQuoteAsync +## getMarketSellSwapQuoteAsync ▸ **getMarketSellSwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:217](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L217)* +*Defined in [swap_quoter.ts:216](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L216)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -935,11 +815,11 @@ An object that conforms to SwapQuote that satisfies the request. See type defini ___ -### getMarketSellSwapQuoteForAssetDataAsync +## getMarketSellSwapQuoteForAssetDataAsync ▸ **getMarketSellSwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L136)* +*Defined in [swap_quoter.ts:135](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L135)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -959,11 +839,11 @@ An object that conforms to SwapQuote that satisfies the request. See type defini ___ -### getOrdersAndFillableAmountsAsync +## getOrdersAndFillableAmountsAsync ▸ **getOrdersAndFillableAmountsAsync**(`makerAssetData`: string, `takerAssetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* -*Defined in [swap_quoter.ts:320](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L320)* +*Defined in [swap_quoter.ts:319](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L319)* Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders @@ -979,11 +859,11 @@ Name | Type | Description | ___ -### isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync +## isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync ▸ **isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync**(`swapQuote`: [SwapQuote](#swapquote), `takerAddress`: string): *`Promise<[boolean, boolean]>`* -*Defined in [swap_quoter.ts:381](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L381)* +*Defined in [swap_quoter.ts:380](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L380)* Util function to check if takerAddress's allowance is enough for 0x exchange contracts to conduct the swap specified by the swapQuote. @@ -998,11 +878,11 @@ Name | Type | Description | ___ -### isTakerMakerAssetDataPairAvailableAsync +## isTakerMakerAssetDataPairAvailableAsync ▸ **isTakerMakerAssetDataPairAvailableAsync**(`makerAssetData`: string, `takerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:302](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L302)* +*Defined in [swap_quoter.ts:301](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L301)* Validates the taker + maker asset pair is available from the order provider provided to `SwapQuote`. @@ -1019,11 +899,11 @@ A boolean on if the taker, maker pair exists ___ -### `Static` getSwapQuoterForProvidedOrders +## `Static` getSwapQuoterForProvidedOrders ▸ **getSwapQuoterForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L54)* +*Defined in [swap_quoter.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L53)* Instantiates a new SwapQuoter instance given existing liquidity in the form of orders and feeOrders. @@ -1041,11 +921,11 @@ An instance of SwapQuoter ___ -### `Static` getSwapQuoterForStandardRelayerAPIUrl +## `Static` getSwapQuoterForStandardRelayerAPIUrl ▸ **getSwapQuoterForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/swap_quoter.ts#L74)* +*Defined in [swap_quoter.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L73)* Instantiates a new SwapQuoter instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint @@ -1063,166 +943,140 @@ An instance of SwapQuoter
-> # Enumeration: ConsumerType +# Enumeration: ConsumerType Represents the varying smart contracts that can consume a valid swap quote -## Index ### Enumeration members -* [Exchange](#exchange) -* [Forwarder](#forwarder) - -## Enumeration members - -### Exchange +## Exchange • **Exchange**: -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L102)* ___ -### Forwarder +## Forwarder • **Forwarder**: -*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L101)* +*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L101)*
-> # Enumeration: SwapQuoteConsumerError +# Enumeration: SwapQuoteConsumerError Possible error messages thrown by an SwapQuoterConsumer instance or associated static methods. -## Index ### Enumeration members -* [InvalidForwarderSwapQuote](#invalidforwarderswapquote) -* [InvalidMarketSellOrMarketBuySwapQuote](#invalidmarketsellormarketbuyswapquote) -* [NoAddressAvailable](#noaddressavailable) -* [SignatureRequestDenied](#signaturerequestdenied) -* [TransactionValueTooLow](#transactionvaluetoolow) - -## Enumeration members - -### InvalidForwarderSwapQuote +## InvalidForwarderSwapQuote • **InvalidForwarderSwapQuote**: = "INVALID_FORWARDER_SWAP_QUOTE_PROVIDED" -*Defined in [types.ts:304](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L304)* +*Defined in [types.ts:304](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L304)* ___ -### InvalidMarketSellOrMarketBuySwapQuote +## InvalidMarketSellOrMarketBuySwapQuote • **InvalidMarketSellOrMarketBuySwapQuote**: = "INVALID_MARKET_BUY_SELL_SWAP_QUOTE" -*Defined in [types.ts:303](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L303)* +*Defined in [types.ts:303](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L303)* ___ -### NoAddressAvailable +## NoAddressAvailable • **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" -*Defined in [types.ts:305](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L305)* +*Defined in [types.ts:305](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L305)* ___ -### SignatureRequestDenied +## SignatureRequestDenied • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:306](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L306)* +*Defined in [types.ts:306](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L306)* ___ -### TransactionValueTooLow +## TransactionValueTooLow • **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" -*Defined in [types.ts:307](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L307)* +*Defined in [types.ts:307](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L307)*
-> # Enumeration: SwapQuoterError +# Enumeration: SwapQuoterError Possible error messages thrown by an SwapQuoter instance or associated static methods. -## Index ### Enumeration members -* [AssetUnavailable](#assetunavailable) -* [InsufficientAssetLiquidity](#insufficientassetliquidity) -* [InsufficientZrxLiquidity](#insufficientzrxliquidity) -* [InvalidOrderProviderResponse](#invalidorderproviderresponse) -* [NoEtherTokenContractFound](#noethertokencontractfound) -* [NoZrxTokenContractFound](#nozrxtokencontractfound) -* [StandardRelayerApiError](#standardrelayerapierror) - -## Enumeration members - -### AssetUnavailable +## AssetUnavailable • **AssetUnavailable**: = "ASSET_UNAVAILABLE" -*Defined in [types.ts:320](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L320)* +*Defined in [types.ts:320](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L320)* ___ -### InsufficientAssetLiquidity +## InsufficientAssetLiquidity • **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" -*Defined in [types.ts:317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L317)* +*Defined in [types.ts:317](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L317)* ___ -### InsufficientZrxLiquidity +## InsufficientZrxLiquidity • **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" -*Defined in [types.ts:318](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L318)* +*Defined in [types.ts:318](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L318)* ___ -### InvalidOrderProviderResponse +## InvalidOrderProviderResponse • **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" -*Defined in [types.ts:319](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L319)* +*Defined in [types.ts:319](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L319)* ___ -### NoEtherTokenContractFound +## NoEtherTokenContractFound • **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L314)* +*Defined in [types.ts:314](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L314)* ___ -### NoZrxTokenContractFound +## NoZrxTokenContractFound • **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:315](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L315)* +*Defined in [types.ts:315](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L315)* ___ -### StandardRelayerApiError +## StandardRelayerApiError • **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" -*Defined in [types.ts:316](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L316)* +*Defined in [types.ts:316](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L316)*
-> # Interface: CalldataInfo +# Interface: CalldataInfo Represents the metadata to call a smart contract with calldata. calldataHexString: The hexstring of the calldata. @@ -1230,59 +1084,51 @@ methodAbi: The ABI of the smart contract method to call. toAddress: The contract address to call. ethAmount: If provided, the eth amount in wei to send with the smart contract call. -## Hierarchy +### Hierarchy * **CalldataInfo** -## Index ### Properties -* [calldataHexString](#calldatahexstring) -* [ethAmount](#optional-ethamount) -* [methodAbi](#methodabi) -* [toAddress](#toaddress) - -## Properties - -### calldataHexString +## calldataHexString • **calldataHexString**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L50)* ___ -### `Optional` ethAmount +## `Optional` ethAmount • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L53)* ___ -### methodAbi +## methodAbi • **methodAbi**: *`MethodAbi`* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L51)* ___ -### toAddress +## toAddress • **toAddress**: *string* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L52)*
-> # Interface: ExchangeMarketBuySmartContractParams +# Interface: ExchangeMarketBuySmartContractParams makerAssetFillAmount: The amount of makerAsset to swap for. type: String specifiying which market operation will be performed with the provided parameters. (In this case a market buy operation) -## Hierarchy +### Hierarchy * [SmartContractParamsBase](#interface-smartcontractparamsbase) @@ -1290,114 +1136,98 @@ type: String specifiying which market operation will be performed with the provi * [ForwarderMarketBuySmartContractParams](#interface-forwardermarketbuysmartcontractparams) -## Index ### Properties -* [makerAssetFillAmount](#makerassetfillamount) -* [orders](#orders) -* [signatures](#signatures) -* [type](#type) - -## Properties - -### makerAssetFillAmount +## makerAssetFillAmount • **makerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L84)* ___ -### orders +## orders • **orders**: *`SignedOrder`[]* *Inherited from [SmartContractParamsBase](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L75)* ___ -### signatures +## signatures • **signatures**: *string[]* *Inherited from [SmartContractParamsBase](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L76)* ___ -### type +## type • **type**: *`Buy`* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L85)*
-> # Interface: ExchangeMarketSellSmartContractParams +# Interface: ExchangeMarketSellSmartContractParams takerAssetFillAmount: The amount of takerAsset swapped for makerAsset. type: String specifiying which market operation will be performed with the provided parameters. (In this case a market sell operation) -## Hierarchy +### Hierarchy * [SmartContractParamsBase](#interface-smartcontractparamsbase) * **ExchangeMarketSellSmartContractParams** -## Index ### Properties -* [orders](#orders) -* [signatures](#signatures) -* [takerAssetFillAmount](#takerassetfillamount) -* [type](#type) - -## Properties - -### orders +## orders • **orders**: *`SignedOrder`[]* *Inherited from [SmartContractParamsBase](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L75)* ___ -### signatures +## signatures • **signatures**: *string[]* *Inherited from [SmartContractParamsBase](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L76)* ___ -### takerAssetFillAmount +## takerAssetFillAmount • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L93)* +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L93)* ___ -### type +## type • **type**: *`Sell`* -*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L94)* +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L94)*
-> # Interface: ForwarderMarketBuySmartContractParams +# Interface: ForwarderMarketBuySmartContractParams -## Hierarchy +### Hierarchy * [ExchangeMarketBuySmartContractParams](#interface-exchangemarketbuysmartcontractparams) @@ -1405,104 +1235,92 @@ ___ * **ForwarderMarketBuySmartContractParams** -## Index ### Properties -* [feeOrders](#feeorders) -* [feePercentage](#feepercentage) -* [feeRecipient](#feerecipient) -* [feeSignatures](#feesignatures) -* [makerAssetFillAmount](#makerassetfillamount) -* [orders](#orders) -* [signatures](#signatures) -* [type](#type) - -## Properties - -### feeOrders +## feeOrders • **feeOrders**: *`SignedOrder`[]* *Inherited from [ForwarderSmartContractParamsBase](#feeorders)* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L117)* ___ -### feePercentage +## feePercentage • **feePercentage**: *`BigNumber`* *Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L119)* ___ -### feeRecipient +## feeRecipient • **feeRecipient**: *string* *Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L120)* ___ -### feeSignatures +## feeSignatures • **feeSignatures**: *string[]* *Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L118)* ___ -### makerAssetFillAmount +## makerAssetFillAmount • **makerAssetFillAmount**: *`BigNumber`* *Inherited from [ExchangeMarketBuySmartContractParams](#makerassetfillamount)* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L84)* ___ -### orders +## orders • **orders**: *`SignedOrder`[]* *Inherited from [SmartContractParamsBase](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L75)* ___ -### signatures +## signatures • **signatures**: *string[]* *Inherited from [SmartContractParamsBase](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L76)* ___ -### type +## type • **type**: *`Buy`* *Inherited from [ExchangeMarketBuySmartContractParams](#type)* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L85)*
-> # Interface: ForwarderMarketSellSmartContractParams +# Interface: ForwarderMarketSellSmartContractParams -## Hierarchy +### Hierarchy * object @@ -1510,65 +1328,57 @@ ___ * **ForwarderMarketSellSmartContractParams** -## Index ### Properties -* [feeOrders](#feeorders) -* [feePercentage](#feepercentage) -* [feeRecipient](#feerecipient) -* [feeSignatures](#feesignatures) - -## Properties - -### feeOrders +## feeOrders • **feeOrders**: *`SignedOrder`[]* *Inherited from [ForwarderSmartContractParamsBase](#feeorders)* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L117)* ___ -### feePercentage +## feePercentage • **feePercentage**: *`BigNumber`* *Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L119)* ___ -### feeRecipient +## feeRecipient • **feeRecipient**: *string* *Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L120)* ___ -### feeSignatures +## feeSignatures • **feeSignatures**: *string[]* *Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L118)*
-> # Interface: ForwarderSmartContractParamsBase +# Interface: ForwarderSmartContractParamsBase feeOrders: An array of objects conforming to SignedOrder. These orders can be used to cover the fees for the orders param above. feeSignatures: An array of signatures that attest that the maker of the orders in fact made the orders. feePercentage: Optional affiliate fee percentage used to calculate the eth amount paid to fee recipient. feeRecipient: The address where affiliate fees are sent. Defaults to null address (0x000...000). -## Hierarchy +### Hierarchy * **ForwarderSmartContractParamsBase** @@ -1576,52 +1386,44 @@ feeRecipient: The address where affiliate fees are sent. Defaults to null addres * [ForwarderMarketSellSmartContractParams](#interface-forwardermarketsellsmartcontractparams) -## Index ### Properties -* [feeOrders](#feeorders) -* [feePercentage](#feepercentage) -* [feeRecipient](#feerecipient) -* [feeSignatures](#feesignatures) - -## Properties - -### feeOrders +## feeOrders • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L117)* ___ -### feePercentage +## feePercentage • **feePercentage**: *`BigNumber`* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L119)* ___ -### feeRecipient +## feeRecipient • **feeRecipient**: *string* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L120)* ___ -### feeSignatures +## feeSignatures • **feeSignatures**: *string[]* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L118)*
-> # Interface: ForwarderSwapQuoteExecutionOpts +# Interface: ForwarderSwapQuoteExecutionOpts -## Hierarchy +### Hierarchy * [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts) @@ -1631,86 +1433,76 @@ ___ * [SwapQuoteExecutionOpts](#interface-swapquoteexecutionopts) -## Index ### Properties -* [ethAmount](#optional-ethamount) -* [feePercentage](#feepercentage) -* [feeRecipient](#feerecipient) -* [gasLimit](#optional-gaslimit) -* [gasPrice](#optional-gasprice) -* [takerAddress](#optional-takeraddress) - -## Properties - -### `Optional` ethAmount +## `Optional` ethAmount • **ethAmount**? : *`BigNumber`* *Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L192)* ___ -### feePercentage +## feePercentage • **feePercentage**: *number* *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L190)* ___ -### feeRecipient +## feeRecipient • **feeRecipient**: *string* *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L191)* ___ -### `Optional` gasLimit +## `Optional` gasLimit • **gasLimit**? : *undefined | number* *Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L180)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *`BigNumber`* *Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L181)* ___ -### `Optional` takerAddress +## `Optional` takerAddress • **takerAddress**? : *undefined | string* *Inherited from [SwapQuoteExecutionOptsBase](#optional-takeraddress)* -*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L179)*
-> # Interface: ForwarderSwapQuoteGetOutputOpts +# Interface: ForwarderSwapQuoteGetOutputOpts feePercentage: percentage (up to 5%) of the taker asset paid to feeRecipient feeRecipient: address of the receiver of the feePercentage of taker asset ethAmount: The amount of eth (in Wei) sent to the forwarder contract. -## Hierarchy +### Hierarchy * [SwapQuoteGetOutputOptsBase](#interface-swapquotegetoutputoptsbase) @@ -1720,79 +1512,66 @@ ethAmount: The amount of eth (in Wei) sent to the forwarder contract. * [ForwarderSwapQuoteExecutionOpts](#interface-forwarderswapquoteexecutionopts) -## Index ### Properties -* [ethAmount](#optional-ethamount) -* [feePercentage](#feepercentage) -* [feeRecipient](#feerecipient) - -## Properties - -### `Optional` ethAmount +## `Optional` ethAmount • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L192)* ___ -### feePercentage +## feePercentage • **feePercentage**: *number* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L190)* ___ -### feeRecipient +## feeRecipient • **feeRecipient**: *string* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L191)*
-> # Interface: LiquidityForAssetData +# Interface: LiquidityForAssetData Represents available liquidity for a given assetData -## Hierarchy +### Hierarchy * **LiquidityForAssetData** -## Index ### Properties -* [makerTokensAvailableInBaseUnits](#makertokensavailableinbaseunits) -* [takerTokensAvailableInBaseUnits](#takertokensavailableinbaseunits) - -## Properties - -### makerTokensAvailableInBaseUnits +## makerTokensAvailableInBaseUnits • **makerTokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:336](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L336)* +*Defined in [types.ts:336](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L336)* ___ -### takerTokensAvailableInBaseUnits +## takerTokensAvailableInBaseUnits • **takerTokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:337](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L337)* +*Defined in [types.ts:337](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L337)*
-> # Interface: MarketBuySwapQuote +# Interface: MarketBuySwapQuote makerAssetFillAmount: The amount of makerAsset bought with takerAsset. type: Specified MarketOperation the SwapQuote is provided for -## Hierarchy +### Hierarchy * [SwapQuoteBase](#interface-swapquotebase) @@ -1800,100 +1579,88 @@ type: Specified MarketOperation the SwapQuote is provided for * [MarketBuySwapQuoteWithAffiliateFee](#interface-marketbuyswapquotewithaffiliatefee) -## Index ### Properties -* [bestCaseQuoteInfo](#bestcasequoteinfo) -* [feeOrders](#feeorders) -* [makerAssetData](#makerassetdata) -* [makerAssetFillAmount](#makerassetfillamount) -* [orders](#orders) -* [takerAssetData](#takerassetdata) -* [type](#type) -* [worstCaseQuoteInfo](#worstcasequoteinfo) - -## Properties - -### bestCaseQuoteInfo +## bestCaseQuoteInfo • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* ___ -### feeOrders +## feeOrders • **feeOrders**: *`SignedOrder`[]* *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* ___ -### makerAssetData +## makerAssetData • **makerAssetData**: *string* *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* ___ -### makerAssetFillAmount +## makerAssetFillAmount • **makerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L244)* +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L244)* ___ -### orders +## orders • **orders**: *`SignedOrder`[]* *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* ___ -### takerAssetData +## takerAssetData • **takerAssetData**: *string* *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* ___ -### type +## type • **type**: *`Buy`* -*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L245)* +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L245)* ___ -### worstCaseQuoteInfo +## worstCaseQuoteInfo • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)*
-> # Interface: MarketBuySwapQuoteWithAffiliateFee +# Interface: MarketBuySwapQuoteWithAffiliateFee -## Hierarchy +### Hierarchy * [SwapQuoteWithAffiliateFeeBase](#interface-swapquotewithaffiliatefeebase) @@ -1901,118 +1668,105 @@ ___ * **MarketBuySwapQuoteWithAffiliateFee** -## Index ### Properties -* [bestCaseQuoteInfo](#bestcasequoteinfo) -* [feeOrders](#feeorders) -* [feePercentage](#feepercentage) -* [makerAssetData](#makerassetdata) -* [makerAssetFillAmount](#makerassetfillamount) -* [orders](#orders) -* [takerAssetData](#takerassetdata) -* [type](#type) -* [worstCaseQuoteInfo](#worstcasequoteinfo) - -## Properties - -### bestCaseQuoteInfo +## bestCaseQuoteInfo • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* ___ -### feeOrders +## feeOrders • **feeOrders**: *`SignedOrder`[]* *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* ___ -### feePercentage +## feePercentage • **feePercentage**: *number* *Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L249)* ___ -### makerAssetData +## makerAssetData • **makerAssetData**: *string* *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* ___ -### makerAssetFillAmount +## makerAssetFillAmount • **makerAssetFillAmount**: *`BigNumber`* *Inherited from [MarketBuySwapQuote](#makerassetfillamount)* -*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L244)* +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L244)* ___ -### orders +## orders • **orders**: *`SignedOrder`[]* *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* ___ -### takerAssetData +## takerAssetData • **takerAssetData**: *string* *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* ___ -### type +## type • **type**: *`Buy`* *Inherited from [MarketBuySwapQuote](#type)* -*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L245)* +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L245)* ___ -### worstCaseQuoteInfo +## worstCaseQuoteInfo • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)*
-> # Interface: MarketSellSwapQuote +# Interface: MarketSellSwapQuote takerAssetFillAmount: The amount of takerAsset sold for makerAsset. type: Specified MarketOperation the SwapQuote is provided for -## Hierarchy +### Hierarchy * [SwapQuoteBase](#interface-swapquotebase) @@ -2020,100 +1774,88 @@ type: Specified MarketOperation the SwapQuote is provided for * [MarketSellSwapQuoteWithAffiliateFee](#interface-marketsellswapquotewithaffiliatefee) -## Index ### Properties -* [bestCaseQuoteInfo](#bestcasequoteinfo) -* [feeOrders](#feeorders) -* [makerAssetData](#makerassetdata) -* [orders](#orders) -* [takerAssetData](#takerassetdata) -* [takerAssetFillAmount](#takerassetfillamount) -* [type](#type) -* [worstCaseQuoteInfo](#worstcasequoteinfo) - -## Properties - -### bestCaseQuoteInfo +## bestCaseQuoteInfo • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* ___ -### feeOrders +## feeOrders • **feeOrders**: *`SignedOrder`[]* *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* ___ -### makerAssetData +## makerAssetData • **makerAssetData**: *string* *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* ___ -### orders +## orders • **orders**: *`SignedOrder`[]* *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* ___ -### takerAssetData +## takerAssetData • **takerAssetData**: *string* *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* ___ -### takerAssetFillAmount +## takerAssetFillAmount • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L235)* +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L235)* ___ -### type +## type • **type**: *`Sell`* -*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L236)* +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L236)* ___ -### worstCaseQuoteInfo +## worstCaseQuoteInfo • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)*
-> # Interface: MarketSellSwapQuoteWithAffiliateFee +# Interface: MarketSellSwapQuoteWithAffiliateFee -## Hierarchy +### Hierarchy * [SwapQuoteWithAffiliateFeeBase](#interface-swapquotewithaffiliatefeebase) @@ -2121,142 +1863,122 @@ ___ * **MarketSellSwapQuoteWithAffiliateFee** -## Index ### Properties -* [bestCaseQuoteInfo](#bestcasequoteinfo) -* [feeOrders](#feeorders) -* [feePercentage](#feepercentage) -* [makerAssetData](#makerassetdata) -* [orders](#orders) -* [takerAssetData](#takerassetdata) -* [takerAssetFillAmount](#takerassetfillamount) -* [type](#type) -* [worstCaseQuoteInfo](#worstcasequoteinfo) - -## Properties - -### bestCaseQuoteInfo +## bestCaseQuoteInfo • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* *Inherited from [SwapQuoteBase](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* ___ -### feeOrders +## feeOrders • **feeOrders**: *`SignedOrder`[]* *Inherited from [SwapQuoteBase](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* ___ -### feePercentage +## feePercentage • **feePercentage**: *number* *Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L249)* ___ -### makerAssetData +## makerAssetData • **makerAssetData**: *string* *Inherited from [SwapQuoteBase](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* ___ -### orders +## orders • **orders**: *`SignedOrder`[]* *Inherited from [SwapQuoteBase](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* ___ -### takerAssetData +## takerAssetData • **takerAssetData**: *string* *Inherited from [SwapQuoteBase](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* ___ -### takerAssetFillAmount +## takerAssetFillAmount • **takerAssetFillAmount**: *`BigNumber`* *Inherited from [MarketSellSwapQuote](#takerassetfillamount)* -*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L235)* +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L235)* ___ -### type +## type • **type**: *`Sell`* *Inherited from [MarketSellSwapQuote](#type)* -*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L236)* +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L236)* ___ -### worstCaseQuoteInfo +## worstCaseQuoteInfo • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* *Inherited from [SwapQuoteBase](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)*
-> # Interface: OrderProvider +# Interface: OrderProvider gerOrdersAsync: Given an OrderProviderRequest, get an OrderProviderResponse. getAvailableMakerAssetDatasAsync: Given a taker asset data string, return all availabled paired maker asset data strings. getAvailableTakerAssetDatasAsync: Given a maker asset data string, return all availabled paired taker asset data strings. -## Hierarchy +### Hierarchy * **OrderProvider** -## Implemented by +### Implemented by * [BasicOrderProvider](#class-basicorderprovider) * [StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider) -## Index ### Properties -* [getAvailableMakerAssetDatasAsync](#getavailablemakerassetdatasasync) -* [getAvailableTakerAssetDatasAsync](#getavailabletakerassetdatasasync) -* [getOrdersAsync](#getordersasync) - -## Properties - -### getAvailableMakerAssetDatasAsync +## getAvailableMakerAssetDatasAsync • **getAvailableMakerAssetDatasAsync**: *function* -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L38)* #### Type declaration: @@ -2270,11 +1992,11 @@ Name | Type | ___ -### getAvailableTakerAssetDatasAsync +## getAvailableTakerAssetDatasAsync • **getAvailableTakerAssetDatasAsync**: *function* -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L39)* #### Type declaration: @@ -2288,11 +2010,11 @@ Name | Type | ___ -### getOrdersAsync +## getOrdersAsync • **getOrdersAsync**: *function* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L37)* #### Type declaration: @@ -2306,295 +2028,258 @@ Name | Type |
-> # Interface: OrderProviderRequest +# Interface: OrderProviderRequest makerAssetData: The assetData representing the desired makerAsset. takerAssetData: The assetData representing the desired takerAsset. networkId: The networkId that the desired orders should be for. -## Hierarchy +### Hierarchy * **OrderProviderRequest** -## Index ### Properties -* [makerAssetData](#makerassetdata) -* [networkId](#networkid) -* [takerAssetData](#takerassetdata) - -## Properties - -### makerAssetData +## makerAssetData • **makerAssetData**: *string* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L11)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L13)* ___ -### takerAssetData +## takerAssetData • **takerAssetData**: *string* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L12)*
-> # Interface: OrderProviderResponse +# Interface: OrderProviderResponse orders: An array of orders with optional remaining fillable makerAsset amounts. See type for more info. -## Hierarchy +### Hierarchy * **OrderProviderResponse** -## Index ### Properties -* [orders](#orders) - -## Properties - -### orders +## orders • **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L20)*
-> # Interface: OrdersAndFillableAmounts +# Interface: OrdersAndFillableAmounts orders: An array of signed orders remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed orders. The index of an item in the array associates the amount with the corresponding order. -## Hierarchy +### Hierarchy * **OrdersAndFillableAmounts** -## Index ### Properties -* [orders](#orders) -* [remainingFillableMakerAssetAmounts](#remainingfillablemakerassetamounts) - -## Properties - -### orders +## orders • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:328](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L328)* +*Defined in [types.ts:328](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L328)* ___ -### remainingFillableMakerAssetAmounts +## remainingFillableMakerAssetAmounts • **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:329](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L329)* +*Defined in [types.ts:329](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L329)*
-> # Interface: SignedOrderWithRemainingFillableMakerAssetAmount +# Interface: SignedOrderWithRemainingFillableMakerAssetAmount A normal SignedOrder with one extra optional property `remainingFillableMakerAssetAmount` remainingFillableMakerAssetAmount: The amount of the makerAsset that is available to be filled -## Hierarchy +### Hierarchy * `SignedOrder` * **SignedOrderWithRemainingFillableMakerAssetAmount** -## Index ### Properties -* [exchangeAddress](#exchangeaddress) -* [expirationTimeSeconds](#expirationtimeseconds) -* [feeRecipientAddress](#feerecipientaddress) -* [makerAddress](#makeraddress) -* [makerAssetAmount](#makerassetamount) -* [makerAssetData](#makerassetdata) -* [makerFee](#makerfee) -* [remainingFillableMakerAssetAmount](#optional-remainingfillablemakerassetamount) -* [salt](#salt) -* [senderAddress](#senderaddress) -* [signature](#signature) -* [takerAddress](#takeraddress) -* [takerAssetAmount](#takerassetamount) -* [takerAssetData](#takerassetdata) -* [takerFee](#takerfee) - -## Properties - -### exchangeAddress +## exchangeAddress • **exchangeAddress**: *string* -*Inherited from void* + ___ -### expirationTimeSeconds +## expirationTimeSeconds • **expirationTimeSeconds**: *`BigNumber`* -*Inherited from void* + ___ -### feeRecipientAddress +## feeRecipientAddress • **feeRecipientAddress**: *string* -*Inherited from void* + ___ -### makerAddress +## makerAddress • **makerAddress**: *string* -*Inherited from void* + ___ -### makerAssetAmount +## makerAssetAmount • **makerAssetAmount**: *`BigNumber`* -*Inherited from void* + ___ -### makerAssetData +## makerAssetData • **makerAssetData**: *string* -*Inherited from void* + ___ -### makerFee +## makerFee • **makerFee**: *`BigNumber`* -*Inherited from void* + ___ -### `Optional` remainingFillableMakerAssetAmount +## `Optional` remainingFillableMakerAssetAmount • **remainingFillableMakerAssetAmount**? : *`BigNumber`* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L28)* ___ -### salt +## salt • **salt**: *`BigNumber`* -*Inherited from void* + ___ -### senderAddress +## senderAddress • **senderAddress**: *string* -*Inherited from void* + ___ -### signature +## signature • **signature**: *string* -*Inherited from void* + ___ -### takerAddress +## takerAddress • **takerAddress**: *string* -*Inherited from void* + ___ -### takerAssetAmount +## takerAssetAmount • **takerAssetAmount**: *`BigNumber`* -*Inherited from void* + ___ -### takerAssetData +## takerAssetData • **takerAssetData**: *string* -*Inherited from void* + ___ -### takerFee +## takerFee • **takerFee**: *`BigNumber`* -*Inherited from void* +
-> # Interface: SmartContractParamsBase +# Interface: SmartContractParamsBase orders: An array of objects conforming to SignedOrder. These orders can be used to cover the requested assetBuyAmount plus slippage. signatures: An array of signatures that attest that the maker of the orders in fact made the orders. -## Hierarchy +### Hierarchy * **SmartContractParamsBase** @@ -2602,32 +2287,26 @@ signatures: An array of signatures that attest that the maker of the orders in f * [ExchangeMarketSellSmartContractParams](#interface-exchangemarketsellsmartcontractparams) -## Index ### Properties -* [orders](#orders) -* [signatures](#signatures) - -## Properties - -### orders +## orders • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L75)* ___ -### signatures +## signatures • **signatures**: *string[]* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L76)*
-> # Interface: SmartContractParamsInfo <**T**> +# Interface: SmartContractParamsInfo <**T**> Represents the metadata to call a smart contract with parameters. params: The metadata object containing all the input parameters of a smart contract call. @@ -2635,58 +2314,50 @@ toAddress: The contract address to call. ethAmount: If provided, the eth amount in wei to send with the smart contract call. methodAbi: The ABI of the smart contract method to call with params. -## Type parameters +### Type parameters ▪ **T** -## Hierarchy +### Hierarchy * **SmartContractParamsInfo** -## Index ### Properties -* [ethAmount](#optional-ethamount) -* [methodAbi](#methodabi) -* [params](#params) -* [toAddress](#toaddress) - -## Properties - -### `Optional` ethAmount +## `Optional` ethAmount • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L66)* ___ -### methodAbi +## methodAbi • **methodAbi**: *`MethodAbi`* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L67)* ___ -### params +## params • **params**: *`T`* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L64)* ___ -### toAddress +## toAddress • **toAddress**: *string* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L65)*
-> # Interface: SwapQuoteBase +# Interface: SwapQuoteBase takerAssetData: String that represents a specific taker asset (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). makerAssetData: String that represents a specific maker asset (for more info: https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md). @@ -2695,7 +2366,7 @@ feeOrders: An array of objects conforming to SignedOrder. These orders can be us bestCaseQuoteInfo: Info about the best case price for the asset. worstCaseQuoteInfo: Info about the worst case price for the asset. -## Hierarchy +### Hierarchy * **SwapQuoteBase** @@ -2703,103 +2374,86 @@ worstCaseQuoteInfo: Info about the worst case price for the asset. * [MarketBuySwapQuote](#interface-marketbuyswapquote) -## Index ### Properties -* [bestCaseQuoteInfo](#bestcasequoteinfo) -* [feeOrders](#feeorders) -* [makerAssetData](#makerassetdata) -* [orders](#orders) -* [takerAssetData](#takerassetdata) -* [worstCaseQuoteInfo](#worstcasequoteinfo) - -## Properties - -### bestCaseQuoteInfo +## bestCaseQuoteInfo • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* ___ -### feeOrders +## feeOrders • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* ___ -### makerAssetData +## makerAssetData • **makerAssetData**: *string* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* ___ -### orders +## orders • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* ___ -### takerAssetData +## takerAssetData • **takerAssetData**: *string* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* ___ -### worstCaseQuoteInfo +## worstCaseQuoteInfo • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)*
-> # Interface: SwapQuoteConsumerBase <**T**> +# Interface: SwapQuoteConsumerBase <**T**> Interface that varying SwapQuoteConsumers adhere to (exchange consumer, router consumer, forwarder consumer, coordinator consumer) getCalldataOrThrow: Get CalldataInfo to swap for tokens with provided SwapQuote. Throws if invalid SwapQuote is provided. getSmartContractParamsOrThrow: Get SmartContractParamsInfo to swap for tokens with provided SwapQuote. Throws if invalid SwapQuote is provided. executeSwapQuoteOrThrowAsync: Executes a web3 transaction to swap for tokens with provided SwapQuote. Throws if invalid SwapQuote is provided. -## Type parameters +### Type parameters ▪ **T** -## Hierarchy +### Hierarchy * **SwapQuoteConsumerBase** -## Implemented by +### Implemented by * [ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer) * [ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer) * [SwapQuoteConsumer](#class-swapquoteconsumer) -## Index ### Methods -* [executeSwapQuoteOrThrowAsync](#executeswapquoteorthrowasync) -* [getCalldataOrThrowAsync](#getcalldataorthrowasync) -* [getSmartContractParamsOrThrowAsync](#getsmartcontractparamsorthrowasync) - -## Methods - -### executeSwapQuoteOrThrowAsync +## executeSwapQuoteOrThrowAsync ▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* -*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L158)* +*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L158)* **Parameters:** @@ -2812,11 +2466,11 @@ Name | Type | ___ -### getCalldataOrThrowAsync +## getCalldataOrThrowAsync ▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* -*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L153)* **Parameters:** @@ -2829,11 +2483,11 @@ Name | Type | ___ -### getSmartContractParamsOrThrowAsync +## getSmartContractParamsOrThrowAsync ▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise>`* -*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L154)* **Parameters:** @@ -2846,35 +2500,30 @@ Name | Type |
-> # Interface: SwapQuoteConsumerOpts +# Interface: SwapQuoteConsumerOpts networkId: The networkId that the desired orders should be for. -## Hierarchy +### Hierarchy * **SwapQuoteConsumerOpts** -## Index ### Properties -* [networkId](#networkid) - -## Properties - -### networkId +## networkId • **networkId**: *number* -*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L165)*
-> # Interface: SwapQuoteExecutionOpts +# Interface: SwapQuoteExecutionOpts Represents the options for executing a swap quote with SwapQuoteConsumer -## Hierarchy +### Hierarchy * [SwapQuoteGetOutputOpts](#interface-swapquotegetoutputopts) @@ -2882,21 +2531,10 @@ Represents the options for executing a swap quote with SwapQuoteConsumer * **SwapQuoteExecutionOpts** -## Index ### Properties -* [ethAmount](#optional-ethamount) -* [feePercentage](#feepercentage) -* [feeRecipient](#feerecipient) -* [gasLimit](#optional-gaslimit) -* [gasPrice](#optional-gasprice) -* [takerAddress](#optional-takeraddress) -* [useConsumerType](#optional-useconsumertype) - -## Properties - -### `Optional` ethAmount +## `Optional` ethAmount • **ethAmount**? : *`BigNumber`* @@ -2904,11 +2542,11 @@ Represents the options for executing a swap quote with SwapQuoteConsumer *Overrides [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L192)* ___ -### feePercentage +## feePercentage • **feePercentage**: *number* @@ -2916,11 +2554,11 @@ ___ *Overrides [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L190)* ___ -### feeRecipient +## feeRecipient • **feeRecipient**: *string* @@ -2928,31 +2566,31 @@ ___ *Overrides [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L191)* ___ -### `Optional` gasLimit +## `Optional` gasLimit • **gasLimit**? : *undefined | number* *Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L180)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *`BigNumber`* *Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L181)* ___ -### `Optional` takerAddress +## `Optional` takerAddress • **takerAddress**? : *undefined | string* @@ -2960,27 +2598,27 @@ ___ *Overrides [SwapQuoteExecutionOptsBase](#optional-takeraddress)* -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L202)* +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L202)* ___ -### `Optional` useConsumerType +## `Optional` useConsumerType • **useConsumerType**? : *[ConsumerType](#enumeration-consumertype)* *Inherited from [SwapQuoteGetOutputOpts](#optional-useconsumertype)* -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L203)* +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L203)*
-> # Interface: SwapQuoteExecutionOptsBase +# Interface: SwapQuoteExecutionOptsBase takerAddress: The address to perform the buy. Defaults to the first available address from the provider. gasLimit: The amount of gas to send with a transaction (in Gwei). Defaults to an eth_estimateGas rpc call. gasPrice: Gas price in Wei to use for a transaction -## Hierarchy +### Hierarchy * [SwapQuoteGetOutputOptsBase](#interface-swapquotegetoutputoptsbase) @@ -2988,46 +2626,39 @@ gasPrice: Gas price in Wei to use for a transaction * [ForwarderSwapQuoteExecutionOpts](#interface-forwarderswapquoteexecutionopts) -## Index ### Properties -* [gasLimit](#optional-gaslimit) -* [gasPrice](#optional-gasprice) -* [takerAddress](#optional-takeraddress) - -## Properties - -### `Optional` gasLimit +## `Optional` gasLimit • **gasLimit**? : *undefined | number* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L180)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L181)* ___ -### `Optional` takerAddress +## `Optional` takerAddress • **takerAddress**? : *undefined | string* -*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L179)*
-> # Interface: SwapQuoteGetOutputOpts +# Interface: SwapQuoteGetOutputOpts takerAddress: The address to perform the buy. Defaults to the first available address from the provider. useConsumerType: If provided, defaults the SwapQuoteConsumer to create output consumed by ConsumerType. -## Hierarchy +### Hierarchy * [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts) @@ -3035,69 +2666,60 @@ useConsumerType: If provided, defaults the SwapQuoteConsumer to create output co * [SwapQuoteExecutionOpts](#interface-swapquoteexecutionopts) -## Index ### Properties -* [ethAmount](#optional-ethamount) -* [feePercentage](#feepercentage) -* [feeRecipient](#feerecipient) -* [takerAddress](#optional-takeraddress) -* [useConsumerType](#optional-useconsumertype) - -## Properties - -### `Optional` ethAmount +## `Optional` ethAmount • **ethAmount**? : *`BigNumber`* *Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L192)* ___ -### feePercentage +## feePercentage • **feePercentage**: *number* *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L190)* ___ -### feeRecipient +## feeRecipient • **feeRecipient**: *string* *Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L191)* ___ -### `Optional` takerAddress +## `Optional` takerAddress • **takerAddress**? : *undefined | string* -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L202)* +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L202)* ___ -### `Optional` useConsumerType +## `Optional` useConsumerType • **useConsumerType**? : *[ConsumerType](#enumeration-consumertype)* -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L203)* +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L203)*
-> # Interface: SwapQuoteGetOutputOptsBase +# Interface: SwapQuoteGetOutputOptsBase Represents the options provided to a generic SwapQuoteConsumer -## Hierarchy +### Hierarchy * **SwapQuoteGetOutputOptsBase** @@ -3107,151 +2729,129 @@ Represents the options provided to a generic SwapQuoteConsumer
-> # Interface: SwapQuoteInfo +# Interface: SwapQuoteInfo feeTakerTokenAmount: The amount of takerToken required any fee concerned with completing the swap. takerTokenAmount: The amount of takerToken required to conduct the swap. totalTakerTokenAmount: The total amount of takerToken required to complete the swap (filling orders, feeOrders, and paying affiliate fee) makerTokenAmount: The amount of makerToken that will be acquired through the swap. -## Hierarchy +### Hierarchy * **SwapQuoteInfo** -## Index ### Properties -* [feeTakerTokenAmount](#feetakertokenamount) -* [makerTokenAmount](#makertokenamount) -* [takerTokenAmount](#takertokenamount) -* [totalTakerTokenAmount](#totaltakertokenamount) - -## Properties - -### feeTakerTokenAmount +## feeTakerTokenAmount • **feeTakerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L265)* +*Defined in [types.ts:265](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L265)* ___ -### makerTokenAmount +## makerTokenAmount • **makerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:268](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L268)* +*Defined in [types.ts:268](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L268)* ___ -### takerTokenAmount +## takerTokenAmount • **takerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L267)* +*Defined in [types.ts:267](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L267)* ___ -### totalTakerTokenAmount +## totalTakerTokenAmount • **totalTakerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:266](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L266)* +*Defined in [types.ts:266](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L266)*
-> # Interface: SwapQuoteRequestOpts +# Interface: SwapQuoteRequestOpts shouldForceOrderRefresh: If set to true, new orders and state will be fetched instead of waiting for the next orderRefreshIntervalMs. Defaults to false. shouldDisableRequestingFeeOrders: If set to true, requesting a swapQuote will not perform any computation or requests for fees. slippagePercentage: The percentage buffer to add to account for slippage. Affects max ETH price estimates. Defaults to 0.2 (20%). -## Hierarchy +### Hierarchy * **SwapQuoteRequestOpts** -## Index ### Properties -* [shouldDisableRequestingFeeOrders](#shoulddisablerequestingfeeorders) -* [shouldForceOrderRefresh](#shouldforceorderrefresh) -* [slippagePercentage](#slippagepercentage) - -## Properties - -### shouldDisableRequestingFeeOrders +## shouldDisableRequestingFeeOrders • **shouldDisableRequestingFeeOrders**: *boolean* -*Defined in [types.ts:278](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L278)* +*Defined in [types.ts:278](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L278)* ___ -### shouldForceOrderRefresh +## shouldForceOrderRefresh • **shouldForceOrderRefresh**: *boolean* -*Defined in [types.ts:277](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L277)* +*Defined in [types.ts:277](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L277)* ___ -### slippagePercentage +## slippagePercentage • **slippagePercentage**: *number* -*Defined in [types.ts:279](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L279)* +*Defined in [types.ts:279](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L279)*
-> # Interface: SwapQuoterOpts +# Interface: SwapQuoterOpts networkId: The ethereum network id. Defaults to 1 (mainnet). orderRefreshIntervalMs: The interval in ms that getBuyQuoteAsync should trigger an refresh of orders and order states. Defaults to 10000ms (10s). expiryBufferMs: The number of seconds to add when calculating whether an order is expired or not. Defaults to 300s (5m). -## Hierarchy +### Hierarchy * **SwapQuoterOpts** -## Index ### Properties -* [expiryBufferMs](#expirybufferms) -* [networkId](#networkid) -* [orderRefreshIntervalMs](#orderrefreshintervalms) - -## Properties - -### expiryBufferMs +## expiryBufferMs • **expiryBufferMs**: *number* -*Defined in [types.ts:296](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L296)* +*Defined in [types.ts:296](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L296)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [types.ts:294](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L294)* +*Defined in [types.ts:294](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L294)* ___ -### orderRefreshIntervalMs +## orderRefreshIntervalMs • **orderRefreshIntervalMs**: *number* -*Defined in [types.ts:295](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L295)* +*Defined in [types.ts:295](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L295)*
-> # Interface: SwapQuoteWithAffiliateFeeBase +# Interface: SwapQuoteWithAffiliateFeeBase -## Hierarchy +### Hierarchy * **SwapQuoteWithAffiliateFeeBase** @@ -3259,19 +2859,14 @@ ___ * [MarketBuySwapQuoteWithAffiliateFee](#interface-marketbuyswapquotewithaffiliatefee) -## Index ### Properties -* [feePercentage](#feepercentage) - -## Properties - -### feePercentage +## feePercentage • **feePercentage**: *number* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L249)*
diff --git a/packages/connect/docs/reference.mdx b/packages/connect/docs/reference.mdx index ae43de6e6e..e2934f9c68 100644 --- a/packages/connect/docs/reference.mdx +++ b/packages/connect/docs/reference.mdx @@ -1,39 +1,24 @@ -> # Class: HttpClient +# Class: HttpClient This class includes all the functionality related to interacting with a set of HTTP endpoints that implement the standard relayer API v2 -## Hierarchy +### Hierarchy * **HttpClient** -## Implements +### Implements * [Client](#interface-client) -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [getAssetPairsAsync](#getassetpairsasync) -* [getFeeRecipientsAsync](#getfeerecipientsasync) -* [getOrderAsync](#getorderasync) -* [getOrderConfigAsync](#getorderconfigasync) -* [getOrderbookAsync](#getorderbookasync) -* [getOrdersAsync](#getordersasync) -* [submitOrderAsync](#submitorderasync) - -## Constructors - -### constructor +## constructer \+ **new HttpClient**(`url`: string): *[HttpClient](#class-httpclient)* -*Defined in [http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L44)* +*Defined in [http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L44)* Instantiates a new HttpClient instance @@ -47,13 +32,13 @@ Name | Type | Description | An instance of HttpClient -## Methods +### Methods -### getAssetPairsAsync +## getAssetPairsAsync ▸ **getAssetPairsAsync**(`requestOpts?`: `RequestOpts` & `AssetPairsRequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L59)* +*Defined in [http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L59)* Retrieve assetData pair info from the API @@ -69,11 +54,11 @@ The resulting AssetPairsResponse that match the request ___ -### getFeeRecipientsAsync +## getFeeRecipientsAsync ▸ **getFeeRecipientsAsync**(`requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L160)* +*Defined in [http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L160)* Retrieve the list of fee recipient addresses used by the relayer. @@ -89,11 +74,11 @@ The resulting FeeRecipientsResponse ___ -### getOrderAsync +## getOrderAsync ▸ **getOrderAsync**(`orderHash`: string, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L99)* +*Defined in [http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L99)* Retrieve a specific order from the API @@ -110,11 +95,11 @@ The APIOrder that matches the supplied orderHash ___ -### getOrderConfigAsync +## getOrderConfigAsync ▸ **getOrderConfigAsync**(`request`: `OrderConfigRequest`, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L139)* +*Defined in [http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L139)* Retrieve fee information from the API @@ -131,11 +116,11 @@ The resulting OrderConfigResponse that matches the request ___ -### getOrderbookAsync +## getOrderbookAsync ▸ **getOrderbookAsync**(`request`: `OrderbookRequest`, `requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L117)* +*Defined in [http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L117)* Retrieve an orderbook from the API @@ -152,11 +137,11 @@ The resulting OrderbookResponse that matches the request ___ -### getOrdersAsync +## getOrdersAsync ▸ **getOrdersAsync**(`requestOpts?`: `RequestOpts` & `OrdersRequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L79)* +*Defined in [http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L79)* Retrieve orders from the API @@ -172,11 +157,11 @@ The resulting OrdersResponse that match the request ___ -### submitOrderAsync +## submitOrderAsync ▸ **submitOrderAsync**(`signedOrder`: `SignedOrder`, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/http_client.ts#L177)* +*Defined in [http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L177)* Submit a signed order to the API @@ -191,37 +176,27 @@ Name | Type | Description |
-> # Class: WebSocketOrdersChannel +# Class: WebSocketOrdersChannel This class includes all the functionality related to interacting with a websocket endpoint that implements the standard relayer API v0 -## Hierarchy +### Hierarchy * **WebSocketOrdersChannel** -## Implements +### Implements * [OrdersChannel](#interface-orderschannel) -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [close](#close) -* [subscribe](#subscribe) - -## Constructors - -### constructor +## constructer \+ **new WebSocketOrdersChannel**(`client`: `w3cwebsocket`, `handler`: [OrdersChannelHandler](#interface-orderschannelhandler)): *[WebSocketOrdersChannel](#class-websocketorderschannel)* -*Defined in [ws_orders_channel.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/ws_orders_channel.ts#L21)* +*Defined in [ws_orders_channel.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/ws_orders_channel.ts#L21)* Instantiates a new WebSocketOrdersChannel instance @@ -236,13 +211,13 @@ Name | Type | Description | An instance of WebSocketOrdersChannel -## Methods +### Methods -### close +## close ▸ **close**(): *void* -*Defined in [ws_orders_channel.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/ws_orders_channel.ts#L66)* +*Defined in [ws_orders_channel.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/ws_orders_channel.ts#L66)* Close the websocket and stop receiving updates @@ -250,11 +225,11 @@ Close the websocket and stop receiving updates ___ -### subscribe +## subscribe ▸ **subscribe**(`subscriptionOpts`: `OrdersChannelSubscriptionOpts`): *void* -*Defined in [ws_orders_channel.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/ws_orders_channel.ts#L50)* +*Defined in [ws_orders_channel.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/ws_orders_channel.ts#L50)* Subscribe to orderbook snapshots and updates from the websocket @@ -268,62 +243,45 @@ Name | Type | Description |
-> # Enumeration: HttpRequestType +# Enumeration: HttpRequestType -## Index ### Enumeration members -* [Get](#get) -* [Post](#post) - -## Enumeration members - -### Get +## Get • **Get**: = "GET" -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L46)* ___ -### Post +## Post • **Post**: = "POST" -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L47)*
-> # Interface: Client +# Interface: Client -## Hierarchy +### Hierarchy * **Client** -## Implemented by +### Implemented by * [HttpClient](#class-httpclient) -## Index ### Properties -* [getAssetPairsAsync](#getassetpairsasync) -* [getFeeRecipientsAsync](#getfeerecipientsasync) -* [getOrderAsync](#getorderasync) -* [getOrderConfigAsync](#getorderconfigasync) -* [getOrderbookAsync](#getorderbookasync) -* [getOrdersAsync](#getordersasync) -* [submitOrderAsync](#submitorderasync) - -## Properties - -### getAssetPairsAsync +## getAssetPairsAsync • **getAssetPairsAsync**: *function* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L18)* #### Type declaration: @@ -337,11 +295,11 @@ Name | Type | ___ -### getFeeRecipientsAsync +## getFeeRecipientsAsync • **getFeeRecipientsAsync**: *function* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L25)* #### Type declaration: @@ -355,11 +313,11 @@ Name | Type | ___ -### getOrderAsync +## getOrderAsync • **getOrderAsync**: *function* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L22)* #### Type declaration: @@ -373,11 +331,11 @@ Name | Type | ___ -### getOrderConfigAsync +## getOrderConfigAsync • **getOrderConfigAsync**: *function* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L24)* #### Type declaration: @@ -391,11 +349,11 @@ Name | Type | ___ -### getOrderbookAsync +## getOrderbookAsync • **getOrderbookAsync**: *function* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L23)* #### Type declaration: @@ -410,11 +368,11 @@ Name | Type | ___ -### getOrdersAsync +## getOrdersAsync • **getOrdersAsync**: *function* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L21)* #### Type declaration: @@ -428,11 +386,11 @@ Name | Type | ___ -### submitOrderAsync +## submitOrderAsync • **submitOrderAsync**: *function* -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L26)* #### Type declaration: @@ -446,61 +404,49 @@ Name | Type |
-> # Interface: HttpRequestOptions +# Interface: HttpRequestOptions -## Hierarchy +### Hierarchy * **HttpRequestOptions** -## Index ### Properties -* [params](#optional-params) -* [payload](#optional-payload) - -## Properties - -### `Optional` params +## `Optional` params • **params**? : *undefined | object* -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L41)* ___ -### `Optional` payload +## `Optional` payload • **payload**? : *undefined | object* -*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L42)*
-> # Interface: OrdersChannel +# Interface: OrdersChannel -## Hierarchy +### Hierarchy * **OrdersChannel** -## Implemented by +### Implemented by * [WebSocketOrdersChannel](#class-websocketorderschannel) -## Index ### Properties -* [close](#close) -* [subscribe](#subscribe) - -## Properties - -### close +## close • **close**: *function* -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L31)* #### Type declaration: @@ -508,11 +454,11 @@ ___ ___ -### subscribe +## subscribe • **subscribe**: *function* -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L30)* #### Type declaration: @@ -526,27 +472,20 @@ Name | Type |
-> # Interface: OrdersChannelHandler +# Interface: OrdersChannelHandler -## Hierarchy +### Hierarchy * **OrdersChannelHandler** -## Index ### Properties -* [onClose](#onclose) -* [onError](#onerror) -* [onUpdate](#onupdate) - -## Properties - -### onClose +## onClose • **onClose**: *function* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L37)* #### Type declaration: @@ -560,11 +499,11 @@ Name | Type | ___ -### onError +## onError • **onError**: *function* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L36)* #### Type declaration: @@ -580,11 +519,11 @@ Name | Type | ___ -### onUpdate +## onUpdate • **onUpdate**: *function* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/connect/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L35)* #### Type declaration: @@ -600,13 +539,13 @@ Name | Type |
-> # Interface: OrdersChannelSubscriptionOptsMap +# Interface: OrdersChannelSubscriptionOptsMap -## Hierarchy +### Hierarchy * **OrdersChannelSubscriptionOptsMap** -## Indexable +### Indexable ● \[▪ **key**: *string*\]: `OrdersChannelSubscriptionOpts` diff --git a/packages/contract-wrappers/docs/reference.mdx b/packages/contract-wrappers/docs/reference.mdx index 1a02871ce4..fe91e0ef15 100644 --- a/packages/contract-wrappers/docs/reference.mdx +++ b/packages/contract-wrappers/docs/reference.mdx @@ -1,41 +1,19 @@ -> # Class: ContractWrappers +# Class: ContractWrappers The ContractWrappers class contains smart contract wrappers helpful when building on 0x protocol. -## Hierarchy +### Hierarchy * **ContractWrappers** -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [coordinator](#coordinator) -* [dutchAuction](#dutchauction) -* [erc20Proxy](#erc20proxy) -* [erc721Proxy](#erc721proxy) -* [exchange](#exchange) -* [forwarder](#forwarder) -* [orderValidator](#ordervalidator) -* [weth9](#weth9) - -### Methods - -* [getAbiDecoder](#getabidecoder) -* [getProvider](#getprovider) -* [unsubscribeAll](#unsubscribeall) - -## Constructors - -### constructor +## constructer \+ **new ContractWrappers**(`supportedProvider`: `SupportedProvider`, `config`: [ContractWrappersConfig](#interface-contractwrappersconfig)): *[ContractWrappers](#class-contractwrappers)* -*Defined in [contract_wrappers.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L72)* +*Defined in [contract_wrappers.ts:78](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L78)* Instantiates a new ContractWrappers instance. @@ -50,96 +28,106 @@ Name | Type | Description | An instance of the ContractWrappers class. -## Properties +### Properties + +## contractAddresses + +• **contractAddresses**: *`ContractAddresses`* + +*Defined in [contract_wrappers.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L41)* -### coordinator +An index of the default contract addresses for this network. + +___ + +## coordinator • **coordinator**: *[CoordinatorWrapper](#class-coordinatorwrapper)* -*Defined in [contract_wrappers.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L70)* +*Defined in [contract_wrappers.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L76)* An instance of the CoordinatorWrapper class containing methods for interacting with the Coordinator extension contract. ___ -### dutchAuction +## dutchAuction -• **dutchAuction**: *[DutchAuctionContract](#class-dutchauctioncontract)* +• **dutchAuction**: *`DutchAuctionContract`* -*Defined in [contract_wrappers.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L66)* +*Defined in [contract_wrappers.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L72)* An instance of the DutchAuctionContract class containing methods for interacting with any DutchAuction smart contract. ___ -### erc20Proxy +## erc20Proxy -• **erc20Proxy**: *[ERC20ProxyContract](#class-erc20proxycontract)* +• **erc20Proxy**: *`ERC20ProxyContract`* -*Defined in [contract_wrappers.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L44)* +*Defined in [contract_wrappers.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L50)* An instance of the ERC20ProxyContract class containing methods for interacting with the erc20Proxy smart contract. ___ -### erc721Proxy +## erc721Proxy -• **erc721Proxy**: *[ERC721ProxyContract](#class-erc721proxycontract)* +• **erc721Proxy**: *`ERC721ProxyContract`* -*Defined in [contract_wrappers.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L49)* +*Defined in [contract_wrappers.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L55)* An instance of the ERC721ProxyContract class containing methods for interacting with the erc721Proxy smart contract. ___ -### exchange +## exchange -• **exchange**: *[ExchangeContract](#class-exchangecontract)* +• **exchange**: *`ExchangeContract`* -*Defined in [contract_wrappers.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L39)* +*Defined in [contract_wrappers.ts:45](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L45)* An instance of the ExchangeContract class containing methods for interacting with the 0x Exchange smart contract. ___ -### forwarder +## forwarder -• **forwarder**: *[ForwarderContract](#class-forwardercontract)* +• **forwarder**: *`ForwarderContract`* -*Defined in [contract_wrappers.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L58)* +*Defined in [contract_wrappers.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L64)* An instance of the ForwarderContract class containing methods for interacting with any Forwarder smart contract. ___ -### orderValidator +## orderValidator -• **orderValidator**: *[OrderValidatorContract](#class-ordervalidatorcontract)* +• **orderValidator**: *`OrderValidatorContract`* -*Defined in [contract_wrappers.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L62)* +*Defined in [contract_wrappers.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L68)* An instance of the OrderValidatorContract class containing methods for interacting with any OrderValidator smart contract. ___ -### weth9 +## weth9 -• **weth9**: *[WETH9Contract](#class-weth9contract)* +• **weth9**: *`WETH9Contract`* -*Defined in [contract_wrappers.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L54)* +*Defined in [contract_wrappers.ts:60](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L60)* An instance of the WETH9Contract class containing methods for interacting with the WETH9 smart contract. -## Methods +### Methods -### getAbiDecoder +## getAbiDecoder ▸ **getAbiDecoder**(): *`AbiDecoder`* -*Defined in [contract_wrappers.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L140)* +*Defined in [contract_wrappers.ts:147](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L147)* Get the abi decoder instance currently used by contract-wrappers @@ -149,11 +137,11 @@ AbiDecoder instance ___ -### getProvider +## getProvider ▸ **getProvider**(): *`SupportedProvider`* -*Defined in [contract_wrappers.ts:133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L133)* +*Defined in [contract_wrappers.ts:140](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L140)* Get the provider instance currently used by contract-wrappers @@ -163,11 +151,11 @@ Web3 provider instance ___ -### unsubscribeAll +## unsubscribeAll ▸ **unsubscribeAll**(): *void* -*Defined in [contract_wrappers.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/contract_wrappers.ts#L123)* +*Defined in [contract_wrappers.ts:130](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L130)* Unsubscribes from all subscriptions for all contracts. @@ -175,56 +163,23 @@ Unsubscribes from all subscriptions for all contracts.
-> # Class: CoordinatorWrapper +# Class: CoordinatorWrapper This class includes all the functionality related to filling or cancelling orders through the 0x V2 Coordinator extension contract. -## Hierarchy +### Hierarchy * **CoordinatorWrapper** -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [exchangeAddress](#exchangeaddress) -* [networkId](#networkid) -* [registryAddress](#registryaddress) - -### Methods - -* [assertValidCoordinatorApprovalsOrThrowAsync](#assertvalidcoordinatorapprovalsorthrowasync) -* [batchFillOrKillOrdersAsync](#batchfillorkillordersasync) -* [batchFillOrdersAsync](#batchfillordersasync) -* [batchFillOrdersNoThrowAsync](#batchfillordersnothrowasync) -* [batchHardCancelOrdersAsync](#batchhardcancelordersasync) -* [batchSoftCancelOrdersAsync](#batchsoftcancelordersasync) -* [fillOrKillOrderAsync](#fillorkillorderasync) -* [fillOrderAsync](#fillorderasync) -* [fillOrderNoThrowAsync](#fillordernothrowasync) -* [getSignerAddressAsync](#getsigneraddressasync) -* [hardCancelOrderAsync](#hardcancelorderasync) -* [hardCancelOrdersUpToAsync](#hardcancelordersuptoasync) -* [marketBuyOrdersAsync](#marketbuyordersasync) -* [marketBuyOrdersNoThrowAsync](#marketbuyordersnothrowasync) -* [marketSellOrdersAsync](#marketsellordersasync) -* [marketSellOrdersNoThrowAsync](#marketsellordersnothrowasync) -* [softCancelOrderAsync](#softcancelorderasync) - -## Constructors - -### constructor +## constructer \+ **new CoordinatorWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string, `exchangeAddress?`: undefined | string, `registryAddress?`: undefined | string): *[CoordinatorWrapper](#class-coordinatorwrapper)* -*Defined in [coordinator_wrapper.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L43)* +*Defined in [coordinator_wrapper.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L43)* Instantiate CoordinatorWrapper @@ -240,53 +195,53 @@ Name | Type | Description | **Returns:** *[CoordinatorWrapper](#class-coordinatorwrapper)* -## Properties +### Properties -### abi +## abi • **abi**: *`ContractAbi`* = Coordinator.compilerOutput.abi -*Defined in [coordinator_wrapper.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L34)* +*Defined in [coordinator_wrapper.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L34)* ___ -### address +## address • **address**: *string* -*Defined in [coordinator_wrapper.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L36)* +*Defined in [coordinator_wrapper.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L36)* ___ -### exchangeAddress +## exchangeAddress • **exchangeAddress**: *string* -*Defined in [coordinator_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L37)* +*Defined in [coordinator_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L37)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [coordinator_wrapper.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L35)* +*Defined in [coordinator_wrapper.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L35)* ___ -### registryAddress +## registryAddress • **registryAddress**: *string* -*Defined in [coordinator_wrapper.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L38)* +*Defined in [coordinator_wrapper.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L38)* -## Methods +### Methods -### assertValidCoordinatorApprovalsOrThrowAsync +## assertValidCoordinatorApprovalsOrThrowAsync ▸ **assertValidCoordinatorApprovalsOrThrowAsync**(`transaction`: `ZeroExTransaction`, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[]): *`Promise`* -*Defined in [coordinator_wrapper.ts:637](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L637)* +*Defined in [coordinator_wrapper.ts:637](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L637)* Validates that the 0x transaction has been approved by all of the feeRecipients that correspond to each order in the transaction's Exchange calldata. Throws an error if the transaction approvals are not valid. Will not detect failures that would occur when the transaction is executed on the Exchange contract. @@ -305,11 +260,11 @@ Name | Type | Description | ___ -### batchFillOrKillOrdersAsync +## batchFillOrKillOrdersAsync ▸ **batchFillOrKillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L273)* +*Defined in [coordinator_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L273)* Batch version of fillOrKillOrderAsync. Executes multiple fills atomically in a single transaction. @@ -328,11 +283,11 @@ Transaction hash. ___ -### batchFillOrdersAsync +## batchFillOrdersAsync ▸ **batchFillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L203)* +*Defined in [coordinator_wrapper.ts:203](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L203)* Batch version of fillOrderAsync. Executes multiple fills atomically in a single transaction. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -356,11 +311,11 @@ Transaction hash. ___ -### batchFillOrdersNoThrowAsync +## batchFillOrdersNoThrowAsync ▸ **batchFillOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:238](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L238)* +*Defined in [coordinator_wrapper.ts:238](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L238)* No throw version of batchFillOrdersAsync @@ -379,11 +334,11 @@ Transaction hash. ___ -### batchHardCancelOrdersAsync +## batchHardCancelOrdersAsync ▸ **batchHardCancelOrdersAsync**(`orders`: `SignedOrder`[], `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L568)* +*Defined in [coordinator_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L568)* Batch version of hardCancelOrderAsync. Cancels orders on-chain by submitting an Ethereum transaction. Executes multiple cancels atomically in a single transaction. @@ -401,11 +356,11 @@ Transaction hash. ___ -### batchSoftCancelOrdersAsync +## batchSoftCancelOrdersAsync ▸ **batchSoftCancelOrdersAsync**(`orders`: `SignedOrder`[]): *`Promise`* -*Defined in [coordinator_wrapper.ts:482](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L482)* +*Defined in [coordinator_wrapper.ts:482](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L482)* Batch version of softCancelOrderAsync. Requests multiple soft cancels @@ -421,11 +376,11 @@ CoordinatorServerCancellationResponse. See [Cancellation Response](https://githu ___ -### fillOrKillOrderAsync +## fillOrKillOrderAsync ▸ **fillOrKillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:166](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L166)* +*Defined in [coordinator_wrapper.ts:166](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L166)* Attempts to fill a specific amount of an order. If the entire amount specified cannot be filled, the fill order is abandoned. @@ -445,11 +400,11 @@ Transaction hash. ___ -### fillOrderAsync +## fillOrderAsync ▸ **fillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L101)* +*Defined in [coordinator_wrapper.ts:101](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L101)* Fills a signed order with an amount denominated in baseUnits of the taker asset. Under-the-hood, this method uses the `feeRecipientAddress` of the order to look up the coordinator server endpoint registered in the @@ -472,11 +427,11 @@ Transaction hash. ___ -### fillOrderNoThrowAsync +## fillOrderNoThrowAsync ▸ **fillOrderNoThrowAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L133)* +*Defined in [coordinator_wrapper.ts:133](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L133)* No-throw version of fillOrderAsync. This version will not throw if the fill fails. This allows the caller to save gas at the expense of not knowing the reason the fill failed. @@ -495,11 +450,11 @@ Transaction hash. ___ -### getSignerAddressAsync +## getSignerAddressAsync ▸ **getSignerAddressAsync**(`hash`: string, `signature`: string): *`Promise`* -*Defined in [coordinator_wrapper.ts:669](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L669)* +*Defined in [coordinator_wrapper.ts:669](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L669)* Recovers the address of a signer given a hash and signature. @@ -516,11 +471,11 @@ Signer address. ___ -### hardCancelOrderAsync +## hardCancelOrderAsync ▸ **hardCancelOrderAsync**(`order`: `Order` | `SignedOrder`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:536](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L536)* +*Defined in [coordinator_wrapper.ts:536](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L536)* Cancels an order on-chain by submitting an Ethereum transaction. @@ -537,11 +492,11 @@ Transaction hash. ___ -### hardCancelOrdersUpToAsync +## hardCancelOrdersUpToAsync ▸ **hardCancelOrdersUpToAsync**(`targetOrderEpoch`: `BigNumber`, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:603](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L603)* +*Defined in [coordinator_wrapper.ts:603](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L603)* Cancels orders on-chain by submitting an Ethereum transaction. Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch @@ -561,11 +516,11 @@ Transaction hash. ___ -### marketBuyOrdersAsync +## marketBuyOrdersAsync ▸ **marketBuyOrdersAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:313](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L313)* +*Defined in [coordinator_wrapper.ts:313](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L313)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -589,11 +544,11 @@ Transaction hash. ___ -### marketBuyOrdersNoThrowAsync +## marketBuyOrdersNoThrowAsync ▸ **marketBuyOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:384](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L384)* +*Defined in [coordinator_wrapper.ts:384](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L384)* No throw version of marketBuyOrdersAsync @@ -612,11 +567,11 @@ Transaction hash. ___ -### marketSellOrdersAsync +## marketSellOrdersAsync ▸ **marketSellOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L351)* +*Defined in [coordinator_wrapper.ts:351](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L351)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -640,11 +595,11 @@ Transaction hash. ___ -### marketSellOrdersNoThrowAsync +## marketSellOrdersNoThrowAsync ▸ **marketSellOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:417](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L417)* +*Defined in [coordinator_wrapper.ts:417](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L417)* No throw version of marketSellOrdersAsync @@ -663,11 +618,11 @@ Transaction hash. ___ -### softCancelOrderAsync +## softCancelOrderAsync ▸ **softCancelOrderAsync**(`order`: `Order` | `SignedOrder`): *`Promise`* -*Defined in [coordinator_wrapper.ts:447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/coordinator_wrapper.ts#L447)* +*Defined in [coordinator_wrapper.ts:447](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L447)* Soft cancel a given order. Soft cancels are recorded only on coordinator operator servers and do not involve an Ethereum transaction. @@ -685,77 +640,24 @@ CoordinatorServerCancellationResponse. See [Cancellation Response](https://githu
-> # Class: AssetProxyOwnerContract +# Class: IWalletContract -## Hierarchy +### Hierarchy * `BaseContract` - * **AssetProxyOwnerContract** + * **IWalletContract** -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals +## constructer -* [MAX_OWNER_COUNT](#max_owner_count) -* [addOwner](#addowner) -* [changeRequirement](#changerequirement) -* [changeTimeLock](#changetimelock) -* [confirmTransaction](#confirmtransaction) -* [confirmationTimes](#confirmationtimes) -* [confirmations](#confirmations) -* [executeRemoveAuthorizedAddressAtIndex](#executeremoveauthorizedaddressatindex) -* [executeTransaction](#executetransaction) -* [getConfirmationCount](#getconfirmationcount) -* [getConfirmations](#getconfirmations) -* [getOwners](#getowners) -* [getTransactionCount](#gettransactioncount) -* [getTransactionIds](#gettransactionids) -* [isAssetProxyRegistered](#isassetproxyregistered) -* [isConfirmed](#isconfirmed) -* [isOwner](#isowner) -* [owners](#owners) -* [registerAssetProxy](#registerassetproxy) -* [removeOwner](#removeowner) -* [replaceOwner](#replaceowner) -* [required](#required) -* [revokeConfirmation](#revokeconfirmation) -* [secondsTimeLocked](#secondstimelocked) -* [submitTransaction](#submittransaction) -* [transactionCount](#transactioncount) -* [transactions](#transactions) - -## Constructors - -### constructor - -\+ **new AssetProxyOwnerContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[AssetProxyOwnerContract](#class-assetproxyownercontract)* +\+ **new IWalletContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[IWalletContract](#class-iwalletcontract)* *Overrides void* -*Defined in [generated-wrappers/asset_proxy_owner.ts:3959](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3959)* +*Defined in [generated-wrappers/i_wallet.ts:206](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L206)* **Parameters:** @@ -766,139 +668,55 @@ Name | Type | `txDefaults?` | `Partial` | `logDecodeDependencies?` | undefined \| object | -**Returns:** *[AssetProxyOwnerContract](#class-assetproxyownercontract)* +**Returns:** *[IWalletContract](#class-iwalletcontract)* -## Properties +### Properties -### abi +## abi • **abi**: *`ContractAbi`* -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* -*Inherited from void* ___ -### contractName - -• **contractName**: *string* - -*Inherited from void* - - +## address -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [AssetProxyOwnerEvents](#enumeration-assetproxyownerevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:3943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3943)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[AssetProxyOwnerEventArgs](#assetproxyownereventargs)* +• **address**: *string* -**Parameters:** -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [AssetProxyOwnerEvents](#enumeration-assetproxyownerevents) | The AssetProxyOwner contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | -**Returns:** *`Promise>>`* -Array of logs that match the parameters ___ -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [AssetProxyOwnerEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:3901](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3901)* +## constructerArgs -Subscribe to an event type emitted by the AssetProxyOwner contract. - -**Type parameters:** - -▪ **ArgsType**: *[AssetProxyOwnerEventArgs](#assetproxyownereventargs)* +• **constructorArgs**: *any[]* -**Parameters:** -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [AssetProxyOwnerEvents](#enumeration-assetproxyownerevents) | - | The AssetProxyOwner contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | -**Returns:** *string* -Subscription token used later to unsubscribe ___ -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:3926](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3926)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ +## contractName -### unsubscribeAll +• **contractName**: *string* -▸ **unsubscribeAll**(): *void* -*Defined in [generated-wrappers/asset_proxy_owner.ts:3932](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3932)* -Cancels all existing subscriptions -**Returns:** *void* -___ +### Methods -### `Static` ABI +## `Static` ABI ▸ **ABI**(): *`ContractAbi`* -*Defined in [generated-wrappers/asset_proxy_owner.ts:3189](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3189)* +*Defined in [generated-wrappers/i_wallet.ts:179](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L179)* **Returns:** *`ContractAbi`* @@ -906,11 +724,11 @@ The contract ABI ___ -### `Static` deployAsync +## `Static` deployAsync -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_owners`: string[], `_assetProxyContracts`: string[], `_required`: `BigNumber`, `_secondsTimeLocked`: `BigNumber`): *`Promise`* +▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* -*Defined in [generated-wrappers/asset_proxy_owner.ts:3139](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3139)* +*Defined in [generated-wrappers/i_wallet.ts:137](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L137)* **Parameters:** @@ -921,20 +739,16 @@ Name | Type | `supportedProvider` | `SupportedProvider` | `txDefaults` | `Partial` | `logDecodeDependencies` | object | -`_owners` | string[] | -`_assetProxyContracts` | string[] | -`_required` | `BigNumber` | -`_secondsTimeLocked` | `BigNumber` | -**Returns:** *`Promise`* +**Returns:** *`Promise`* ___ -### `Static` deployFrom0xArtifactAsync +## `Static` deployFrom0xArtifactAsync -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_owners`: string[], `_assetProxyContracts`: string[], `_required`: `BigNumber`, `_secondsTimeLocked`: `BigNumber`): *`Promise`* +▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* -*Defined in [generated-wrappers/asset_proxy_owner.ts:3100](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3100)* +*Defined in [generated-wrappers/i_wallet.ts:112](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L112)* **Parameters:** @@ -944,20 +758,16 @@ Name | Type | `supportedProvider` | `SupportedProvider` | `txDefaults` | `Partial` | `logDecodeDependencies` | object | -`_owners` | string[] | -`_assetProxyContracts` | string[] | -`_required` | `BigNumber` | -`_secondsTimeLocked` | `BigNumber` | -**Returns:** *`Promise`* +**Returns:** *`Promise`* ___ -### `Static` strictArgumentEncodingCheck +## `Static` strictArgumentEncodingCheck ▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* -*Inherited from void* + @@ -970,19 +780,21 @@ Name | Type | **Returns:** *string* -## Object literals +### Object literals + +## isValidSignature -### MAX_OWNER_COUNT +## ▪ **isValidSignature**: *object* -### ▪ **MAX_OWNER_COUNT**: *object* +*Defined in [generated-wrappers/i_wallet.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L33)* -*Defined in [generated-wrappers/asset_proxy_owner.ts:2633](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2633)* +Verifies that a signature is valid. -### callAsync +## callAsync -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* +▸ **callAsync**(`hash`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [generated-wrappers/asset_proxy_owner.ts:2639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2639)* +*Defined in [generated-wrappers/i_wallet.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L42)* Sends a read-only call to the contract method. Returns the result that would happen if one were to send an Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas @@ -990,18 +802,22 @@ since they don't modify state. **Parameters:** -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | +Name | Type | Default | Description | +------ | ------ | ------ | ------ | +`hash` | string | - | Message hash that is signed. | +`signature` | string | - | Proof of signing. | +`callData` | `Partial` | {} | - | +`defaultBlock?` | `BlockParam` | - | - | -**Returns:** *`Promise`* +**Returns:** *`Promise`* + +Magic bytes4 value if the signature is valid. Magic value is bytes4(keccak256("isValidWalletSignature(bytes32,address,bytes)")) -### getABIDecodedReturnData +## getABIDecodedReturnData -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* +▸ **getABIDecodedReturnData**(`returnData`: string): *string* -*Defined in [generated-wrappers/asset_proxy_owner.ts:2687](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2687)* +*Defined in [generated-wrappers/i_wallet.ts:104](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L104)* **Parameters:** @@ -1009,13 +825,13 @@ Name | Type | ------ | ------ | `returnData` | string | -**Returns:** *`BigNumber`* +**Returns:** *string* -### getABIDecodedTransactionData +## getABIDecodedTransactionData -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* +▸ **getABIDecodedTransactionData**(`callData`: string): *string* -*Defined in [generated-wrappers/asset_proxy_owner.ts:2680](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2680)* +*Defined in [generated-wrappers/i_wallet.ts:97](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L97)* **Parameters:** @@ -1023,27280 +839,999 @@ Name | Type | ------ | ------ | `callData` | string | -**Returns:** *`BigNumber`* +**Returns:** *string* -### getABIEncodedTransactionData +## getABIEncodedTransactionData -▸ **getABIEncodedTransactionData**(): *string* +▸ **getABIEncodedTransactionData**(`hash`: string, `signature`: string): *string* -*Defined in [generated-wrappers/asset_proxy_owner.ts:2675](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2675)* +*Defined in [generated-wrappers/i_wallet.ts:87](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L87)* Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used to create a 0x transaction (see protocol spec for more details). +**Parameters:** + +Name | Type | Description | +------ | ------ | ------ | +`hash` | string | Message hash that is signed. | +`signature` | string | Proof of signing. | + **Returns:** *string* -___ +
-### addOwner +# Class: CoordinatorServerError -### ▪ **addOwner**: *object* +### Hierarchy -*Defined in [generated-wrappers/asset_proxy_owner.ts:1145](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1145)* +* `Error` + + * **CoordinatorServerError** -Allows to add a new owner. Transaction has to be sent by wallet. -### awaitTransactionSuccessAsync +### Constructors -▸ **awaitTransactionSuccessAsync**(`owner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* +## constructer -*Defined in [generated-wrappers/asset_proxy_owner.ts:1181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1181)* +\+ **new CoordinatorServerError**(`message`: [CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg), `approvedOrders`: `SignedOrder`[], `cancellations`: [CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[], `errors`: [CoordinatorServerResponse](#interface-coordinatorserverresponse)[]): *[CoordinatorServerError](#class-coordinatorservererror)* -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* **Parameters:** -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of new owner. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | +Name | Type | +------ | ------ | +`message` | [CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg) | +`approvedOrders` | `SignedOrder`[] | +`cancellations` | [CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[] | +`errors` | [CoordinatorServerResponse](#interface-coordinatorserverresponse)[] | -**Returns:** *`PromiseWithTransactionHash`* +**Returns:** *[CoordinatorServerError](#class-coordinatorservererror)* -A promise that resolves when the transaction is successful +### Properties -### callAsync +## `Optional` approvedOrders -▸ **callAsync**(`owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* +• **approvedOrders**? : *`SignedOrder`[]* = [] -*Defined in [generated-wrappers/asset_proxy_owner.ts:1233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1233)* +*Defined in [utils/coordinator_server_types.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L41)* -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. +___ -**Parameters:** +## `Optional` cancellations -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`owner` | string | - | Address of new owner. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | +• **cancellations**? : *[CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[]* = [] -**Returns:** *`Promise`* +*Defined in [utils/coordinator_server_types.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L42)* + +___ -### estimateGasAsync +## errors -▸ **estimateGasAsync**(`owner`: string, `txData?`: `Partial` | undefined): *`Promise`* +• **errors**: *[CoordinatorServerResponse](#interface-coordinatorserverresponse)[]* -*Defined in [generated-wrappers/asset_proxy_owner.ts:1208](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1208)* +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. +___ -**Parameters:** +## message -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of new owner. | -`txData?` | `Partial` \| undefined | Additional data for transaction | +• **message**: *[CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg)* -**Returns:** *`Promise`* +*Overrides void* -The hash of the transaction +*Defined in [utils/coordinator_server_types.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L40)* -### getABIDecodedReturnData +___ -▸ **getABIDecodedReturnData**(`returnData`: string): *void* +## name -*Defined in [generated-wrappers/asset_proxy_owner.ts:1284](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1284)* +• **name**: *string* -**Parameters:** -Name | Type | ------- | ------ | -`returnData` | string | -**Returns:** *void* -### getABIDecodedTransactionData -▸ **getABIDecodedTransactionData**(`callData`: string): *void* +___ -*Defined in [generated-wrappers/asset_proxy_owner.ts:1277](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1277)* +## `Optional` stack -**Parameters:** +• **stack**? : *undefined | string* -Name | Type | ------- | ------ | -`callData` | string | -**Returns:** *void* -### getABIEncodedTransactionData +*Overrides void* -▸ **getABIEncodedTransactionData**(`owner`: string): *string* -*Defined in [generated-wrappers/asset_proxy_owner.ts:1271](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1271)* -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). +___ -**Parameters:** +## `Static` Error -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of new owner. | +▪ **Error**: *`ErrorConstructor`* -**Returns:** *string* -### sendTransactionAsync -▸ **sendTransactionAsync**(`owner`: string, `txData?`: `Partial` | undefined): *`Promise`* +
-*Defined in [generated-wrappers/asset_proxy_owner.ts:1153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1153)* +# Enumeration: ContractError -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. -**Parameters:** +### Enumeration members -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of new owner. | -`txData?` | `Partial` \| undefined | Additional data for transaction | +## ContractNotDeployedOnNetwork -**Returns:** *`Promise`* +• **ContractNotDeployedOnNetwork**: = "CONTRACT_NOT_DEPLOYED_ON_NETWORK" -The hash of the transaction +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L32)* ___ -### changeRequirement +## ERC721NoApproval -### ▪ **changeRequirement**: *object* +• **ERC721NoApproval**: = "ERC_721_NO_APPROVAL" -*Defined in [generated-wrappers/asset_proxy_owner.ts:2048](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2048)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L42)* -Allows to change the number of required confirmations. Transaction has to be sent by wallet. +___ -### awaitTransactionSuccessAsync +## ERC721OwnerNotFound -▸ **awaitTransactionSuccessAsync**(`_required`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* +• **ERC721OwnerNotFound**: = "ERC_721_OWNER_NOT_FOUND" -*Defined in [generated-wrappers/asset_proxy_owner.ts:2084](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2084)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L41)* -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. +___ -**Parameters:** +## InsufficientAllowanceForTransfer -Name | Type | Description | ------- | ------ | ------ | -`_required` | `BigNumber` | Number of required confirmations. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | +• **InsufficientAllowanceForTransfer**: = "INSUFFICIENT_ALLOWANCE_FOR_TRANSFER" -**Returns:** *`PromiseWithTransactionHash`* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L33)* -A promise that resolves when the transaction is successful +___ -### callAsync +## InsufficientBalanceForTransfer -▸ **callAsync**(`_required`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* +• **InsufficientBalanceForTransfer**: = "INSUFFICIENT_BALANCE_FOR_TRANSFER" -*Defined in [generated-wrappers/asset_proxy_owner.ts:2136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2136)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L34)* -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. +___ -**Parameters:** +## InsufficientEthBalanceForDeposit -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_required` | `BigNumber` | - | Number of required confirmations. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | +• **InsufficientEthBalanceForDeposit**: = "INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT" -**Returns:** *`Promise`* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L35)* -### estimateGasAsync +___ -▸ **estimateGasAsync**(`_required`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* +## InsufficientWEthBalanceForWithdrawal -*Defined in [generated-wrappers/asset_proxy_owner.ts:2111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2111)* +• **InsufficientWEthBalanceForWithdrawal**: = "INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL" -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L36)* -**Parameters:** +___ -Name | Type | Description | ------- | ------ | ------ | -`_required` | `BigNumber` | Number of required confirmations. | -`txData?` | `Partial` \| undefined | Additional data for transaction | +## InvalidJump -**Returns:** *`Promise`* +• **InvalidJump**: = "INVALID_JUMP" -The hash of the transaction +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L37)* -### getABIDecodedReturnData +___ -▸ **getABIDecodedReturnData**(`returnData`: string): *void* +## OutOfGas -*Defined in [generated-wrappers/asset_proxy_owner.ts:2191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2191)* +• **OutOfGas**: = "OUT_OF_GAS" -**Parameters:** +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L38)* -Name | Type | ------- | ------ | -`returnData` | string | +___ -**Returns:** *void* +## SignatureRequestDenied -### getABIDecodedTransactionData +• **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -▸ **getABIDecodedTransactionData**(`callData`: string): *void* +*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L43)* -*Defined in [generated-wrappers/asset_proxy_owner.ts:2184](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2184)* +___ -**Parameters:** +## SubscriptionAlreadyPresent -Name | Type | ------- | ------ | -`callData` | string | +• **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" -**Returns:** *void* +*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L40)* -### getABIEncodedTransactionData +___ -▸ **getABIEncodedTransactionData**(`_required`: `BigNumber`): *string* +## SubscriptionNotFound -*Defined in [generated-wrappers/asset_proxy_owner.ts:2178](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2178)* +• **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L39)* -**Parameters:** +
-Name | Type | Description | ------- | ------ | ------ | -`_required` | `BigNumber` | Number of required confirmations. | +# Enumeration: ForwarderError -**Returns:** *string* -### sendTransactionAsync +### Enumeration members -▸ **sendTransactionAsync**(`_required`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* +## CompleteFillFailed -*Defined in [generated-wrappers/asset_proxy_owner.ts:2056](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2056)* +• **CompleteFillFailed**: = "COMPLETE_FILL_FAILED" -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L28)* -**Parameters:** +
-Name | Type | Description | ------- | ------ | ------ | -`_required` | `BigNumber` | Number of required confirmations. | -`txData?` | `Partial` \| undefined | Additional data for transaction | +# Enumeration: OrderStatus -**Returns:** *`Promise`* -The hash of the transaction +### Enumeration members -___ +## Cancelled -### changeTimeLock +• **Cancelled**: -### ▪ **changeTimeLock**: *object* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L91)* -*Defined in [generated-wrappers/asset_proxy_owner.ts:1369](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1369)* +___ -Changes the duration of the time lock for transactions. +## Expired -### awaitTransactionSuccessAsync +• **Expired**: -▸ **awaitTransactionSuccessAsync**(`_secondsTimeLocked`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1410)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_secondsTimeLocked` | `BigNumber` | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_secondsTimeLocked`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1464](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1464)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_secondsTimeLocked` | `BigNumber` | - | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_secondsTimeLocked`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1438)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_secondsTimeLocked` | `BigNumber` | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1522](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1522)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1515](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1515)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_secondsTimeLocked`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1507](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1507)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_secondsTimeLocked` | `BigNumber` | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_secondsTimeLocked`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1378](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1378)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_secondsTimeLocked` | `BigNumber` | Duration needed after a transaction is confirmed and before it becomes executable, in seconds. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### confirmTransaction - -### ▪ **confirmTransaction**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2202](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2202)* - -Allows an owner to confirm a transaction. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2238](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2238)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2290](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2290)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transactionId` | `BigNumber` | - | Transaction ID. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2265)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2347)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2340](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2340)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2332](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2332)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2210](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2210)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### confirmationTimes - -### ▪ **confirmationTimes**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2565](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2565)* - -### callAsync - -▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2571](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2571)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2625](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2625)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2618](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2618)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2612](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2612)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | `BigNumber` | - -**Returns:** *string* - -___ - -### confirmations - -### ▪ **confirmations**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:564](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L564)* - -### callAsync - -▸ **callAsync**(`index_0`: `BigNumber`, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:570](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L570)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | `BigNumber` | - | -`index_1` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:633](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L633)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:626](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L626)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`, `index_1`: string): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:616](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L616)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | `BigNumber` | -`index_1` | string | - -**Returns:** *string* - -___ - -### executeRemoveAuthorizedAddressAtIndex - -### ▪ **executeRemoveAuthorizedAddressAtIndex**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:644](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L644)* - -Allows execution of `removeAuthorizedAddressAtIndex` without time lock. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:682](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L682)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L739)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transactionId` | `BigNumber` | - | Transaction ID. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:712](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L712)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:799](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L799)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:792](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L792)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:783](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L783)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:652](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L652)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### executeTransaction - -### ▪ **executeTransaction**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2946](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2946)* - -Allows anyone to execute a confirmed transaction. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2982](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2982)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:3034](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3034)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transactionId` | `BigNumber` | - | Transaction ID. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:3009](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3009)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:3091](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3091)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:3084](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3084)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:3076](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L3076)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2954](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2954)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### getConfirmationCount - -### ▪ **getConfirmationCount**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1603](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1603)* - -Returns number of confirmations of a transaction. - -### callAsync - -▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1611](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1611)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transactionId` | `BigNumber` | - | Transaction ID. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Number of confirmations. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1668](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1668)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1661](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1661)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1653](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1653)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | - -**Returns:** *string* - -___ - -### getConfirmations - -### ▪ **getConfirmations**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1912](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1912)* - -Returns array with owner addresses, which confirmed transaction. - -### callAsync - -▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1920](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1920)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transactionId` | `BigNumber` | - | Transaction ID. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Returns array of owner addresses. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1975](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1975)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string[]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1968](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1968)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string[]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1962](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1962)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | - -**Returns:** *string* - -___ - -### getOwners - -### ▪ **getOwners**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1749](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1749)* - -Returns list of owners. - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1756](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1756)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -List of owner addresses. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1804](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1804)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string[]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1797](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1797)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string[]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1792](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1792)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### getTransactionCount - -### ▪ **getTransactionCount**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:872](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L872)* - -Returns total number of transactions after filers are applied. - -### callAsync - -▸ **callAsync**(`pending`: boolean, `executed`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:881](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L881)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`pending` | boolean | - | Include pending transactions. | -`executed` | boolean | - | Include executed transactions. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Total number of transactions after filters are applied. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L943)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:936](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L936)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`pending`: boolean, `executed`: boolean): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:926](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L926)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`pending` | boolean | Include pending transactions. | -`executed` | boolean | Include executed transactions. | - -**Returns:** *string* - -___ - -### getTransactionIds - -### ▪ **getTransactionIds**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1815](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1815)* - -Returns list of transaction IDs in defined range. - -### callAsync - -▸ **callAsync**(`from`: `BigNumber`, `to`: `BigNumber`, `pending`: boolean, `executed`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1826](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1826)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`from` | `BigNumber` | - | Index start position of transaction array. | -`to` | `BigNumber` | - | Index end position of transaction array. | -`pending` | boolean | - | Include pending transactions. | -`executed` | boolean | - | Include executed transactions. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Returns array of transaction IDs. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`[]* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1901](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1901)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`[]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`[]* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1894](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1894)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`[]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`from`: `BigNumber`, `to`: `BigNumber`, `pending`: boolean, `executed`: boolean): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1882](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1882)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`from` | `BigNumber` | Index start position of transaction array. | -`to` | `BigNumber` | Index end position of transaction array. | -`pending` | boolean | Include pending transactions. | -`executed` | boolean | Include executed transactions. | - -**Returns:** *string* - -___ - -### isAssetProxyRegistered - -### ▪ **isAssetProxyRegistered**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1530](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1530)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1536](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1536)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1592](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1592)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1585](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1585)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1577](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1577)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### isConfirmed - -### ▪ **isConfirmed**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1295](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1295)* - -Returns the confirmation status of a transaction. - -### callAsync - -▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1303](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1303)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transactionId` | `BigNumber` | - | Transaction ID. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Confirmation status. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1358](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1358)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1351)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1345)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | - -**Returns:** *string* - -___ - -### isOwner - -### ▪ **isOwner**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:496](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L496)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:502](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L502)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:556](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L556)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:549](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L549)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:543](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L543)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### owners - -### ▪ **owners**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L120)* - -### callAsync - -▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L126)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L180)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:173](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L173)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:167](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L167)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | `BigNumber` | - -**Returns:** *string* - -___ - -### registerAssetProxy - -### ▪ **registerAssetProxy**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:955](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L955)* - -Registers or deregisters an AssetProxy to be able to execute -`removeAuthorizedAddressAtIndex` without a timelock. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`assetProxyContract`: string, `isRegistered`: boolean, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1001](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1001)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxyContract` | string | Address of AssetProxy contract. | -`isRegistered` | boolean | Status of approval for AssetProxy contract. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`assetProxyContract`: string, `isRegistered`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1069](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1069)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`assetProxyContract` | string | - | Address of AssetProxy contract. | -`isRegistered` | boolean | - | Status of approval for AssetProxy contract. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`assetProxyContract`: string, `isRegistered`: boolean, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1035](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1035)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxyContract` | string | Address of AssetProxy contract. | -`isRegistered` | boolean | Status of approval for AssetProxy contract. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1134](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1134)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1127](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1127)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`assetProxyContract`: string, `isRegistered`: boolean): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1117)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxyContract` | string | Address of AssetProxy contract. | -`isRegistered` | boolean | Status of approval for AssetProxy contract. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`assetProxyContract`: string, `isRegistered`: boolean, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:964](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L964)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxyContract` | string | Address of AssetProxy contract. | -`isRegistered` | boolean | Status of approval for AssetProxy contract. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### removeOwner - -### ▪ **removeOwner**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L191)* - -Allows to remove an owner. Transaction has to be sent by wallet. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`owner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L227)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of owner. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:279](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L279)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`owner` | string | - | Address of owner. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`owner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L254)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of owner. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:332](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L332)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:325](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L325)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`owner`: string): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L317)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of owner. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`owner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:199](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L199)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of owner. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### replaceOwner - -### ▪ **replaceOwner**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2760)* - -Allows to replace an owner with a new owner. Transaction has to be sent by wallet. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`owner`: string, `newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2806](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2806)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of owner to be replaced. | -`newOwner` | string | Address of new owner. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`owner`: string, `newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2870](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2870)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`owner` | string | - | Address of owner to be replaced. | -`newOwner` | string | - | Address of new owner. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`owner`: string, `newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2840](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2840)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of owner to be replaced. | -`newOwner` | string | Address of new owner. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2935](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2935)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2928](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2928)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`owner`: string, `newOwner`: string): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2918](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2918)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of owner to be replaced. | -`newOwner` | string | Address of new owner. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`owner`: string, `newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2769](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2769)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`owner` | string | Address of owner to be replaced. | -`newOwner` | string | Address of new owner. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### required - -### ▪ **required**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2695](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2695)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2701](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2701)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2749](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2749)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2742](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2742)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2737](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2737)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### revokeConfirmation - -### ▪ **revokeConfirmation**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L343)* - -Allows an owner to revoke a confirmation for a transaction. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:379](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L379)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`transactionId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:431](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L431)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transactionId` | `BigNumber` | - | Transaction ID. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:406](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L406)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:488](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L488)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:481](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L481)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transactionId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:473](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L473)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`transactionId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L351)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transactionId` | `BigNumber` | Transaction ID. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### secondsTimeLocked - -### ▪ **secondsTimeLocked**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:807](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L807)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:813](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L813)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:861](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L861)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:854](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L854)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:849](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L849)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### submitTransaction - -### ▪ **submitTransaction**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2358](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2358)* - -Allows an owner to submit and confirm a transaction. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`destination`: string, `value`: `BigNumber`, `data`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2409](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2409)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`destination` | string | Transaction target address. | -`value` | `BigNumber` | Transaction ether value. | -`data` | string | Transaction data payload. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`destination`: string, `value`: `BigNumber`, `data`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2486](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2486)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`destination` | string | - | Transaction target address. | -`value` | `BigNumber` | - | Transaction ether value. | -`data` | string | - | Transaction data payload. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Returns transaction ID. - -### estimateGasAsync - -▸ **estimateGasAsync**(`destination`: string, `value`: `BigNumber`, `data`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2447)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`destination` | string | Transaction target address. | -`value` | `BigNumber` | Transaction ether value. | -`data` | string | Transaction data payload. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2557](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2557)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2550](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2550)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`destination`: string, `value`: `BigNumber`, `data`: string): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2538](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2538)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`destination` | string | Transaction target address. | -`value` | `BigNumber` | Transaction ether value. | -`data` | string | Transaction data payload. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`destination`: string, `value`: `BigNumber`, `data`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2368](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2368)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`destination` | string | Transaction target address. | -`value` | `BigNumber` | Transaction ether value. | -`data` | string | Transaction data payload. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transactionCount - -### ▪ **transactionCount**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1983](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1983)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1989](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1989)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2037](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2037)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2030](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2030)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:2025](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L2025)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### transactions - -### ▪ **transactions**: *object* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1676](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1676)* - -### callAsync - -▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[string, BigNumber, string, boolean]>`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1682](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1682)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise<[string, BigNumber, string, boolean]>`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *[string, `BigNumber`, string, boolean]* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1736](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1736)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *[string, `BigNumber`, string, boolean]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *[string, `BigNumber`, string, boolean]* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1729](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1729)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *[string, `BigNumber`, string, boolean]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:1723](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L1723)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | `BigNumber` | - -**Returns:** *string* - -
- -> # Class: CoordinatorContract - -## Hierarchy - -* `BaseContract` - - * **CoordinatorContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [EIP712_COORDINATOR_DOMAIN_HASH](#eip712_coordinator_domain_hash) -* [EIP712_EXCHANGE_DOMAIN_HASH](#eip712_exchange_domain_hash) -* [assertValidCoordinatorApprovals](#assertvalidcoordinatorapprovals) -* [decodeOrdersFromFillData](#decodeordersfromfilldata) -* [executeTransaction](#executetransaction) -* [getCoordinatorApprovalHash](#getcoordinatorapprovalhash) -* [getSignerAddress](#getsigneraddress) -* [getTransactionHash](#gettransactionhash) - -## Constructors - -### constructor - -\+ **new CoordinatorContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[CoordinatorContract](#class-coordinatorcontract)* - -*Overrides void* - -*Defined in [generated-wrappers/coordinator.ts:1363](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L1363)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[CoordinatorContract](#class-coordinatorcontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/coordinator.ts:1069](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L1069)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:1022](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L1022)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_exchange` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:989](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L989)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_exchange` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### EIP712_COORDINATOR_DOMAIN_HASH - -### ▪ **EIP712_COORDINATOR_DOMAIN_HASH**: *object* - -*Defined in [generated-wrappers/coordinator.ts:927](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L927)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:933](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L933)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:981](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L981)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:974](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L974)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/coordinator.ts:969](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L969)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### EIP712_EXCHANGE_DOMAIN_HASH - -### ▪ **EIP712_EXCHANGE_DOMAIN_HASH**: *object* - -*Defined in [generated-wrappers/coordinator.ts:571](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L571)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:577](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L577)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:625](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L625)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:618](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L618)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/coordinator.ts:613](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L613)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### assertValidCoordinatorApprovals - -### ▪ **assertValidCoordinatorApprovals**: *object* - -*Defined in [generated-wrappers/coordinator.ts:637](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L637)* - -Validates that the 0x transaction has been approved by all of the feeRecipients -that correspond to each order in the transaction's Exchange calldata. - -### callAsync - -▸ **callAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:652](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L652)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transaction` | object | - | 0x transaction containing salt, signerAddress, and data. | -`txOrigin` | string | - | Required signer of Ethereum transaction calling this function. | -`transactionSignature` | string | - | Proof that the transaction has been signed by the signer. | -`approvalExpirationTimeSeconds` | `BigNumber`[] | - | Array of expiration times in seconds for which each corresponding approval signature expires. | -`approvalSignatures` | string[] | - | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/coordinator.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L753)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/coordinator.ts:744](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L744)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[]): *string* - -*Defined in [generated-wrappers/coordinator.ts:720](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L720)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transaction` | object | 0x transaction containing salt, signerAddress, and data. | -`txOrigin` | string | Required signer of Ethereum transaction calling this function. | -`transactionSignature` | string | Proof that the transaction has been signed by the signer. | -`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | -`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | - -**Returns:** *string* - -___ - -### decodeOrdersFromFillData - -### ▪ **decodeOrdersFromFillData**: *object* - -*Defined in [generated-wrappers/coordinator.ts:766](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L766)* - -Decodes the orders from Exchange calldata representing any fill method. - -### callAsync - -▸ **callAsync**(`data`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise>`* - -*Defined in [generated-wrappers/coordinator.ts:774](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L774)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`data` | string | - | Exchange calldata representing a fill method. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise>`* - -The orders from the Exchange calldata. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`Array`* - -*Defined in [generated-wrappers/coordinator.ts:889](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L889)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`Array`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`Array`* - -*Defined in [generated-wrappers/coordinator.ts:852](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L852)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`Array`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`data`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:846](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L846)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`data` | string | Exchange calldata representing a fill method. | - -**Returns:** *string* - -___ - -### executeTransaction - -### ▪ **executeTransaction**: *object* - -*Defined in [generated-wrappers/coordinator.ts:281](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L281)* - -Executes a 0x transaction that has been signed by the feeRecipients that correspond to each order in the transaction's Exchange calldata. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/coordinator.ts:359](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L359)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transaction` | object | 0x transaction containing salt, signerAddress, and data. | -`txOrigin` | string | Required signer of Ethereum transaction calling this function. | -`transactionSignature` | string | Proof that the transaction has been signed by the signer. | -`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | -`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:460](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L460)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transaction` | object | - | 0x transaction containing salt, signerAddress, and data. | -`txOrigin` | string | - | Required signer of Ethereum transaction calling this function. | -`transactionSignature` | string | - | Proof that the transaction has been signed by the signer. | -`approvalExpirationTimeSeconds` | `BigNumber`[] | - | Array of expiration times in seconds for which each corresponding approval signature expires. | -`approvalSignatures` | string[] | - | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:408](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L408)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transaction` | object | 0x transaction containing salt, signerAddress, and data. | -`txOrigin` | string | Required signer of Ethereum transaction calling this function. | -`transactionSignature` | string | Proof that the transaction has been signed by the signer. | -`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | -`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/coordinator.ts:561](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L561)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/coordinator.ts:552](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L552)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[]): *string* - -*Defined in [generated-wrappers/coordinator.ts:528](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L528)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transaction` | object | 0x transaction containing salt, signerAddress, and data. | -`txOrigin` | string | Required signer of Ethereum transaction calling this function. | -`transactionSignature` | string | Proof that the transaction has been signed by the signer. | -`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | -`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`transaction`: object, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:297](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L297)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transaction` | object | 0x transaction containing salt, signerAddress, and data. | -`txOrigin` | string | Required signer of Ethereum transaction calling this function. | -`transactionSignature` | string | Proof that the transaction has been signed by the signer. | -`approvalExpirationTimeSeconds` | `BigNumber`[] | Array of expiration times in seconds for which each corresponding approval signature expires. | -`approvalSignatures` | string[] | Array of signatures that correspond to the feeRecipients of each order in the transaction's Exchange calldata. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### getCoordinatorApprovalHash - -### ▪ **getCoordinatorApprovalHash**: *object* - -*Defined in [generated-wrappers/coordinator.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L191)* - -Calculated the EIP712 hash of the Coordinator approval mesasage using the domain separator of this contract. - -### callAsync - -▸ **callAsync**(`approval`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:200](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L200)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`approval` | object | - | Coordinator approval message containing the transaction hash, transaction signature, and expiration of the approval. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -EIP712 hash of the Coordinator approval message with the domain separator of this contract. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:270](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L270)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:263](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L263)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`approval`: object): *string* - -*Defined in [generated-wrappers/coordinator.ts:250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L250)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`approval` | object | Coordinator approval message containing the transaction hash, transaction signature, and expiration of the approval. | - -**Returns:** *string* - -___ - -### getSignerAddress - -### ▪ **getSignerAddress**: *object* - -*Defined in [generated-wrappers/coordinator.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L33)* - -Recovers the address of a signer given a hash and signature. - -### callAsync - -▸ **callAsync**(`hash`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L41)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`hash` | string | - | Any 32 byte hash. | -`signature` | string | - | Proof that the hash has been signed by signer. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:103](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L103)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L96)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`hash`: string, `signature`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:86](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L86)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`hash` | string | Any 32 byte hash. | -`signature` | string | Proof that the hash has been signed by signer. | - -**Returns:** *string* - -___ - -### getTransactionHash - -### ▪ **getTransactionHash**: *object* - -*Defined in [generated-wrappers/coordinator.ts:114](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L114)* - -Calculates the EIP712 hash of a 0x transaction using the domain separator of the Exchange contract. - -### callAsync - -▸ **callAsync**(`transaction`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/coordinator.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L122)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`transaction` | object | - | 0x transaction containing salt, signerAddress, and data. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -EIP712 hash of the transaction with the domain separator of this contract. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L180)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/coordinator.ts:173](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L173)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`transaction`: object): *string* - -*Defined in [generated-wrappers/coordinator.ts:165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator.ts#L165)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`transaction` | object | 0x transaction containing salt, signerAddress, and data. | - -**Returns:** *string* - -
- -> # Class: CoordinatorRegistryContract - -## Hierarchy - -* `BaseContract` - - * **CoordinatorRegistryContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [getCoordinatorEndpoint](#getcoordinatorendpoint) -* [setCoordinatorEndpoint](#setcoordinatorendpoint) - -## Constructors - -### constructor - -\+ **new CoordinatorRegistryContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[CoordinatorRegistryContract](#class-coordinatorregistrycontract)* - -*Overrides void* - -*Defined in [generated-wrappers/coordinator_registry.ts:486](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L486)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[CoordinatorRegistryContract](#class-coordinatorregistrycontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [CoordinatorRegistryEvents](#enumeration-coordinatorregistryevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/coordinator_registry.ts:470](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L470)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[CoordinatorRegistryEventArgs](#coordinatorregistryeventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [CoordinatorRegistryEvents](#enumeration-coordinatorregistryevents) | The CoordinatorRegistry contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [CoordinatorRegistryEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/coordinator_registry.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L428)* - -Subscribe to an event type emitted by the CoordinatorRegistry contract. - -**Type parameters:** - -▪ **ArgsType**: *[CoordinatorRegistryEventArgs](#coordinatorregistryeventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [CoordinatorRegistryEvents](#enumeration-coordinatorregistryevents) | - | The CoordinatorRegistry contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/coordinator_registry.ts:453](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L453)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/coordinator_registry.ts:459](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L459)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/coordinator_registry.ts:356](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L356)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/coordinator_registry.ts:314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L314)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/coordinator_registry.ts:283](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L283)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### getCoordinatorEndpoint - -### ▪ **getCoordinatorEndpoint**: *object* - -*Defined in [generated-wrappers/coordinator_registry.ts:208](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L208)* - -Gets the endpoint for a Coordinator. - -### callAsync - -▸ **callAsync**(`coordinatorOperator`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/coordinator_registry.ts:215](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L215)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`coordinatorOperator` | string | - | operator of the Coordinator endpoint. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/coordinator_registry.ts:274](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L274)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/coordinator_registry.ts:267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L267)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`coordinatorOperator`: string): *string* - -*Defined in [generated-wrappers/coordinator_registry.ts:259](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L259)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`coordinatorOperator` | string | operator of the Coordinator endpoint. | - -**Returns:** *string* - -___ - -### setCoordinatorEndpoint - -### ▪ **setCoordinatorEndpoint**: *object* - -*Defined in [generated-wrappers/coordinator_registry.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L52)* - -Called by a Coordinator operator to set the endpoint of their Coordinator. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`coordinatorEndpoint`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/coordinator_registry.ts:88](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L88)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`coordinatorEndpoint` | string | endpoint of the Coordinator. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`coordinatorEndpoint`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/coordinator_registry.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L140)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`coordinatorEndpoint` | string | - | endpoint of the Coordinator. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`coordinatorEndpoint`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/coordinator_registry.ts:115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L115)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`coordinatorEndpoint` | string | endpoint of the Coordinator. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/coordinator_registry.ts:197](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L197)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/coordinator_registry.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L190)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`coordinatorEndpoint`: string): *string* - -*Defined in [generated-wrappers/coordinator_registry.ts:182](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L182)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`coordinatorEndpoint` | string | endpoint of the Coordinator. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`coordinatorEndpoint`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/coordinator_registry.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L60)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`coordinatorEndpoint` | string | endpoint of the Coordinator. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: DummyERC20TokenContract - -## Hierarchy - -* `BaseContract` - - * **DummyERC20TokenContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [MAX_MINT_AMOUNT](#max_mint_amount) -* [allowance](#allowance) -* [approve](#approve) -* [balanceOf](#balanceof) -* [decimals](#decimals) -* [mint](#mint) -* [name](#name) -* [owner](#owner) -* [setBalance](#setbalance) -* [symbol](#symbol) -* [totalSupply](#totalsupply) -* [transfer](#transfer) -* [transferFrom](#transferfrom) -* [transferOwnership](#transferownership) - -## Constructors - -### constructor - -\+ **new DummyERC20TokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[DummyERC20TokenContract](#class-dummyerc20tokencontract)* - -*Overrides void* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:2117](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2117)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[DummyERC20TokenContract](#class-dummyerc20tokencontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [DummyERC20TokenEvents](#enumeration-dummyerc20tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:2101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2101)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[DummyERC20TokenEventArgs](#dummyerc20tokeneventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [DummyERC20TokenEvents](#enumeration-dummyerc20tokenevents) | The DummyERC20Token contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [DummyERC20TokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:2059](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2059)* - -Subscribe to an event type emitted by the DummyERC20Token contract. - -**Type parameters:** - -▪ **ArgsType**: *[DummyERC20TokenEventArgs](#dummyerc20tokeneventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [DummyERC20TokenEvents](#enumeration-dummyerc20tokenevents) | - | The DummyERC20Token contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:2084](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2084)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:2090](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L2090)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1730](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1730)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_name`: string, `_symbol`: string, `_decimals`: `BigNumber`, `_totalSupply`: `BigNumber`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1680](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1680)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_name` | string | -`_symbol` | string | -`_decimals` | `BigNumber` | -`_totalSupply` | `BigNumber` | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_name`: string, `_symbol`: string, `_decimals`: `BigNumber`, `_totalSupply`: `BigNumber`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1641](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1641)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_name` | string | -`_symbol` | string | -`_decimals` | `BigNumber` | -`_totalSupply` | `BigNumber` | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### MAX_MINT_AMOUNT - -### ▪ **MAX_MINT_AMOUNT**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1578](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1578)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1584](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1584)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1632](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1632)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1625](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1625)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1620](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1620)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### allowance - -### ▪ **allowance**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1166](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1166)* - -### callAsync - -▸ **callAsync**(`_owner`: string, `_spender`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1175](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1175)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_owner` | string | - | The address of the account owning tokens | -`_spender` | string | - | The address of the account able to transfer the tokens | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amount of remaining tokens allowed to spent - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1240](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1240)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1233)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string, `_spender`: string): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1223)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | The address of the account owning tokens | -`_spender` | string | The address of the account able to transfer the tokens | - -**Returns:** *string* - -___ - -### approve - -### ▪ **approve**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L122)* - -`msg.sender` approves `_spender` to spend `_value` tokens - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:168](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L168)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | The amount of wei to be approved for transfer | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_spender`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L233)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_spender` | string | - | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | - | The amount of wei to be approved for transfer | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Always true if the call has enough gas to complete execution - -### estimateGasAsync - -▸ **estimateGasAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:198](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L198)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | The amount of wei to be approved for transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:298](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L298)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L291)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_spender`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:281](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L281)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | The amount of wei to be approved for transfer | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:131](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L131)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | The amount of wei to be approved for transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### balanceOf - -### ▪ **balanceOf**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:647](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L647)* - -Query the balance of owner - -### callAsync - -▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:655](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L655)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_owner` | string | - | The address from which the balance will be retrieved | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Balance of owner - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:710](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L710)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:703](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L703)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:697](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L697)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | The address from which the balance will be retrieved | - -**Returns:** *string* - -___ - -### decimals - -### ▪ **decimals**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:582](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L582)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:588](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L588)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:636](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L636)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:629](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L629)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:624](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L624)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### mint - -### ▪ **mint**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:845](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L845)* - -Mints new tokens for sender - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:881](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L881)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_value` | `BigNumber` | Amount of tokens to mint | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:933](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L933)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_value` | `BigNumber` | - | Amount of tokens to mint | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:908](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L908)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_value` | `BigNumber` | Amount of tokens to mint | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:984](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L984)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:977](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L977)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:971](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L971)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_value` | `BigNumber` | Amount of tokens to mint | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:853](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L853)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_value` | `BigNumber` | Amount of tokens to mint | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### name - -### ▪ **name**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L57)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L63)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L111)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L104)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L99)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### owner - -### ▪ **owner**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:718](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L718)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:724](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L724)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:772](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L772)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:765](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L765)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L760)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### setBalance - -### ▪ **setBalance**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1251](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1251)* - -Sets the balance of target address - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_target`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1297](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1297)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_target` | string | Address or which balance will be updated | -`_value` | `BigNumber` | New balance of target address | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_target`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1361](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1361)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_target` | string | - | Address or which balance will be updated | -`_value` | `BigNumber` | - | New balance of target address | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_target`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1327](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1327)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_target` | string | Address or which balance will be updated | -`_value` | `BigNumber` | New balance of target address | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1426)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1419](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1419)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_target`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1409](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1409)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_target` | string | Address or which balance will be updated | -`_value` | `BigNumber` | New balance of target address | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_target`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1260](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1260)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_target` | string | Address or which balance will be updated | -`_value` | `BigNumber` | New balance of target address | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### symbol - -### ▪ **symbol**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:780](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L780)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:786](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L786)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:834](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L834)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:827](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L827)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:822](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L822)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### totalSupply - -### ▪ **totalSupply**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:309](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L309)* - -Query total supply of token - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:316](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L316)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Total supply of token - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:364](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L364)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L357)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:352](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L352)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### transfer - -### ▪ **transfer**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:995](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L995)* - -send `value` token to `to` from `msg.sender` - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1038](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1038)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1096](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1096)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_to` | string | - | The address of the recipient | -`_value` | `BigNumber` | - | The amount of token to be transferred | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -True if transfer was successful - -### estimateGasAsync - -▸ **estimateGasAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1068](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1068)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1158)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1151](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1151)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_to`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1141)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1004](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1004)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferFrom - -### ▪ **transferFrom**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:375](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L375)* - -ERC20 transferFrom, modified such that an allowance of MAX_UINT represents an unlimited allowance. See https://github.com/ethereum/EIPs/issues/717 - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L426)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | Address to transfer from. | -`_to` | string | Address to transfer to. | -`_value` | `BigNumber` | Amount to transfer. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:503](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L503)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_from` | string | - | Address to transfer from. | -`_to` | string | - | Address to transfer to. | -`_value` | `BigNumber` | - | Amount to transfer. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Success of transfer. - -### estimateGasAsync - -▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:464](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L464)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | Address to transfer from. | -`_to` | string | Address to transfer to. | -`_value` | `BigNumber` | Amount to transfer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:574](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L574)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:567](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L567)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:555](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L555)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | Address to transfer from. | -`_to` | string | Address to transfer to. | -`_value` | `BigNumber` | Amount to transfer. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L385)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | Address to transfer from. | -`_to` | string | Address to transfer to. | -`_value` | `BigNumber` | Amount to transfer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferOwnership - -### ▪ **transferOwnership**: *object* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1434](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1434)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1468](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1468)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1518](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1518)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`newOwner` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1494](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1494)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1570](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1570)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1563](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1563)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1555](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1555)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`newOwner` | string | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:1441](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L1441)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: DummyERC721TokenContract - -## Hierarchy - -* `BaseContract` - - * **DummyERC721TokenContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [approve](#approve) -* [balanceOf](#balanceof) -* [burn](#burn) -* [getApproved](#getapproved) -* [isApprovedForAll](#isapprovedforall) -* [mint](#mint) -* [name](#name) -* [owner](#owner) -* [ownerOf](#ownerof) -* [safeTransferFrom1](#safetransferfrom1) -* [safeTransferFrom2](#safetransferfrom2) -* [setApprovalForAll](#setapprovalforall) -* [symbol](#symbol) -* [transferFrom](#transferfrom) -* [transferOwnership](#transferownership) - -## Constructors - -### constructor - -\+ **new DummyERC721TokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[DummyERC721TokenContract](#class-dummyerc721tokencontract)* - -*Overrides void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2617](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2617)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[DummyERC721TokenContract](#class-dummyerc721tokencontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [DummyERC721TokenEvents](#enumeration-dummyerc721tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2601](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2601)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[DummyERC721TokenEventArgs](#dummyerc721tokeneventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [DummyERC721TokenEvents](#enumeration-dummyerc721tokenevents) | The DummyERC721Token contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [DummyERC721TokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2559](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2559)* - -Subscribe to an event type emitted by the DummyERC721Token contract. - -**Type parameters:** - -▪ **ArgsType**: *[DummyERC721TokenEventArgs](#dummyerc721tokeneventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [DummyERC721TokenEvents](#enumeration-dummyerc721tokenevents) | - | The DummyERC721Token contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2584](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2584)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2590](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2590)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2182](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2182)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_name`: string, `_symbol`: string): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2134](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2134)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_name` | string | -`_symbol` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_name`: string, `_symbol`: string): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2099](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2099)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_name` | string | -`_symbol` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### approve - -### ▪ **approve**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:208](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L208)* - -The zero address indicates there is no approved address. -Throws unless `msg.sender` is the current NFT owner, or an authorized -operator of the current owner. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L254)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_approved` | string | The new approved NFT controller | -`_tokenId` | `BigNumber` | The NFT to approve | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:318](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L318)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_approved` | string | - | The new approved NFT controller | -`_tokenId` | `BigNumber` | - | The NFT to approve | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:284](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L284)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_approved` | string | The new approved NFT controller | -`_tokenId` | `BigNumber` | The NFT to approve | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L383)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:376](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L376)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_approved`: string, `_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:366](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L366)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_approved` | string | The new approved NFT controller | -`_tokenId` | `BigNumber` | The NFT to approve | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:217](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L217)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_approved` | string | The new approved NFT controller | -`_tokenId` | `BigNumber` | The NFT to approve | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### balanceOf - -### ▪ **balanceOf**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1070](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1070)* - -NFTs assigned to the zero address are considered invalid, and this -function throws for queries about the zero address. - -### callAsync - -▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1078](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1078)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_owner` | string | - | An address for whom to query the balance | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -The number of NFTs owned by `_owner`, possibly zero - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1133)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1126)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1120)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | An address for whom to query the balance | - -**Returns:** *string* - -___ - -### burn - -### ▪ **burn**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1269](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1269)* - -Function to burn a token -Reverts if the given token ID doesn't exist or not called by contract owner - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_owner`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1312](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1312)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | Owner of token with given token ID | -`_tokenId` | `BigNumber` | ID of the token to be burned by the msg.sender | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_owner`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1373](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1373)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_owner` | string | - | Owner of token with given token ID | -`_tokenId` | `BigNumber` | - | ID of the token to be burned by the msg.sender | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_owner`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1342](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1342)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | Owner of token with given token ID | -`_tokenId` | `BigNumber` | ID of the token to be burned by the msg.sender | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1435](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1435)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1428)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string, `_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1418](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1418)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | Owner of token with given token ID | -`_tokenId` | `BigNumber` | ID of the token to be burned by the msg.sender | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_owner`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1278](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1278)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | Owner of token with given token ID | -`_tokenId` | `BigNumber` | ID of the token to be burned by the msg.sender | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### getApproved - -### ▪ **getApproved**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:132](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L132)* - -Throws if `_tokenId` is not a valid NFT. - -### callAsync - -▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L140)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_tokenId` | `BigNumber` | - | The NFT to find the approved address for | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -The approved address for this NFT, or the zero address if there is none - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:195](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L195)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:188](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L188)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:182](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L182)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_tokenId` | `BigNumber` | The NFT to find the approved address for | - -**Returns:** *string* - -___ - -### isApprovedForAll - -### ▪ **isApprovedForAll**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1872](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1872)* - -### callAsync - -▸ **callAsync**(`_owner`: string, `_operator`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1881](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1881)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_owner` | string | - | The address that owns the NFTs | -`_operator` | string | - | The address that acts on behalf of the owner | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -True if `_operator` is an approved operator for `_owner`, false otherwise - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1946](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1946)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1939](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1939)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string, `_operator`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1929](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1929)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | The address that owns the NFTs | -`_operator` | string | The address that acts on behalf of the owner | - -**Returns:** *string* - -___ - -### mint - -### ▪ **mint**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:607](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L607)* - -Function to mint a new token -Reverts if the given token ID already exists - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:650](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L650)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | Address of the beneficiary that will own the minted token | -`_tokenId` | `BigNumber` | ID of the token to be minted by the msg.sender | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:711](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L711)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_to` | string | - | Address of the beneficiary that will own the minted token | -`_tokenId` | `BigNumber` | - | ID of the token to be minted by the msg.sender | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:680](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L680)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | Address of the beneficiary that will own the minted token | -`_tokenId` | `BigNumber` | ID of the token to be minted by the msg.sender | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:773](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L773)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:766](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L766)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_to`: string, `_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:756](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L756)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | Address of the beneficiary that will own the minted token | -`_tokenId` | `BigNumber` | ID of the token to be minted by the msg.sender | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:616](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L616)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | Address of the beneficiary that will own the minted token | -`_tokenId` | `BigNumber` | ID of the token to be minted by the msg.sender | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### name - -### ▪ **name**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L67)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L73)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L121)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:114](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L114)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:109](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L109)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### owner - -### ▪ **owner**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1141)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1147](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1147)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1195](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1195)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1188](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1188)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1183](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1183)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### ownerOf - -### ▪ **ownerOf**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:995](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L995)* - -NFTs assigned to zero address are considered invalid, and queries -about them do throw. - -### callAsync - -▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1003](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1003)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_tokenId` | `BigNumber` | - | The identifier for an NFT | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -The address of the owner of the NFT - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1058](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1058)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1051](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1051)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1045](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1045)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_tokenId` | `BigNumber` | The identifier for an NFT | - -**Returns:** *string* - -___ - -### safeTransferFrom1 - -### ▪ **safeTransferFrom1**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:785](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L785)* - -This works identically to the other function with an extra data parameter, -except this function just sets data to "". - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:836](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L836)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:912](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L912)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_from` | string | - | The current owner of the NFT | -`_to` | string | - | The new owner | -`_tokenId` | `BigNumber` | - | The NFT to transfer | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:874](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L874)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:983](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L983)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:976](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L976)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:964](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L964)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:795](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L795)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### safeTransferFrom2 - -### ▪ **safeTransferFrom2**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1643)* - -Throws unless `msg.sender` is the current owner, an authorized -operator, or the approved address for this NFT. Throws if `_from` is -not the current owner. Throws if `_to` is the zero address. Throws if -`_tokenId` is not a valid NFT. When transfer is complete, this function -checks if `_to` is a smart contract (code size > 0). If so, it calls -`onERC721Received` on `_to` and throws if the return value is not -`bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1705](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1705)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`_data` | string | Additional data with no specified format, sent in call to `_to` | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1789](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1789)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_from` | string | - | The current owner of the NFT | -`_to` | string | - | The new owner | -`_tokenId` | `BigNumber` | - | The NFT to transfer | -`_data` | string | - | Additional data with no specified format, sent in call to `_to` | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1747](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1747)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`_data` | string | Additional data with no specified format, sent in call to `_to` | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1864](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1864)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1857](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1857)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1845](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1845)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`_data` | string | Additional data with no specified format, sent in call to `_to` | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1654](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1654)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`_data` | string | Additional data with no specified format, sent in call to `_to` | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### setApprovalForAll - -### ▪ **setApprovalForAll**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1447)* - -Emits the ApprovalForAll event. The contract MUST allow -multiple operators per owner. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1493](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1493)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_operator` | string | Address to add to the set of authorized operators | -`_approved` | boolean | True if the operator is approved, false to revoke approval | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_operator`: string, `_approved`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1561](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1561)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_operator` | string | - | Address to add to the set of authorized operators | -`_approved` | boolean | - | True if the operator is approved, false to revoke approval | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1527](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1527)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_operator` | string | Address to add to the set of authorized operators | -`_approved` | boolean | True if the operator is approved, false to revoke approval | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1626](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1626)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1619](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1619)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_operator`: string, `_approved`: boolean): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1609](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1609)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_operator` | string | Address to add to the set of authorized operators | -`_approved` | boolean | True if the operator is approved, false to revoke approval | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1456](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1456)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_operator` | string | Address to add to the set of authorized operators | -`_approved` | boolean | True if the operator is approved, false to revoke approval | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### symbol - -### ▪ **symbol**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1203)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1209](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1209)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1257)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1250)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1245)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### transferFrom - -### ▪ **transferFrom**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:397](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L397)* - -Throws unless `msg.sender` is the current owner, an authorized -operator, or the approved address for this NFT. Throws if `_from` is -not the current owner. Throws if `_to` is the zero address. Throws if -`_tokenId` is not a valid NFT. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:448](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L448)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:524](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L524)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_from` | string | - | The current owner of the NFT | -`_to` | string | - | The new owner | -`_tokenId` | `BigNumber` | - | The NFT to transfer | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:486](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L486)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:595](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L595)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:588](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L588)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:576](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L576)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:407](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L407)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferOwnership - -### ▪ **transferOwnership**: *object* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1954](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1954)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1988](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1988)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2038](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2038)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`newOwner` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2014](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2014)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2090](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2090)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2083](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2083)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:2075](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L2075)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`newOwner` | string | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:1961](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L1961)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: DutchAuctionContract - -## Hierarchy - -* `BaseContract` - - * **DutchAuctionContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [getAuctionDetails](#getauctiondetails) -* [matchOrders](#matchorders) - -## Constructors - -### constructor - -\+ **new DutchAuctionContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[DutchAuctionContract](#class-dutchauctioncontract)* - -*Overrides void* - -*Defined in [generated-wrappers/dutch_auction.ts:1151](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L1151)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[DutchAuctionContract](#class-dutchauctioncontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/dutch_auction.ts:859](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L859)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise`* - -*Defined in [generated-wrappers/dutch_auction.ts:812](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L812)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_exchange` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise`* - -*Defined in [generated-wrappers/dutch_auction.ts:779](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L779)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_exchange` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### getAuctionDetails - -### ▪ **getAuctionDetails**: *object* - -*Defined in [generated-wrappers/dutch_auction.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L33)* - -Calculates the Auction Details for the given order - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`order`: object, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dutch_auction.ts:87](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L87)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | The sell order | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`order`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dutch_auction.ts:170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L170)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`order` | object | - | The sell order | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -AuctionDetails - -### estimateGasAsync - -▸ **estimateGasAsync**(`order`: object, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dutch_auction.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L126)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | The sell order | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/dutch_auction.ts:289](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L289)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/dutch_auction.ts:264](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L264)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`order`: object): *string* - -*Defined in [generated-wrappers/dutch_auction.ts:243](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L243)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | The sell order | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`order`: object, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dutch_auction.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L41)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | The sell order | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### matchOrders - -### ▪ **matchOrders**: *object* - -*Defined in [generated-wrappers/dutch_auction.ts:332](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L332)* - -Matches the buy and sell orders at an amount given the following: the current block time, the auction -start time and the auction begin amount. The sell order is a an order at the lowest amount -at the end of the auction. Excess from the match is transferred to the seller. -Over time the price moves from beginAmount to endAmount given the current block.timestamp. -sellOrder.expiryTimeSeconds is the end time of the auction. -sellOrder.takerAssetAmount is the end amount of the auction (lowest possible amount). -sellOrder.makerAssetData is the ABI encoded Asset Proxy data with the following data appended -buyOrder.makerAssetData is the buyers bid on the auction, must meet the amount for the current block timestamp -(uint256 beginTimeSeconds, uint256 beginAmount). -This function reverts in the following scenarios: -* Auction has not started (auctionDetails.currentTimeSeconds < auctionDetails.beginTimeSeconds) -* Auction has expired (auctionDetails.endTimeSeconds < auctionDetails.currentTimeSeconds) -* Amount is invalid: Buy order amount is too low (buyOrder.makerAssetAmount < auctionDetails.currentAmount) -* Amount is invalid: Invalid begin amount (auctionDetails.beginAmount > auctionDetails.endAmount) -* Any failure in the 0x Match Orders - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/dutch_auction.ts:414](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L414)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`buyOrder` | object | The Buyer's order. This order is for the current expected price of the auction. | -`sellOrder` | object | The Seller's order. This order is for the lowest amount (at the end of the auction). | -`buySignature` | string | Proof that order was created by the buyer. | -`sellSignature` | string | Proof that order was created by the seller. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/dutch_auction.ts:549](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L549)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`buyOrder` | object | - | The Buyer's order. This order is for the current expected price of the auction. | -`sellOrder` | object | - | The Seller's order. This order is for the lowest amount (at the end of the auction). | -`buySignature` | string | - | Proof that order was created by the buyer. | -`sellSignature` | string | - | Proof that order was created by the seller. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -matchedFillResults amounts filled and fees paid by maker and taker of matched orders. - -### estimateGasAsync - -▸ **estimateGasAsync**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dutch_auction.ts:482](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L482)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`buyOrder` | object | The Buyer's order. This order is for the current expected price of the auction. | -`sellOrder` | object | The Seller's order. This order is for the lowest amount (at the end of the auction). | -`buySignature` | string | Proof that order was created by the buyer. | -`sellSignature` | string | Proof that order was created by the seller. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/dutch_auction.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L739)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/dutch_auction.ts:700](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L700)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string): *string* - -*Defined in [generated-wrappers/dutch_auction.ts:659](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L659)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`buyOrder` | object | The Buyer's order. This order is for the current expected price of the auction. | -`sellOrder` | object | The Seller's order. This order is for the lowest amount (at the end of the auction). | -`buySignature` | string | Proof that order was created by the buyer. | -`sellSignature` | string | Proof that order was created by the seller. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`buyOrder`: object, `sellOrder`: object, `buySignature`: string, `sellSignature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/dutch_auction.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dutch_auction.ts#L345)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`buyOrder` | object | The Buyer's order. This order is for the current expected price of the auction. | -`sellOrder` | object | The Seller's order. This order is for the lowest amount (at the end of the auction). | -`buySignature` | string | Proof that order was created by the buyer. | -`sellSignature` | string | Proof that order was created by the seller. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: ERC20ProxyContract - -## Hierarchy - -* `BaseContract` - - * **ERC20ProxyContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [addAuthorizedAddress](#addauthorizedaddress) -* [authorities](#authorities) -* [authorized](#authorized) -* [getAuthorizedAddresses](#getauthorizedaddresses) -* [getProxyId](#getproxyid) -* [owner](#owner) -* [removeAuthorizedAddress](#removeauthorizedaddress) -* [removeAuthorizedAddressAtIndex](#removeauthorizedaddressatindex) -* [transferOwnership](#transferownership) - -## Constructors - -### constructor - -\+ **new ERC20ProxyContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ERC20ProxyContract](#class-erc20proxycontract)* - -*Overrides void* - -*Defined in [generated-wrappers/erc20_proxy.ts:1350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1350)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[ERC20ProxyContract](#class-erc20proxycontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC20ProxyEvents](#enumeration-erc20proxyevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/erc20_proxy.ts:1334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1334)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[ERC20ProxyEventArgs](#erc20proxyeventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [ERC20ProxyEvents](#enumeration-erc20proxyevents) | The ERC20Proxy contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [ERC20ProxyEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:1292](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1292)* - -Subscribe to an event type emitted by the ERC20Proxy contract. - -**Type parameters:** - -▪ **ArgsType**: *[ERC20ProxyEventArgs](#erc20proxyeventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [ERC20ProxyEvents](#enumeration-erc20proxyevents) | - | The ERC20Proxy contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:1317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1317)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:1323](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1323)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/erc20_proxy.ts:1095](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1095)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:1053](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1053)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:1028](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1028)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### addAuthorizedAddress - -### ▪ **addAuthorizedAddress**: *object* - -*Defined in [generated-wrappers/erc20_proxy.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L60)* - -Authorizes an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc20_proxy.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L96)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:148](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L148)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to authorize. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L123)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:201](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L201)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L194)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:186](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L186)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L68)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### authorities - -### ▪ **authorities**: *object* - -*Defined in [generated-wrappers/erc20_proxy.ts:209](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L209)* - -### callAsync - -▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:215](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L215)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:269](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L269)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:262](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L262)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:256](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L256)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | `BigNumber` | - -**Returns:** *string* - -___ - -### authorized - -### ▪ **authorized**: *object* - -*Defined in [generated-wrappers/erc20_proxy.ts:747](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L747)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L753)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/erc20_proxy.ts:809](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L809)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/erc20_proxy.ts:802](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L802)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:794](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L794)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### getAuthorizedAddresses - -### ▪ **getAuthorizedAddresses**: *object* - -*Defined in [generated-wrappers/erc20_proxy.ts:820](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L820)* - -Gets all authorized addresses. - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:827](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L827)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Array of authorized addresses. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* - -*Defined in [generated-wrappers/erc20_proxy.ts:875](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L875)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string[]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* - -*Defined in [generated-wrappers/erc20_proxy.ts:868](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L868)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string[]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:863](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L863)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### getProxyId - -### ▪ **getProxyId**: *object* - -*Defined in [generated-wrappers/erc20_proxy.ts:684](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L684)* - -Gets the proxy id associated with the proxy address. - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:691](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L691)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Proxy id. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L739)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:732](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L732)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L727)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### owner - -### ▪ **owner**: *object* - -*Defined in [generated-wrappers/erc20_proxy.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L429)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:435](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L435)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:483](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L483)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:476](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L476)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:471](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L471)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### removeAuthorizedAddress - -### ▪ **removeAuthorizedAddress**: *object* - -*Defined in [generated-wrappers/erc20_proxy.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L280)* - -Removes authorizion of an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc20_proxy.ts:316](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L316)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:368](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L368)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to remove authorization from. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L343)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:421](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L421)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:414](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L414)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:406](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L406)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:288](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L288)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### removeAuthorizedAddressAtIndex - -### ▪ **removeAuthorizedAddressAtIndex**: *object* - -*Defined in [generated-wrappers/erc20_proxy.ts:494](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L494)* - -Removes authorizion of an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc20_proxy.ts:540](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L540)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `index`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:608](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L608)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to remove authorization from. | -`index` | `BigNumber` | - | Index of target in authorities array. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:574](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L574)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L673)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:666](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L666)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string, `index`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:656](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L656)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:503](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L503)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferOwnership - -### ▪ **transferOwnership**: *object* - -*Defined in [generated-wrappers/erc20_proxy.ts:883](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L883)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc20_proxy.ts:917](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L917)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:967](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L967)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`newOwner` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L943)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:1019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1019)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc20_proxy.ts:1012](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1012)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:1004](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L1004)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`newOwner` | string | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_proxy.ts:890](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L890)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: ERC20TokenContract - -## Hierarchy - -* `BaseContract` - - * **ERC20TokenContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [allowance](#allowance) -* [approve](#approve) -* [balanceOf](#balanceof) -* [totalSupply](#totalsupply) -* [transfer](#transfer) -* [transferFrom](#transferfrom) - -## Constructors - -### constructor - -\+ **new ERC20TokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ERC20TokenContract](#class-erc20tokencontract)* - -*Overrides void* - -*Defined in [generated-wrappers/erc20_token.ts:1165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1165)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[ERC20TokenContract](#class-erc20tokencontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC20TokenEvents](#enumeration-erc20tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/erc20_token.ts:1149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1149)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[ERC20TokenEventArgs](#erc20tokeneventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [ERC20TokenEvents](#enumeration-erc20tokenevents) | The ERC20Token contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [ERC20TokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/erc20_token.ts:1107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1107)* - -Subscribe to an event type emitted by the ERC20Token contract. - -**Type parameters:** - -▪ **ArgsType**: *[ERC20TokenEventArgs](#erc20tokeneventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [ERC20TokenEvents](#enumeration-erc20tokenevents) | - | The ERC20Token contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/erc20_token.ts:1132](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1132)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/erc20_token.ts:1138](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L1138)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/erc20_token.ts:918](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L918)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:876](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L876)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:851](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L851)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### allowance - -### ▪ **allowance**: *object* - -*Defined in [generated-wrappers/erc20_token.ts:768](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L768)* - -### callAsync - -▸ **callAsync**(`_owner`: string, `_spender`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:777](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L777)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_owner` | string | - | The address of the account owning tokens | -`_spender` | string | - | The address of the account able to transfer the tokens | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amount of remaining tokens allowed to spent - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/erc20_token.ts:842](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L842)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/erc20_token.ts:835](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L835)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string, `_spender`: string): *string* - -*Defined in [generated-wrappers/erc20_token.ts:825](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L825)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | The address of the account owning tokens | -`_spender` | string | The address of the account able to transfer the tokens | - -**Returns:** *string* - -___ - -### approve - -### ▪ **approve**: *object* - -*Defined in [generated-wrappers/erc20_token.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L60)* - -`msg.sender` approves `_spender` to spend `_value` tokens - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc20_token.ts:106](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L106)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | The amount of wei to be approved for transfer | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_spender`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:171](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L171)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_spender` | string | - | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | - | The amount of wei to be approved for transfer | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Always true if the call has enough gas to complete execution - -### estimateGasAsync - -▸ **estimateGasAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L136)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | The amount of wei to be approved for transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/erc20_token.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L236)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/erc20_token.ts:229](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L229)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_spender`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc20_token.ts:219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L219)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | The amount of wei to be approved for transfer | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L69)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | The address of the account able to transfer the tokens | -`_value` | `BigNumber` | The amount of wei to be approved for transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### balanceOf - -### ▪ **balanceOf**: *object* - -*Defined in [generated-wrappers/erc20_token.ts:523](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L523)* - -Query the balance of owner - -### callAsync - -▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:531](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L531)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_owner` | string | - | The address from which the balance will be retrieved | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Balance of owner - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/erc20_token.ts:586](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L586)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/erc20_token.ts:579](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L579)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string): *string* - -*Defined in [generated-wrappers/erc20_token.ts:573](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L573)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | The address from which the balance will be retrieved | - -**Returns:** *string* - -___ - -### totalSupply - -### ▪ **totalSupply**: *object* - -*Defined in [generated-wrappers/erc20_token.ts:247](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L247)* - -Query total supply of token - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L254)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Total supply of token - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/erc20_token.ts:302](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L302)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/erc20_token.ts:295](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L295)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/erc20_token.ts:290](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L290)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### transfer - -### ▪ **transfer**: *object* - -*Defined in [generated-wrappers/erc20_token.ts:597](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L597)* - -send `value` token to `to` from `msg.sender` - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc20_token.ts:640](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L640)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:698](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L698)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_to` | string | - | The address of the recipient | -`_value` | `BigNumber` | - | The amount of token to be transferred | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -True if transfer was successful - -### estimateGasAsync - -▸ **estimateGasAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:670](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L670)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/erc20_token.ts:760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L760)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/erc20_token.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L753)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_to`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc20_token.ts:743](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L743)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:606](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L606)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferFrom - -### ▪ **transferFrom**: *object* - -*Defined in [generated-wrappers/erc20_token.ts:313](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L313)* - -send `value` token to `to` from `from` on the condition it is approved by `from` - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc20_token.ts:364](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L364)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The address of the sender | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:441](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L441)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_from` | string | - | The address of the sender | -`_to` | string | - | The address of the recipient | -`_value` | `BigNumber` | - | The amount of token to be transferred | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -True if transfer was successful - -### estimateGasAsync - -▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:402](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L402)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The address of the sender | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/erc20_token.ts:512](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L512)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/erc20_token.ts:505](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L505)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc20_token.ts:493](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L493)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The address of the sender | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc20_token.ts:323](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L323)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The address of the sender | -`_to` | string | The address of the recipient | -`_value` | `BigNumber` | The amount of token to be transferred | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: ERC721ProxyContract - -## Hierarchy - -* `BaseContract` - - * **ERC721ProxyContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [addAuthorizedAddress](#addauthorizedaddress) -* [authorities](#authorities) -* [authorized](#authorized) -* [getAuthorizedAddresses](#getauthorizedaddresses) -* [getProxyId](#getproxyid) -* [owner](#owner) -* [removeAuthorizedAddress](#removeauthorizedaddress) -* [removeAuthorizedAddressAtIndex](#removeauthorizedaddressatindex) -* [transferOwnership](#transferownership) - -## Constructors - -### constructor - -\+ **new ERC721ProxyContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ERC721ProxyContract](#class-erc721proxycontract)* - -*Overrides void* - -*Defined in [generated-wrappers/erc721_proxy.ts:1350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1350)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[ERC721ProxyContract](#class-erc721proxycontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC721ProxyEvents](#enumeration-erc721proxyevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/erc721_proxy.ts:1334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1334)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[ERC721ProxyEventArgs](#erc721proxyeventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [ERC721ProxyEvents](#enumeration-erc721proxyevents) | The ERC721Proxy contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [ERC721ProxyEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:1292](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1292)* - -Subscribe to an event type emitted by the ERC721Proxy contract. - -**Type parameters:** - -▪ **ArgsType**: *[ERC721ProxyEventArgs](#erc721proxyeventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [ERC721ProxyEvents](#enumeration-erc721proxyevents) | - | The ERC721Proxy contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:1317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1317)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:1323](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1323)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/erc721_proxy.ts:1095](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1095)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:1053](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1053)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:1028](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1028)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### addAuthorizedAddress - -### ▪ **addAuthorizedAddress**: *object* - -*Defined in [generated-wrappers/erc721_proxy.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L60)* - -Authorizes an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc721_proxy.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L96)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:148](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L148)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to authorize. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L123)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:201](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L201)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L194)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:186](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L186)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L68)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### authorities - -### ▪ **authorities**: *object* - -*Defined in [generated-wrappers/erc721_proxy.ts:209](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L209)* - -### callAsync - -▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:215](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L215)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:269](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L269)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:262](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L262)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:256](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L256)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | `BigNumber` | - -**Returns:** *string* - -___ - -### authorized - -### ▪ **authorized**: *object* - -*Defined in [generated-wrappers/erc721_proxy.ts:747](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L747)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L753)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/erc721_proxy.ts:809](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L809)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/erc721_proxy.ts:802](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L802)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:794](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L794)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### getAuthorizedAddresses - -### ▪ **getAuthorizedAddresses**: *object* - -*Defined in [generated-wrappers/erc721_proxy.ts:820](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L820)* - -Gets all authorized addresses. - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:827](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L827)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Array of authorized addresses. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* - -*Defined in [generated-wrappers/erc721_proxy.ts:875](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L875)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string[]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* - -*Defined in [generated-wrappers/erc721_proxy.ts:868](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L868)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string[]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:863](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L863)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### getProxyId - -### ▪ **getProxyId**: *object* - -*Defined in [generated-wrappers/erc721_proxy.ts:684](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L684)* - -Gets the proxy id associated with the proxy address. - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:691](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L691)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Proxy id. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L739)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:732](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L732)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L727)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### owner - -### ▪ **owner**: *object* - -*Defined in [generated-wrappers/erc721_proxy.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L429)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:435](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L435)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:483](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L483)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:476](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L476)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:471](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L471)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### removeAuthorizedAddress - -### ▪ **removeAuthorizedAddress**: *object* - -*Defined in [generated-wrappers/erc721_proxy.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L280)* - -Removes authorizion of an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc721_proxy.ts:316](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L316)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:368](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L368)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to remove authorization from. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L343)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:421](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L421)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:414](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L414)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:406](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L406)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:288](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L288)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### removeAuthorizedAddressAtIndex - -### ▪ **removeAuthorizedAddressAtIndex**: *object* - -*Defined in [generated-wrappers/erc721_proxy.ts:494](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L494)* - -Removes authorizion of an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc721_proxy.ts:540](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L540)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `index`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:608](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L608)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to remove authorization from. | -`index` | `BigNumber` | - | Index of target in authorities array. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:574](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L574)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L673)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:666](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L666)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string, `index`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:656](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L656)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:503](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L503)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferOwnership - -### ▪ **transferOwnership**: *object* - -*Defined in [generated-wrappers/erc721_proxy.ts:883](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L883)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc721_proxy.ts:917](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L917)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:967](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L967)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`newOwner` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L943)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:1019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1019)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc721_proxy.ts:1012](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1012)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:1004](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L1004)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`newOwner` | string | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_proxy.ts:890](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L890)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: ERC721TokenContract - -## Hierarchy - -* `BaseContract` - - * **ERC721TokenContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [approve](#approve) -* [balanceOf](#balanceof) -* [getApproved](#getapproved) -* [isApprovedForAll](#isapprovedforall) -* [ownerOf](#ownerof) -* [safeTransferFrom1](#safetransferfrom1) -* [safeTransferFrom2](#safetransferfrom2) -* [setApprovalForAll](#setapprovalforall) -* [transferFrom](#transferfrom) - -## Constructors - -### constructor - -\+ **new ERC721TokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ERC721TokenContract](#class-erc721tokencontract)* - -*Overrides void* - -*Defined in [generated-wrappers/erc721_token.ts:1807](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1807)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[ERC721TokenContract](#class-erc721tokencontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC721TokenEvents](#enumeration-erc721tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/erc721_token.ts:1791](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1791)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[ERC721TokenEventArgs](#erc721tokeneventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [ERC721TokenEvents](#enumeration-erc721tokenevents) | The ERC721Token contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [ERC721TokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/erc721_token.ts:1749](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1749)* - -Subscribe to an event type emitted by the ERC721Token contract. - -**Type parameters:** - -▪ **ArgsType**: *[ERC721TokenEventArgs](#erc721tokeneventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [ERC721TokenEvents](#enumeration-erc721tokenevents) | - | The ERC721Token contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:1774](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1774)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/erc721_token.ts:1780](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1780)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/erc721_token.ts:1480](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1480)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:1438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1438)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:1413](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1413)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### approve - -### ▪ **approve**: *object* - -*Defined in [generated-wrappers/erc721_token.ts:146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L146)* - -The zero address indicates there is no approved address. -Throws unless `msg.sender` is the current NFT owner, or an authorized -operator of the current owner. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc721_token.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L192)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_approved` | string | The new approved NFT controller | -`_tokenId` | `BigNumber` | The NFT to approve | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:256](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L256)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_approved` | string | - | The new approved NFT controller | -`_tokenId` | `BigNumber` | - | The NFT to approve | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L222)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_approved` | string | The new approved NFT controller | -`_tokenId` | `BigNumber` | The NFT to approve | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:321](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L321)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L314)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_approved`: string, `_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc721_token.ts:304](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L304)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_approved` | string | The new approved NFT controller | -`_tokenId` | `BigNumber` | The NFT to approve | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:155](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L155)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_approved` | string | The new approved NFT controller | -`_tokenId` | `BigNumber` | The NFT to approve | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### balanceOf - -### ▪ **balanceOf**: *object* - -*Defined in [generated-wrappers/erc721_token.ts:830](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L830)* - -NFTs assigned to the zero address are considered invalid, and this -function throws for queries about the zero address. - -### callAsync - -▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:838](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L838)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_owner` | string | - | An address for whom to query the balance | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -The number of NFTs owned by `_owner`, possibly zero - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/erc721_token.ts:893](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L893)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/erc721_token.ts:886](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L886)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string): *string* - -*Defined in [generated-wrappers/erc721_token.ts:880](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L880)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | An address for whom to query the balance | - -**Returns:** *string* - -___ - -### getApproved - -### ▪ **getApproved**: *object* - -*Defined in [generated-wrappers/erc721_token.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L70)* - -Throws if `_tokenId` is not a valid NFT. - -### callAsync - -▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:78](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L78)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_tokenId` | `BigNumber` | - | The NFT to find the approved address for | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -The approved address for this NFT, or the zero address if there is none - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/erc721_token.ts:133](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L133)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/erc721_token.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L126)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc721_token.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L120)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_tokenId` | `BigNumber` | The NFT to find the approved address for | - -**Returns:** *string* - -___ - -### isApprovedForAll - -### ▪ **isApprovedForAll**: *object* - -*Defined in [generated-wrappers/erc721_token.ts:1330](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1330)* - -### callAsync - -▸ **callAsync**(`_owner`: string, `_operator`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:1339](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1339)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_owner` | string | - | The address that owns the NFTs | -`_operator` | string | - | The address that acts on behalf of the owner | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -True if `_operator` is an approved operator for `_owner`, false otherwise - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/erc721_token.ts:1404](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1404)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/erc721_token.ts:1397](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1397)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string, `_operator`: string): *string* - -*Defined in [generated-wrappers/erc721_token.ts:1387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1387)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_owner` | string | The address that owns the NFTs | -`_operator` | string | The address that acts on behalf of the owner | - -**Returns:** *string* - -___ - -### ownerOf - -### ▪ **ownerOf**: *object* - -*Defined in [generated-wrappers/erc721_token.ts:755](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L755)* - -NFTs assigned to zero address are considered invalid, and queries -about them do throw. - -### callAsync - -▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:763](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L763)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_tokenId` | `BigNumber` | - | The identifier for an NFT | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -The address of the owner of the NFT - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/erc721_token.ts:818](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L818)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/erc721_token.ts:811](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L811)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc721_token.ts:805](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L805)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_tokenId` | `BigNumber` | The identifier for an NFT | - -**Returns:** *string* - -___ - -### safeTransferFrom1 - -### ▪ **safeTransferFrom1**: *object* - -*Defined in [generated-wrappers/erc721_token.ts:545](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L545)* - -This works identically to the other function with an extra data parameter, -except this function just sets data to "". - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc721_token.ts:596](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L596)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:672](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L672)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_from` | string | - | The current owner of the NFT | -`_to` | string | - | The new owner | -`_tokenId` | `BigNumber` | - | The NFT to transfer | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:634](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L634)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:743](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L743)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:736](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L736)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc721_token.ts:724](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L724)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:555](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L555)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### safeTransferFrom2 - -### ▪ **safeTransferFrom2**: *object* - -*Defined in [generated-wrappers/erc721_token.ts:1101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1101)* - -Throws unless `msg.sender` is the current owner, an authorized -operator, or the approved address for this NFT. Throws if `_from` is -not the current owner. Throws if `_to` is the zero address. Throws if -`_tokenId` is not a valid NFT. When transfer is complete, this function -checks if `_to` is a smart contract (code size > 0). If so, it calls -`onERC721Received` on `_to` and throws if the return value is not -`bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc721_token.ts:1163](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1163)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`_data` | string | Additional data with no specified format, sent in call to `_to` | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:1247](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1247)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_from` | string | - | The current owner of the NFT | -`_to` | string | - | The new owner | -`_tokenId` | `BigNumber` | - | The NFT to transfer | -`_data` | string | - | Additional data with no specified format, sent in call to `_to` | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:1205](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1205)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`_data` | string | Additional data with no specified format, sent in call to `_to` | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:1322](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1322)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:1315](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1315)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string): *string* - -*Defined in [generated-wrappers/erc721_token.ts:1303](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1303)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`_data` | string | Additional data with no specified format, sent in call to `_to` | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:1112](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1112)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`_data` | string | Additional data with no specified format, sent in call to `_to` | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### setApprovalForAll - -### ▪ **setApprovalForAll**: *object* - -*Defined in [generated-wrappers/erc721_token.ts:905](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L905)* - -Emits the ApprovalForAll event. The contract MUST allow -multiple operators per owner. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc721_token.ts:951](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L951)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_operator` | string | Address to add to the set of authorized operators | -`_approved` | boolean | True if the operator is approved, false to revoke approval | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_operator`: string, `_approved`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:1019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1019)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_operator` | string | - | Address to add to the set of authorized operators | -`_approved` | boolean | - | True if the operator is approved, false to revoke approval | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:985](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L985)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_operator` | string | Address to add to the set of authorized operators | -`_approved` | boolean | True if the operator is approved, false to revoke approval | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:1084](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1084)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:1077](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1077)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_operator`: string, `_approved`: boolean): *string* - -*Defined in [generated-wrappers/erc721_token.ts:1067](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L1067)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_operator` | string | Address to add to the set of authorized operators | -`_approved` | boolean | True if the operator is approved, false to revoke approval | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:914](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L914)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_operator` | string | Address to add to the set of authorized operators | -`_approved` | boolean | True if the operator is approved, false to revoke approval | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferFrom - -### ▪ **transferFrom**: *object* - -*Defined in [generated-wrappers/erc721_token.ts:335](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L335)* - -Throws unless `msg.sender` is the current owner, an authorized -operator, or the approved address for this NFT. Throws if `_from` is -not the current owner. Throws if `_to` is the zero address. Throws if -`_tokenId` is not a valid NFT. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/erc721_token.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L386)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:462](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L462)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_from` | string | - | The current owner of the NFT | -`_to` | string | - | The new owner | -`_tokenId` | `BigNumber` | - | The NFT to transfer | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L424)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:533](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L533)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/erc721_token.ts:526](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L526)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/erc721_token.ts:514](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L514)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/erc721_token.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L345)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | The current owner of the NFT | -`_to` | string | The new owner | -`_tokenId` | `BigNumber` | The NFT to transfer | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: EthBalanceCheckerContract - -## Hierarchy - -* `BaseContract` - - * **EthBalanceCheckerContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [getEthBalances](#getethbalances) - -## Constructors - -### constructor - -\+ **new EthBalanceCheckerContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[EthBalanceCheckerContract](#class-ethbalancecheckercontract)* - -*Overrides void* - -*Defined in [generated-wrappers/eth_balance_checker.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L194)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[EthBalanceCheckerContract](#class-ethbalancecheckercontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/eth_balance_checker.ts:171](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L171)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/eth_balance_checker.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L129)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/eth_balance_checker.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L104)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### getEthBalances - -### ▪ **getEthBalances**: *object* - -*Defined in [generated-wrappers/eth_balance_checker.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L33)* - -Batch fetches ETH balances - -### callAsync - -▸ **callAsync**(`addresses`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/eth_balance_checker.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L41)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`addresses` | string[] | - | Array of addresses. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Array of ETH balances. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`[]* - -*Defined in [generated-wrappers/eth_balance_checker.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L96)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`[]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`[]* - -*Defined in [generated-wrappers/eth_balance_checker.ts:89](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L89)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`[]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`addresses`: string[]): *string* - -*Defined in [generated-wrappers/eth_balance_checker.ts:83](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/eth_balance_checker.ts#L83)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`addresses` | string[] | Array of addresses. | - -**Returns:** *string* - -
- -> # Class: ExchangeContract - -## Hierarchy - -* `BaseContract` - - * **ExchangeContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [EIP712_DOMAIN_HASH](#eip712_domain_hash) -* [VERSION](#version) -* [ZRX_ASSET_DATA](#zrx_asset_data) -* [allowedValidators](#allowedvalidators) -* [assetProxies](#assetproxies) -* [batchCancelOrders](#batchcancelorders) -* [batchFillOrKillOrders](#batchfillorkillorders) -* [batchFillOrders](#batchfillorders) -* [batchFillOrdersNoThrow](#batchfillordersnothrow) -* [cancelOrder](#cancelorder) -* [cancelOrdersUpTo](#cancelordersupto) -* [cancelled](#cancelled) -* [currentContextAddress](#currentcontextaddress) -* [executeTransaction](#executetransaction) -* [fillOrKillOrder](#fillorkillorder) -* [fillOrder](#fillorder) -* [fillOrderNoThrow](#fillordernothrow) -* [filled](#filled) -* [getAssetProxy](#getassetproxy) -* [getOrderInfo](#getorderinfo) -* [getOrdersInfo](#getordersinfo) -* [isValidSignature](#isvalidsignature) -* [marketBuyOrders](#marketbuyorders) -* [marketBuyOrdersNoThrow](#marketbuyordersnothrow) -* [marketSellOrders](#marketsellorders) -* [marketSellOrdersNoThrow](#marketsellordersnothrow) -* [matchOrders](#matchorders) -* [orderEpoch](#orderepoch) -* [owner](#owner) -* [preSign](#presign) -* [preSigned](#presigned) -* [registerAssetProxy](#registerassetproxy) -* [setSignatureValidatorApproval](#setsignaturevalidatorapproval) -* [transactions](#transactions) -* [transferOwnership](#transferownership) - -## Constructors - -### constructor - -\+ **new ExchangeContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ExchangeContract](#class-exchangecontract)* - -*Overrides void* - -*Defined in [generated-wrappers/exchange.ts:8605](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8605)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[ExchangeContract](#class-exchangecontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ExchangeEvents](#enumeration-exchangeevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/exchange.ts:8589](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8589)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[ExchangeEventArgs](#exchangeeventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [ExchangeEvents](#enumeration-exchangeevents) | The Exchange contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [ExchangeEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/exchange.ts:8547](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8547)* - -Subscribe to an event type emitted by the Exchange contract. - -**Type parameters:** - -▪ **ArgsType**: *[ExchangeEventArgs](#exchangeeventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [ExchangeEvents](#enumeration-exchangeevents) | - | The Exchange contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:8572](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8572)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/exchange.ts:8578](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L8578)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/exchange.ts:6562](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6562)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_zrxAssetData`: string): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:6515](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6515)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_zrxAssetData` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_zrxAssetData`: string): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:6482](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6482)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_zrxAssetData` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### EIP712_DOMAIN_HASH - -### ▪ **EIP712_DOMAIN_HASH**: *object* - -*Defined in [generated-wrappers/exchange.ts:5836](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5836)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5842](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5842)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:5890](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5890)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:5883](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5883)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/exchange.ts:5878](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5878)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### VERSION - -### ▪ **VERSION**: *object* - -*Defined in [generated-wrappers/exchange.ts:6419](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6419)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:6425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6425)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:6473](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6473)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:6466](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6466)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/exchange.ts:6461](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6461)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### ZRX_ASSET_DATA - -### ▪ **ZRX_ASSET_DATA**: *object* - -*Defined in [generated-wrappers/exchange.ts:5458](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5458)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5464](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5464)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:5512](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5512)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:5505](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5505)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/exchange.ts:5500](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5500)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### allowedValidators - -### ▪ **allowedValidators**: *object* - -*Defined in [generated-wrappers/exchange.ts:3265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3265)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3271](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3271)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`index_1` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:3334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3334)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:3327](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3327)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:3317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3317)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | -`index_1` | string | - -**Returns:** *string* - -___ - -### assetProxies - -### ▪ **assetProxies**: *object* - -*Defined in [generated-wrappers/exchange.ts:1508](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1508)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1514](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1514)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:1564](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1564)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:1557](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1557)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:1551](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1551)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### batchCancelOrders - -### ▪ **batchCancelOrders**: *object* - -*Defined in [generated-wrappers/exchange.ts:1575](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1575)* - -Synchronously cancels multiple orders in a single transaction. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:1630](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1630)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1714](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1714)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1670](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1670)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:1807](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1807)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:1798](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1798)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`): *string* - -*Defined in [generated-wrappers/exchange.ts:1774](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1774)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1583](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1583)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### batchFillOrKillOrders - -### ▪ **batchFillOrKillOrders**: *object* - -*Defined in [generated-wrappers/exchange.ts:1820](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1820)* - -Synchronously executes multiple calls of fillOrKill. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:1885](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1885)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1989](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1989)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | - | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | - | Proofs that orders have been created by makers. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amounts filled and fees paid by makers and taker. NOTE: makerAssetFilledAmount and takerAssetFilledAmount may include amounts filled of different assets. - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1937](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1937)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:2115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2115)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:2094](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2094)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[]): *string* - -*Defined in [generated-wrappers/exchange.ts:2066](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2066)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1831](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1831)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### batchFillOrders - -### ▪ **batchFillOrders**: *object* - -*Defined in [generated-wrappers/exchange.ts:164](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L164)* - -Synchronously executes multiple calls of fillOrder. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:229](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L229)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:333](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L333)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | - | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | - | Proofs that orders have been created by makers. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amounts filled and fees paid by makers and taker. NOTE: makerAssetFilledAmount and takerAssetFilledAmount may include amounts filled of different assets. - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:281](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L281)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:459](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L459)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L438)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[]): *string* - -*Defined in [generated-wrappers/exchange.ts:410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L410)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:175](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L175)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### batchFillOrdersNoThrow - -### ▪ **batchFillOrdersNoThrow**: *object* - -*Defined in [generated-wrappers/exchange.ts:2303](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2303)* - -Fills an order with specified parameters and ECDSA signature. -Returns false if the transaction would otherwise revert. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:2368](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2368)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2472](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2472)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | - | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | - | Proofs that orders have been created by makers. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amounts filled and fees paid by makers and taker. NOTE: makerAssetFilledAmount and takerAssetFilledAmount may include amounts filled of different assets. - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2420](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2420)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:2598](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2598)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:2577](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2577)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[]): *string* - -*Defined in [generated-wrappers/exchange.ts:2549](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2549)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2314)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### cancelOrder - -### ▪ **cancelOrder**: *object* - -*Defined in [generated-wrappers/exchange.ts:5146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5146)* - -After calling, the order can not be filled anymore. -Throws if order is invalid or sender does not have permission to cancel. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`order`: object, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:5200](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5200)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order to cancel. Order must be OrderStatus.FILLABLE. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`order`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5282](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5282)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`order` | object | - | Order to cancel. Order must be OrderStatus.FILLABLE. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`order`: object, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5239](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5239)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order to cancel. Order must be OrderStatus.FILLABLE. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:5371](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5371)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:5362](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5362)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`order`: object): *string* - -*Defined in [generated-wrappers/exchange.ts:5341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5341)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order to cancel. Order must be OrderStatus.FILLABLE. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`order`: object, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5154](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5154)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order to cancel. Order must be OrderStatus.FILLABLE. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### cancelOrdersUpTo - -### ▪ **cancelOrdersUpTo**: *object* - -*Defined in [generated-wrappers/exchange.ts:2141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2141)* - -Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch -and senderAddress equal to msg.sender (or null address if msg.sender == makerAddress). - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:2179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2179)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`targetOrderEpoch`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2233)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`targetOrderEpoch` | `BigNumber` | - | Orders created with a salt less or equal to this value will be cancelled. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2207](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2207)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:2291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2291)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:2284](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2284)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`targetOrderEpoch`: `BigNumber`): *string* - -*Defined in [generated-wrappers/exchange.ts:2276](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2276)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2150](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2150)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### cancelled - -### ▪ **cancelled**: *object* - -*Defined in [generated-wrappers/exchange.ts:481](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L481)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:487](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L487)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:541](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L541)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:534](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L534)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:528](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L528)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### currentContextAddress - -### ▪ **currentContextAddress**: *object* - -*Defined in [generated-wrappers/exchange.ts:6213](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6213)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:6219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6219)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:6267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6267)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:6260](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6260)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/exchange.ts:6255](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6255)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### executeTransaction - -### ▪ **executeTransaction**: *object* - -*Defined in [generated-wrappers/exchange.ts:4636](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4636)* - -Executes an exchange method call in the context of signer. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:4692](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4692)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`salt` | `BigNumber` | Arbitrary number to ensure uniqueness of transaction hash. | -`signerAddress` | string | Address of transaction signer. | -`data` | string | AbiV2 encoded calldata. | -`signature` | string | Proof of signer transaction by signer. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4776](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4776)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`salt` | `BigNumber` | - | Arbitrary number to ensure uniqueness of transaction hash. | -`signerAddress` | string | - | Address of transaction signer. | -`data` | string | - | AbiV2 encoded calldata. | -`signature` | string | - | Proof of signer transaction by signer. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4734](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4734)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`salt` | `BigNumber` | Arbitrary number to ensure uniqueness of transaction hash. | -`signerAddress` | string | Address of transaction signer. | -`data` | string | AbiV2 encoded calldata. | -`signature` | string | Proof of signer transaction by signer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:4851](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4851)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:4844](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4844)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:4832](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4832)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`salt` | `BigNumber` | Arbitrary number to ensure uniqueness of transaction hash. | -`signerAddress` | string | Address of transaction signer. | -`data` | string | AbiV2 encoded calldata. | -`signature` | string | Proof of signer transaction by signer. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`salt`: `BigNumber`, `signerAddress`: string, `data`: string, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4647](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4647)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`salt` | `BigNumber` | Arbitrary number to ensure uniqueness of transaction hash. | -`signerAddress` | string | Address of transaction signer. | -`data` | string | AbiV2 encoded calldata. | -`signature` | string | Proof of signer transaction by signer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### fillOrKillOrder - -### ▪ **fillOrKillOrder**: *object* - -*Defined in [generated-wrappers/exchange.ts:2765](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2765)* - -Fills the input order. Reverts if exact takerAssetFillAmount not filled. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:2827](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2827)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2926](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2926)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`order` | object | - | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | -`signature` | string | - | Proof that order has been created by maker. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2877](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2877)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:3049](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3049)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:3028](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3028)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:3001](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3001)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2775](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2775)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### fillOrder - -### ▪ **fillOrder**: *object* - -*Defined in [generated-wrappers/exchange.ts:4331](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4331)* - -Fills the input order. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:4393](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4393)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4488](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4488)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`order` | object | - | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | -`signature` | string | - | Proof that order has been created by maker. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amounts filled and fees paid by maker and taker. - -### estimateGasAsync - -▸ **estimateGasAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4438)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:4611](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4611)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:4590](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4590)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:4563](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4563)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4341)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### fillOrderNoThrow - -### ▪ **fillOrderNoThrow**: *object* - -*Defined in [generated-wrappers/exchange.ts:1201](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1201)* - -Fills the input order. -Returns false if the transaction would otherwise revert. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:1263](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1263)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1363](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1363)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`order` | object | - | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | -`signature` | string | - | Proof that order has been created by maker. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amounts filled and fees paid by maker and taker. - -### estimateGasAsync - -▸ **estimateGasAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1313](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1313)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:1486](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1486)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:1465](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1465)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:1438](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1438)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:1211](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1211)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order struct containing order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signature` | string | Proof that order has been created by maker. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### filled - -### ▪ **filled**: *object* - -*Defined in [generated-wrappers/exchange.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L93)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L99)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/exchange.ts:153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L153)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/exchange.ts:146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L146)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L140)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### getAssetProxy - -### ▪ **getAssetProxy**: *object* - -*Defined in [generated-wrappers/exchange.ts:2623](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2623)* - -Gets an asset proxy. - -### callAsync - -▸ **callAsync**(`assetProxyId`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2631](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2631)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`assetProxyId` | string | - | Id of the asset proxy. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:2686](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2686)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:2679](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2679)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`assetProxyId`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:2673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2673)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxyId` | string | Id of the asset proxy. | - -**Returns:** *string* - -___ - -### getOrderInfo - -### ▪ **getOrderInfo**: *object* - -*Defined in [generated-wrappers/exchange.ts:5019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5019)* - -Gets information about an order: status, hash, and amount filled. - -### callAsync - -▸ **callAsync**(`order`: object, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5027](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5027)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`order` | object | - | Order to gather information on. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -OrderInfo Information about the order and its state. See LibOrder.OrderInfo for a complete description. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:5126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5126)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:5111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5111)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`order`: object): *string* - -*Defined in [generated-wrappers/exchange.ts:5090](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5090)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`order` | object | Order to gather information on. | - -**Returns:** *string* - -___ - -### getOrdersInfo - -### ▪ **getOrdersInfo**: *object* - -*Defined in [generated-wrappers/exchange.ts:3660](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3660)* - -Fetches information for all passed in orders. - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise>`* - -*Defined in [generated-wrappers/exchange.ts:3668](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3668)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise>`* - -Array of OrderInfo instances that correspond to each order. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`Array`* - -*Defined in [generated-wrappers/exchange.ts:3767](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3767)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`Array`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`Array`* - -*Defined in [generated-wrappers/exchange.ts:3754](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3754)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`Array`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`): *string* - -*Defined in [generated-wrappers/exchange.ts:3730](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3730)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | - -**Returns:** *string* - -___ - -### isValidSignature - -### ▪ **isValidSignature**: *object* - -*Defined in [generated-wrappers/exchange.ts:3923](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3923)* - -Verifies that a hash has been signed by the given signer. - -### callAsync - -▸ **callAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3933](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3933)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`hash` | string | - | Any 32 byte hash. | -`signerAddress` | string | - | Address that should have signed the given hash. | -`signature` | string | - | Proof that the hash has been signed by signer. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -True if the address recovered from the provided signature matches the input signer address. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:4004](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4004)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:3997](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3997)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`hash`: string, `signerAddress`: string, `signature`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:3985](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3985)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`hash` | string | Any 32 byte hash. | -`signerAddress` | string | Address that should have signed the given hash. | -`signature` | string | Proof that the hash has been signed by signer. | - -**Returns:** *string* - -___ - -### marketBuyOrders - -### ▪ **marketBuyOrders**: *object* - -*Defined in [generated-wrappers/exchange.ts:5901](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5901)* - -Synchronously executes multiple calls of fillOrder until total amount of makerAsset is bought by taker. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:5964](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5964)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | -`signatures` | string[] | Proofs that orders have been signed by makers. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:6066](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6066)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | - | Desired amount of makerAsset to buy. | -`signatures` | string[] | - | Proofs that orders have been signed by makers. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amounts filled and fees paid by makers and taker. - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:6015](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6015)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | -`signatures` | string[] | Proofs that orders have been signed by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:6191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6191)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:6170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6170)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string* - -*Defined in [generated-wrappers/exchange.ts:6142](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6142)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | -`signatures` | string[] | Proofs that orders have been signed by makers. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5911](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5911)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | -`signatures` | string[] | Proofs that orders have been signed by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### marketBuyOrdersNoThrow - -### ▪ **marketBuyOrdersNoThrow**: *object* - -*Defined in [generated-wrappers/exchange.ts:4016](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4016)* - -Synchronously executes multiple fill orders in a single transaction until total amount is bought by taker. -Returns false if the transaction would otherwise revert. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:4079](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4079)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | -`signatures` | string[] | Proofs that orders have been signed by makers. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4181)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | - | Desired amount of makerAsset to buy. | -`signatures` | string[] | - | Proofs that orders have been signed by makers. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amounts filled and fees paid by makers and taker. - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4130](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4130)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | -`signatures` | string[] | Proofs that orders have been signed by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:4306](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4306)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:4285](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4285)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string* - -*Defined in [generated-wrappers/exchange.ts:4257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4257)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | -`signatures` | string[] | Proofs that orders have been signed by makers. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4026](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4026)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. | -`signatures` | string[] | Proofs that orders have been signed by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### marketSellOrders - -### ▪ **marketSellOrders**: *object* - -*Defined in [generated-wrappers/exchange.ts:3345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3345)* - -Synchronously executes multiple calls of fillOrder until total amount of takerAsset is sold by taker. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:3408](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3408)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3510](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3510)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | -`signatures` | string[] | - | Proofs that orders have been created by makers. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amounts filled and fees paid by makers and taker. - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3459](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3459)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:3635](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3635)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:3614](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3614)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string* - -*Defined in [generated-wrappers/exchange.ts:3586](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3586)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signatures` | string[] | Proofs that orders have been created by makers. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3355)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### marketSellOrdersNoThrow - -### ▪ **marketSellOrdersNoThrow**: *object* - -*Defined in [generated-wrappers/exchange.ts:5524](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5524)* - -Synchronously executes multiple calls of fillOrder until total amount of takerAsset is sold by taker. -Returns false if the transaction would otherwise revert. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:5587](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5587)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signatures` | string[] | Proofs that orders have been signed by makers. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5689](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5689)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. | -`signatures` | string[] | - | Proofs that orders have been signed by makers. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Amounts filled and fees paid by makers and taker. - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5638](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5638)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signatures` | string[] | Proofs that orders have been signed by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:5814](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5814)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:5793](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5793)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string* - -*Defined in [generated-wrappers/exchange.ts:5765](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5765)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signatures` | string[] | Proofs that orders have been signed by makers. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5534](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5534)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications. | -`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. | -`signatures` | string[] | Proofs that orders have been signed by makers. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### matchOrders - -### ▪ **matchOrders**: *object* - -*Defined in [generated-wrappers/exchange.ts:760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L760)* - -Match two complementary orders that have a profitable spread. -Each order is filled at their respective price point. However, the calculations are -carried out as though the orders are both being filled at the right order's price point. -The profit made by the left order goes to the taker (who matched the two orders). - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:838](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L838)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`leftOrder` | object | First order to match. | -`rightOrder` | object | Second order to match. | -`leftSignature` | string | Proof that order was created by the left maker. | -`rightSignature` | string | Proof that order was created by the right maker. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:969](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L969)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`leftOrder` | object | - | First order to match. | -`rightOrder` | object | - | Second order to match. | -`leftSignature` | string | - | Proof that order was created by the left maker. | -`rightSignature` | string | - | Proof that order was created by the right maker. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -matchedFillResults Amounts filled and fees paid by maker and taker of matched orders. - -### estimateGasAsync - -▸ **estimateGasAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:904](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L904)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`leftOrder` | object | First order to match. | -`rightOrder` | object | Second order to match. | -`leftSignature` | string | Proof that order was created by the left maker. | -`rightSignature` | string | Proof that order was created by the right maker. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:1157](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1157)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/exchange.ts:1118](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1118)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:1077](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L1077)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`leftOrder` | object | First order to match. | -`rightOrder` | object | Second order to match. | -`leftSignature` | string | Proof that order was created by the left maker. | -`rightSignature` | string | Proof that order was created by the right maker. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:771](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L771)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`leftOrder` | object | First order to match. | -`rightOrder` | object | Second order to match. | -`leftSignature` | string | Proof that order was created by the left maker. | -`rightSignature` | string | Proof that order was created by the right maker. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### orderEpoch - -### ▪ **orderEpoch**: *object* - -*Defined in [generated-wrappers/exchange.ts:5381](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5381)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:5387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5387)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`index_1` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/exchange.ts:5450](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5450)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/exchange.ts:5443](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5443)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:5433](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5433)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | -`index_1` | string | - -**Returns:** *string* - -___ - -### owner - -### ▪ **owner**: *object* - -*Defined in [generated-wrappers/exchange.ts:3858](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3858)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3864](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3864)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:3912](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3912)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:3905](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3905)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/exchange.ts:3900](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3900)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### preSign - -### ▪ **preSign**: *object* - -*Defined in [generated-wrappers/exchange.ts:553](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L553)* - -Approves a hash on-chain using any valid signature type. -After presigning a hash, the preSign signature type will become valid for that hash and signer. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:602](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L602)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`hash` | string | - | -`signerAddress` | string | Address that should have signed the given hash. | -`signature` | string | Proof that the hash has been signed by signer. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:676](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L676)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`hash` | string | - | - | -`signerAddress` | string | - | Address that should have signed the given hash. | -`signature` | string | - | Proof that the hash has been signed by signer. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L639)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`hash` | string | - | -`signerAddress` | string | Address that should have signed the given hash. | -`signature` | string | Proof that the hash has been signed by signer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:746](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L746)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:739](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L739)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`hash`: string, `signerAddress`: string, `signature`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L727)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`hash` | string | - | -`signerAddress` | string | Address that should have signed the given hash. | -`signature` | string | Proof that the hash has been signed by signer. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:562](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L562)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`hash` | string | - | -`signerAddress` | string | Address that should have signed the given hash. | -`signature` | string | Proof that the hash has been signed by signer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### preSigned - -### ▪ **preSigned**: *object* - -*Defined in [generated-wrappers/exchange.ts:3781](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3781)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3787](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3787)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`index_1` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:3850](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3850)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:3843](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3843)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:3833](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3833)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | -`index_1` | string | - -**Returns:** *string* - -___ - -### registerAssetProxy - -### ▪ **registerAssetProxy**: *object* - -*Defined in [generated-wrappers/exchange.ts:4863](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4863)* - -Registers an asset proxy to its asset proxy id. -Once an asset proxy is registered, it cannot be unregistered. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`assetProxy`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:4899](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4899)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxy` | string | Address of new asset proxy to register. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`assetProxy`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4951](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4951)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`assetProxy` | string | - | Address of new asset proxy to register. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`assetProxy`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4926](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4926)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxy` | string | Address of new asset proxy to register. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:5008](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5008)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:5001](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L5001)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`assetProxy`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:4993](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4993)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxy` | string | Address of new asset proxy to register. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`assetProxy`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:4871](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L4871)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxy` | string | Address of new asset proxy to register. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### setSignatureValidatorApproval - -### ▪ **setSignatureValidatorApproval**: *object* - -*Defined in [generated-wrappers/exchange.ts:3074](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3074)* - -Approves/unnapproves a Validator contract to verify signatures on signer's behalf. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:3124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3124)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`validatorAddress` | string | Address of Validator contract. | -`approval` | boolean | Approval or disapproval of Validator contract. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`validatorAddress`: string, `approval`: boolean, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3192)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`validatorAddress` | string | - | Address of Validator contract. | -`approval` | boolean | - | Approval or disapproval of Validator contract. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3158)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`validatorAddress` | string | Address of Validator contract. | -`approval` | boolean | Approval or disapproval of Validator contract. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:3257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3257)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:3250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3250)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`validatorAddress`: string, `approval`: boolean): *string* - -*Defined in [generated-wrappers/exchange.ts:3240](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3240)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`validatorAddress` | string | Address of Validator contract. | -`approval` | boolean | Approval or disapproval of Validator contract. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:3083](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L3083)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`validatorAddress` | string | Address of Validator contract. | -`approval` | boolean | Approval or disapproval of Validator contract. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transactions - -### ▪ **transactions**: *object* - -*Defined in [generated-wrappers/exchange.ts:2694](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2694)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:2700](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2700)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:2754](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2754)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/exchange.ts:2747](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2747)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:2741](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L2741)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### transferOwnership - -### ▪ **transferOwnership**: *object* - -*Defined in [generated-wrappers/exchange.ts:6275](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6275)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/exchange.ts:6309](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6309)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:6359](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6359)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`newOwner` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:6335](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6335)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:6411](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6411)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/exchange.ts:6404](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6404)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* - -*Defined in [generated-wrappers/exchange.ts:6396](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6396)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`newOwner` | string | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/exchange.ts:6282](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L6282)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: ForwarderContract - -## Hierarchy - -* `BaseContract` - - * **ForwarderContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [marketBuyOrdersWithEth](#marketbuyorderswitheth) -* [marketSellOrdersWithEth](#marketsellorderswitheth) -* [owner](#owner) -* [transferOwnership](#transferownership) -* [withdrawAsset](#withdrawasset) - -## Constructors - -### constructor - -\+ **new ForwarderContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ForwarderContract](#class-forwardercontract)* - -*Overrides void* - -*Defined in [generated-wrappers/forwarder.ts:2008](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L2008)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[ForwarderContract](#class-forwardercontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/forwarder.ts:1569](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1569)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string, `_zrxAssetData`: string, `_wethAssetData`: string): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:1520](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1520)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_exchange` | string | -`_zrxAssetData` | string | -`_wethAssetData` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string, `_zrxAssetData`: string, `_wethAssetData`: string): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:1483](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1483)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_exchange` | string | -`_zrxAssetData` | string | -`_wethAssetData` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### marketBuyOrdersWithEth - -### ▪ **marketBuyOrdersWithEth**: *object* - -*Defined in [generated-wrappers/forwarder.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L35)* - -Attempt to purchase makerAssetFillAmount of makerAsset by selling ETH provided with transaction. -Any ZRX required to pay fees for primary orders will automatically be purchased by this contract. -Any ETH not spent will be refunded to sender. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/forwarder.ts:150](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L150)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to purchase. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | Address that will receive ETH when orders are filled. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[object, object]>`* - -*Defined in [generated-wrappers/forwarder.ts:320](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L320)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`makerAssetFillAmount` | `BigNumber` | - | Desired amount of makerAsset to purchase. | -`signatures` | string[] | - | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | - | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | - | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | - | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | - | Address that will receive ETH when orders are filled. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise<[object, object]>`* - -Amounts filled and fees paid by maker and taker for both sets of orders. - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L233)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to purchase. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | Address that will receive ETH when orders are filled. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *[object, object]* - -*Defined in [generated-wrappers/forwarder.ts:548](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L548)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *[object, object]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *[object, object]* - -*Defined in [generated-wrappers/forwarder.ts:509](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L509)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *[object, object]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string): *string* - -*Defined in [generated-wrappers/forwarder.ts:452](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L452)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to purchase. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | Address that will receive ETH when orders are filled. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L52)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to purchase. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | Address that will receive ETH when orders are filled. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### marketSellOrdersWithEth - -### ▪ **marketSellOrdersWithEth**: *object* - -*Defined in [generated-wrappers/forwarder.ts:835](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L835)* - -Purchases as much of orders' makerAssets as possible by selling up to 95% of transaction's ETH value. -Any ZRX required to pay fees for primary orders will automatically be purchased by this contract. -5% of ETH value is reserved for paying fees to order feeRecipients (in ZRX) and forwarding contract feeRecipient (in ETH). -Any ETH not spent will be refunded to sender. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/forwarder.ts:937](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L937)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | Address that will receive ETH when orders are filled. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[object, object]>`* - -*Defined in [generated-wrappers/forwarder.ts:1092](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1092)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`orders` | `Array` | - | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`signatures` | string[] | - | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | - | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | - | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | - | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | - | Address that will receive ETH when orders are filled. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise<[object, object]>`* - -Amounts filled and fees paid by maker and taker for both sets of orders. - -### estimateGasAsync - -▸ **estimateGasAsync**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:1016](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1016)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | Address that will receive ETH when orders are filled. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *[object, object]* - -*Defined in [generated-wrappers/forwarder.ts:1299](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1299)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *[object, object]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *[object, object]* - -*Defined in [generated-wrappers/forwarder.ts:1260](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1260)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *[object, object]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string): *string* - -*Defined in [generated-wrappers/forwarder.ts:1213](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1213)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | Address that will receive ETH when orders are filled. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`orders`: `Array`, `signatures`: string[], `feeOrders`: `Array`, `feeSignatures`: string[], `feePercentage`: `BigNumber`, `feeRecipient`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:851](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L851)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`orders` | `Array` | Array of order specifications used containing desired makerAsset and WETH as takerAsset. | -`signatures` | string[] | Proofs that orders have been created by makers. | -`feeOrders` | `Array` | Array of order specifications containing ZRX as makerAsset and WETH as takerAsset. Used to purchase ZRX for primary order fees. | -`feeSignatures` | string[] | Proofs that feeOrders have been created by makers. | -`feePercentage` | `BigNumber` | Percentage of WETH sold that will payed as fee to forwarding contract feeRecipient. | -`feeRecipient` | string | Address that will receive ETH when orders are filled. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### owner - -### ▪ **owner**: *object* - -*Defined in [generated-wrappers/forwarder.ts:767](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L767)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:773](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L773)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/forwarder.ts:821](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L821)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/forwarder.ts:814](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L814)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/forwarder.ts:809](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L809)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### transferOwnership - -### ▪ **transferOwnership**: *object* - -*Defined in [generated-wrappers/forwarder.ts:1339](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1339)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/forwarder.ts:1373](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1373)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:1423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1423)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`newOwner` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:1399](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1399)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/forwarder.ts:1475](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1475)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/forwarder.ts:1468](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1468)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* - -*Defined in [generated-wrappers/forwarder.ts:1460](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1460)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`newOwner` | string | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:1346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L1346)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### withdrawAsset - -### ▪ **withdrawAsset**: *object* - -*Defined in [generated-wrappers/forwarder.ts:593](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L593)* - -Withdraws assets from this contract. The contract requires a ZRX balance in order to -function optimally, and this function allows the ZRX to be withdrawn by owner. It may also be -used to withdraw assets that were accidentally sent to this contract. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`assetData`: string, `amount`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/forwarder.ts:636](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L636)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetData` | string | Byte array encoded for the respective asset proxy. | -`amount` | `BigNumber` | Amount of ERC20 token to withdraw. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`assetData`: string, `amount`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:697](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L697)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`assetData` | string | - | Byte array encoded for the respective asset proxy. | -`amount` | `BigNumber` | - | Amount of ERC20 token to withdraw. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`assetData`: string, `amount`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:666](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L666)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetData` | string | Byte array encoded for the respective asset proxy. | -`amount` | `BigNumber` | Amount of ERC20 token to withdraw. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/forwarder.ts:759](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L759)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/forwarder.ts:752](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L752)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`assetData`: string, `amount`: `BigNumber`): *string* - -*Defined in [generated-wrappers/forwarder.ts:742](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L742)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetData` | string | Byte array encoded for the respective asset proxy. | -`amount` | `BigNumber` | Amount of ERC20 token to withdraw. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`assetData`: string, `amount`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/forwarder.ts:602](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/forwarder.ts#L602)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetData` | string | Byte array encoded for the respective asset proxy. | -`amount` | `BigNumber` | Amount of ERC20 token to withdraw. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: IAssetProxyContract - -## Hierarchy - -* `BaseContract` - - * **IAssetProxyContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [addAuthorizedAddress](#addauthorizedaddress) -* [getAuthorizedAddresses](#getauthorizedaddresses) -* [getProxyId](#getproxyid) -* [removeAuthorizedAddress](#removeauthorizedaddress) -* [removeAuthorizedAddressAtIndex](#removeauthorizedaddressatindex) -* [transferFrom](#transferfrom) -* [transferOwnership](#transferownership) - -## Constructors - -### constructor - -\+ **new IAssetProxyContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[IAssetProxyContract](#class-iassetproxycontract)* - -*Overrides void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:1211](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1211)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[IAssetProxyContract](#class-iassetproxycontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:1093](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1093)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:1051](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1051)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:1026](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1026)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### addAuthorizedAddress - -### ▪ **addAuthorizedAddress**: *object* - -*Defined in [generated-wrappers/i_asset_proxy.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L33)* - -Authorizes an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L69)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L121)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to authorize. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L96)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:174](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L174)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:167](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L167)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string): *string* - -*Defined in [generated-wrappers/i_asset_proxy.ts:159](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L159)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L41)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### getAuthorizedAddresses - -### ▪ **getAuthorizedAddresses**: *object* - -*Defined in [generated-wrappers/i_asset_proxy.ts:819](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L819)* - -Gets all authorized addresses. - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:826](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L826)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Array of authorized addresses. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* - -*Defined in [generated-wrappers/i_asset_proxy.ts:874](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L874)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string[]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* - -*Defined in [generated-wrappers/i_asset_proxy.ts:867](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L867)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string[]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/i_asset_proxy.ts:862](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L862)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### getProxyId - -### ▪ **getProxyId**: *object* - -*Defined in [generated-wrappers/i_asset_proxy.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L753)* - -Gets the proxy id associated with the proxy address. - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:760](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L760)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Proxy id. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/i_asset_proxy.ts:808](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L808)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/i_asset_proxy.ts:801](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L801)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/i_asset_proxy.ts:796](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L796)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### removeAuthorizedAddress - -### ▪ **removeAuthorizedAddress**: *object* - -*Defined in [generated-wrappers/i_asset_proxy.ts:185](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L185)* - -Removes authorizion of an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:221](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L221)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:273](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L273)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to remove authorization from. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:248](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L248)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:326](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L326)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:319](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L319)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string): *string* - -*Defined in [generated-wrappers/i_asset_proxy.ts:311](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L311)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:193](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L193)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### removeAuthorizedAddressAtIndex - -### ▪ **removeAuthorizedAddressAtIndex**: *object* - -*Defined in [generated-wrappers/i_asset_proxy.ts:337](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L337)* - -Removes authorizion of an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L383)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `index`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:451](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L451)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to remove authorization from. | -`index` | `BigNumber` | - | Index of target in authorities array. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:417](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L417)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:516](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L516)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:509](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L509)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string, `index`: `BigNumber`): *string* - -*Defined in [generated-wrappers/i_asset_proxy.ts:499](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L499)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L346)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferFrom - -### ▪ **transferFrom**: *object* - -*Defined in [generated-wrappers/i_asset_proxy.ts:527](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L527)* - -Transfers assets. Either succeeds or throws. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:583](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L583)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetData` | string | Byte array encoded for the respective asset proxy. | -`from` | string | Address to transfer asset from. | -`to` | string | Address to transfer asset to. | -`amount` | `BigNumber` | Amount of asset to transfer. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:667](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L667)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`assetData` | string | - | Byte array encoded for the respective asset proxy. | -`from` | string | - | Address to transfer asset from. | -`to` | string | - | Address to transfer asset to. | -`amount` | `BigNumber` | - | Amount of asset to transfer. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:625](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L625)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetData` | string | Byte array encoded for the respective asset proxy. | -`from` | string | Address to transfer asset from. | -`to` | string | Address to transfer asset to. | -`amount` | `BigNumber` | Amount of asset to transfer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:742](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L742)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:735](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L735)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`): *string* - -*Defined in [generated-wrappers/i_asset_proxy.ts:723](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L723)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetData` | string | Byte array encoded for the respective asset proxy. | -`from` | string | Address to transfer asset from. | -`to` | string | Address to transfer asset to. | -`amount` | `BigNumber` | Amount of asset to transfer. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`assetData`: string, `from`: string, `to`: string, `amount`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:538](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L538)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetData` | string | Byte array encoded for the respective asset proxy. | -`from` | string | Address to transfer asset from. | -`to` | string | Address to transfer asset to. | -`amount` | `BigNumber` | Amount of asset to transfer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferOwnership - -### ▪ **transferOwnership**: *object* - -*Defined in [generated-wrappers/i_asset_proxy.ts:882](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L882)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:916](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L916)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:966](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L966)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`newOwner` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:942](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L942)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:1018](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1018)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/i_asset_proxy.ts:1011](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1011)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* - -*Defined in [generated-wrappers/i_asset_proxy.ts:1003](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L1003)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`newOwner` | string | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/i_asset_proxy.ts:889](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_asset_proxy.ts#L889)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: IValidatorContract - -## Hierarchy - -* `BaseContract` - - * **IValidatorContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [isValidSignature](#isvalidsignature) - -## Constructors - -### constructor - -\+ **new IValidatorContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[IValidatorContract](#class-ivalidatorcontract)* - -*Overrides void* - -*Defined in [generated-wrappers/i_validator.ts:220](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L220)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[IValidatorContract](#class-ivalidatorcontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/i_validator.ts:189](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L189)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/i_validator.ts:147](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L147)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/i_validator.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L122)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### isValidSignature - -### ▪ **isValidSignature**: *object* - -*Defined in [generated-wrappers/i_validator.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L33)* - -Verifies that a signature is valid. - -### callAsync - -▸ **callAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/i_validator.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L43)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`hash` | string | - | Message hash that is signed. | -`signerAddress` | string | - | Address that should have signed the given hash. | -`signature` | string | - | Proof of signing. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Validity of order signature. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/i_validator.ts:114](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L114)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/i_validator.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L107)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`hash`: string, `signerAddress`: string, `signature`: string): *string* - -*Defined in [generated-wrappers/i_validator.ts:95](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_validator.ts#L95)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`hash` | string | Message hash that is signed. | -`signerAddress` | string | Address that should have signed the given hash. | -`signature` | string | Proof of signing. | - -**Returns:** *string* - -
- -> # Class: IWalletContract - -## Hierarchy - -* `BaseContract` - - * **IWalletContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [isValidSignature](#isvalidsignature) - -## Constructors - -### constructor - -\+ **new IWalletContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[IWalletContract](#class-iwalletcontract)* - -*Overrides void* - -*Defined in [generated-wrappers/i_wallet.ts:206](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L206)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[IWalletContract](#class-iwalletcontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/i_wallet.ts:179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L179)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/i_wallet.ts:137](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L137)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/i_wallet.ts:112](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L112)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### isValidSignature - -### ▪ **isValidSignature**: *object* - -*Defined in [generated-wrappers/i_wallet.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L33)* - -Verifies that a signature is valid. - -### callAsync - -▸ **callAsync**(`hash`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/i_wallet.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L42)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`hash` | string | - | Message hash that is signed. | -`signature` | string | - | Proof of signing. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Validity of order signature. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/i_wallet.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L104)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/i_wallet.ts:97](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L97)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`hash`: string, `signature`: string): *string* - -*Defined in [generated-wrappers/i_wallet.ts:87](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L87)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`hash` | string | Message hash that is signed. | -`signature` | string | Proof of signing. | - -**Returns:** *string* - -
- -> # Class: MultiAssetProxyContract - -## Hierarchy - -* `BaseContract` - - * **MultiAssetProxyContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [addAuthorizedAddress](#addauthorizedaddress) -* [assetProxies](#assetproxies) -* [authorities](#authorities) -* [authorized](#authorized) -* [getAssetProxy](#getassetproxy) -* [getAuthorizedAddresses](#getauthorizedaddresses) -* [getProxyId](#getproxyid) -* [owner](#owner) -* [registerAssetProxy](#registerassetproxy) -* [removeAuthorizedAddress](#removeauthorizedaddress) -* [removeAuthorizedAddressAtIndex](#removeauthorizedaddressatindex) -* [transferOwnership](#transferownership) - -## Constructors - -### constructor - -\+ **new MultiAssetProxyContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[MultiAssetProxyContract](#class-multiassetproxycontract)* - -*Overrides void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1722](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1722)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[MultiAssetProxyContract](#class-multiassetproxycontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [MultiAssetProxyEvents](#enumeration-multiassetproxyevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1706](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1706)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[MultiAssetProxyEventArgs](#multiassetproxyeventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [MultiAssetProxyEvents](#enumeration-multiassetproxyevents) | The MultiAssetProxy contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [MultiAssetProxyEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1664](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1664)* - -Subscribe to an event type emitted by the MultiAssetProxy contract. - -**Type parameters:** - -▪ **ArgsType**: *[MultiAssetProxyEventArgs](#multiassetproxyeventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [MultiAssetProxyEvents](#enumeration-multiassetproxyevents) | - | The MultiAssetProxy contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1689](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1689)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1695](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1695)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1397](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1397)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1355)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1330](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1330)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### addAuthorizedAddress - -### ▪ **addAuthorizedAddress**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:131](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L131)* - -Authorizes an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:167](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L167)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L219)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to authorize. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L194)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:272](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L272)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L265)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L257)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:139](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L139)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to authorize. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### assetProxies - -### ▪ **assetProxies**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L64)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L70)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L120)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:113](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L113)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L107)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### authorities - -### ▪ **authorities**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L280)* - -### callAsync - -▸ **callAsync**(`index_0`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:286](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L286)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:340](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L340)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:333](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L333)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: `BigNumber`): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:327](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L327)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | `BigNumber` | - -**Returns:** *string* - -___ - -### authorized - -### ▪ **authorized**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:892](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L892)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:898](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L898)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:954](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L954)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:947](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L947)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:939](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L939)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### getAssetProxy - -### ▪ **getAssetProxy**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L351)* - -Gets an asset proxy. - -### callAsync - -▸ **callAsync**(`assetProxyId`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:359](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L359)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`assetProxyId` | string | - | Id of the asset proxy. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:414](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L414)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:407](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L407)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`assetProxyId`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:401](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L401)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxyId` | string | Id of the asset proxy. | - -**Returns:** *string* - -___ - -### getAuthorizedAddresses - -### ▪ **getAuthorizedAddresses**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1122)* - -Gets all authorized addresses. - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1129)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Array of authorized addresses. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string[]* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1177](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1177)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string[]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string[]* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1170)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string[]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1165)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### getProxyId - -### ▪ **getProxyId**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:829](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L829)* - -Gets the proxy id associated with the proxy address. - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:836](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L836)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -Proxy id. - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:884](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L884)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:877](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L877)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:872](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L872)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### owner - -### ▪ **owner**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:574](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L574)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:580](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L580)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:628](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L628)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:621](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L621)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:616](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L616)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### registerAssetProxy - -### ▪ **registerAssetProxy**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:966](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L966)* - -Registers an asset proxy to its asset proxy id. -Once an asset proxy is registered, it cannot be unregistered. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`assetProxy`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1002](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1002)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxy` | string | Address of new asset proxy to register. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`assetProxy`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1054](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1054)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`assetProxy` | string | - | Address of new asset proxy to register. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`assetProxy`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1029](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1029)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxy` | string | Address of new asset proxy to register. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1111)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1104)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`assetProxy`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1096](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1096)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxy` | string | Address of new asset proxy to register. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`assetProxy`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:974](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L974)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`assetProxy` | string | Address of new asset proxy to register. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### removeAuthorizedAddress - -### ▪ **removeAuthorizedAddress**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L425)* - -Removes authorizion of an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:461](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L461)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:513](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L513)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to remove authorization from. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:488](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L488)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:566](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L566)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:559](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L559)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:551](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L551)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:433](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L433)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### removeAuthorizedAddressAtIndex - -### ▪ **removeAuthorizedAddressAtIndex**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L639)* - -Removes authorizion of an address. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:685](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L685)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`target`: string, `index`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:753](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L753)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`target` | string | - | Address to remove authorization from. | -`index` | `BigNumber` | - | Index of target in authorities array. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:719](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L719)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:818](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L818)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:811](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L811)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string, `index`: `BigNumber`): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:801](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L801)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`target`: string, `index`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:648](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L648)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`target` | string | Address to remove authorization from. | -`index` | `BigNumber` | Index of target in authorities array. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferOwnership - -### ▪ **transferOwnership**: *object* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1185](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1185)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1219)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`newOwner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1269](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1269)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`newOwner` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1245)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1321](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1321)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1314)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`newOwner`: string): *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1306](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1306)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`newOwner` | string | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:1192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L1192)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`newOwner` | string | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: OrderValidatorContract - -## Hierarchy - -* `BaseContract` - - * **OrderValidatorContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [getBalanceAndAllowance](#getbalanceandallowance) -* [getBalancesAndAllowances](#getbalancesandallowances) -* [getERC721TokenOwner](#geterc721tokenowner) -* [getOrderAndTraderInfo](#getorderandtraderinfo) -* [getOrdersAndTradersInfo](#getordersandtradersinfo) -* [getTraderInfo](#gettraderinfo) -* [getTradersInfo](#gettradersinfo) - -## Constructors - -### constructor - -\+ **new OrderValidatorContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[OrderValidatorContract](#class-ordervalidatorcontract)* - -*Overrides void* - -*Defined in [generated-wrappers/order_validator.ts:1641](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L1641)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[OrderValidatorContract](#class-ordervalidatorcontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/order_validator.ts:1080](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L1080)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string, `_zrxAssetData`: string): *`Promise`* - -*Defined in [generated-wrappers/order_validator.ts:1032](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L1032)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_exchange` | string | -`_zrxAssetData` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object, `_exchange`: string, `_zrxAssetData`: string): *`Promise`* - -*Defined in [generated-wrappers/order_validator.ts:997](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L997)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | -`_exchange` | string | -`_zrxAssetData` | string | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### getBalanceAndAllowance - -### ▪ **getBalanceAndAllowance**: *object* - -*Defined in [generated-wrappers/order_validator.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L224)* - -### callAsync - -▸ **callAsync**(`target`: string, `assetData`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[BigNumber, BigNumber]>`* - -*Defined in [generated-wrappers/order_validator.ts:230](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L230)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`target` | string | - | -`assetData` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise<[BigNumber, BigNumber]>`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *[`BigNumber`, `BigNumber`]* - -*Defined in [generated-wrappers/order_validator.ts:293](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L293)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *[`BigNumber`, `BigNumber`]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *[`BigNumber`, `BigNumber`]* - -*Defined in [generated-wrappers/order_validator.ts:286](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L286)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *[`BigNumber`, `BigNumber`]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string, `assetData`: string): *string* - -*Defined in [generated-wrappers/order_validator.ts:276](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L276)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`target` | string | -`assetData` | string | - -**Returns:** *string* - -___ - -### getBalancesAndAllowances - -### ▪ **getBalancesAndAllowances**: *object* - -*Defined in [generated-wrappers/order_validator.ts:752](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L752)* - -### callAsync - -▸ **callAsync**(`target`: string, `assetData`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[BigNumber[], BigNumber[]]>`* - -*Defined in [generated-wrappers/order_validator.ts:758](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L758)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`target` | string | - | -`assetData` | string[] | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise<[BigNumber[], BigNumber[]]>`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *[`BigNumber`[], `BigNumber`[]]* - -*Defined in [generated-wrappers/order_validator.ts:821](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L821)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *[`BigNumber`[], `BigNumber`[]]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *[`BigNumber`[], `BigNumber`[]]* - -*Defined in [generated-wrappers/order_validator.ts:814](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L814)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *[`BigNumber`[], `BigNumber`[]]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`target`: string, `assetData`: string[]): *string* - -*Defined in [generated-wrappers/order_validator.ts:804](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L804)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`target` | string | -`assetData` | string[] | - -**Returns:** *string* - -___ - -### getERC721TokenOwner - -### ▪ **getERC721TokenOwner**: *object* - -*Defined in [generated-wrappers/order_validator.ts:675](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L675)* - -### callAsync - -▸ **callAsync**(`token`: string, `tokenId`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/order_validator.ts:681](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L681)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`token` | string | - | -`tokenId` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/order_validator.ts:744](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L744)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/order_validator.ts:737](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L737)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`token`: string, `tokenId`: `BigNumber`): *string* - -*Defined in [generated-wrappers/order_validator.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L727)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`token` | string | -`tokenId` | `BigNumber` | - -**Returns:** *string* - -___ - -### getOrderAndTraderInfo - -### ▪ **getOrderAndTraderInfo**: *object* - -*Defined in [generated-wrappers/order_validator.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L30)* - -### callAsync - -▸ **callAsync**(`order`: object, `takerAddress`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[object, object]>`* - -*Defined in [generated-wrappers/order_validator.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L36)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`order` | object | - | -`takerAddress` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise<[object, object]>`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *[object, object]* - -*Defined in [generated-wrappers/order_validator.ts:186](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L186)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *[object, object]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *[object, object]* - -*Defined in [generated-wrappers/order_validator.ts:149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L149)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *[object, object]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`order`: object, `takerAddress`: string): *string* - -*Defined in [generated-wrappers/order_validator.ts:124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L124)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`order` | object | -`takerAddress` | string | - -**Returns:** *string* - -___ - -### getOrdersAndTradersInfo - -### ▪ **getOrdersAndTradersInfo**: *object* - -*Defined in [generated-wrappers/order_validator.ts:301](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L301)* - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `takerAddresses`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise<[Array, Array]>`* - -*Defined in [generated-wrappers/order_validator.ts:307](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L307)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`orders` | `Array` | - | -`takerAddresses` | string[] | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise<[Array, Array]>`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *[`Array`, `Array`]* - -*Defined in [generated-wrappers/order_validator.ts:459](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L459)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *[`Array`, `Array`]* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *[`Array`, `Array`]* - -*Defined in [generated-wrappers/order_validator.ts:422](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L422)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *[`Array`, `Array`]* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAddresses`: string[]): *string* - -*Defined in [generated-wrappers/order_validator.ts:396](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L396)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`orders` | `Array` | -`takerAddresses` | string[] | - -**Returns:** *string* - -___ - -### getTraderInfo - -### ▪ **getTraderInfo**: *object* - -*Defined in [generated-wrappers/order_validator.ts:829](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L829)* - -### callAsync - -▸ **callAsync**(`order`: object, `takerAddress`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/order_validator.ts:835](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L835)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`order` | object | - | -`takerAddress` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *object* - -*Defined in [generated-wrappers/order_validator.ts:967](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L967)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *object* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *object* - -*Defined in [generated-wrappers/order_validator.ts:938](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L938)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *object* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`order`: object, `takerAddress`: string): *string* - -*Defined in [generated-wrappers/order_validator.ts:913](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L913)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`order` | object | -`takerAddress` | string | - -**Returns:** *string* - -___ - -### getTradersInfo - -### ▪ **getTradersInfo**: *object* - -*Defined in [generated-wrappers/order_validator.ts:497](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L497)* - -### callAsync - -▸ **callAsync**(`orders`: `Array`, `takerAddresses`: string[], `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise>`* - -*Defined in [generated-wrappers/order_validator.ts:503](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L503)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`orders` | `Array` | - | -`takerAddresses` | string[] | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise>`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`Array`* - -*Defined in [generated-wrappers/order_validator.ts:643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L643)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`Array`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`Array`* - -*Defined in [generated-wrappers/order_validator.ts:612](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L612)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`Array`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`orders`: `Array`, `takerAddresses`: string[]): *string* - -*Defined in [generated-wrappers/order_validator.ts:586](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/order_validator.ts#L586)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`orders` | `Array` | -`takerAddresses` | string[] | - -**Returns:** *string* - -
- -> # Class: WETH9Contract - -## Hierarchy - -* `BaseContract` - - * **WETH9Contract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [allowance](#allowance) -* [approve](#approve) -* [balanceOf](#balanceof) -* [decimals](#decimals) -* [deposit](#deposit) -* [name](#name) -* [symbol](#symbol) -* [totalSupply](#totalsupply) -* [transfer](#transfer) -* [transferFrom](#transferfrom) -* [withdraw](#withdraw) - -## Constructors - -### constructor - -\+ **new WETH9Contract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[WETH9Contract](#class-weth9contract)* - -*Overrides void* - -*Defined in [generated-wrappers/weth9.ts:1672](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1672)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[WETH9Contract](#class-weth9contract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [WETH9Events](#enumeration-weth9events), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/weth9.ts:1656](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1656)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[WETH9EventArgs](#weth9eventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [WETH9Events](#enumeration-weth9events) | The WETH9 contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [WETH9Events](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/weth9.ts:1614](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1614)* - -Subscribe to an event type emitted by the WETH9 contract. - -**Type parameters:** - -▪ **ArgsType**: *[WETH9EventArgs](#weth9eventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [WETH9Events](#enumeration-weth9events) | - | The WETH9 contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/weth9.ts:1639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1639)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/weth9.ts:1645](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1645)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/weth9.ts:1317](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1317)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:1275](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1275)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:1250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1250)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### allowance - -### ▪ **allowance**: *object* - -*Defined in [generated-wrappers/weth9.ts:1172](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1172)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:1178](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1178)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`index_1` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/weth9.ts:1241](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1241)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/weth9.ts:1234](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1234)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string* - -*Defined in [generated-wrappers/weth9.ts:1224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1224)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | -`index_1` | string | - -**Returns:** *string* - -___ - -### approve - -### ▪ **approve**: *object* - -*Defined in [generated-wrappers/weth9.ts:135](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L135)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/weth9.ts:170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L170)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`guy` | string | - | -`wad` | `BigNumber` | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`guy`: string, `wad`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L223)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`guy` | string | - | -`wad` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:198](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L198)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`guy` | string | - | -`wad` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/weth9.ts:283](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L283)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/weth9.ts:276](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L276)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`guy`: string, `wad`: `BigNumber`): *string* - -*Defined in [generated-wrappers/weth9.ts:266](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L266)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`guy` | string | -`wad` | `BigNumber` | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:142](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L142)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`guy` | string | - | -`wad` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### balanceOf - -### ▪ **balanceOf**: *object* - -*Defined in [generated-wrappers/weth9.ts:748](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L748)* - -### callAsync - -▸ **callAsync**(`index_0`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:754](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L754)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`index_0` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/weth9.ts:810](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L810)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/weth9.ts:803](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L803)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`index_0`: string): *string* - -*Defined in [generated-wrappers/weth9.ts:795](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L795)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`index_0` | string | - -**Returns:** *string* - -___ - -### decimals - -### ▪ **decimals**: *object* - -*Defined in [generated-wrappers/weth9.ts:686](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L686)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:692](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L692)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *number* - -*Defined in [generated-wrappers/weth9.ts:740](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L740)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *number* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *number* - -*Defined in [generated-wrappers/weth9.ts:733](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L733)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *number* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/weth9.ts:728](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L728)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### deposit - -### ▪ **deposit**: *object* - -*Defined in [generated-wrappers/weth9.ts:1036](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1036)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/weth9.ts:1069](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1069)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:1116](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1116)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:1093](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1093)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/weth9.ts:1164](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1164)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/weth9.ts:1157](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1157)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/weth9.ts:1152](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1152)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:1043](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1043)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### name - -### ▪ **name**: *object* - -*Defined in [generated-wrappers/weth9.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L73)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L79)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/weth9.ts:127](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L127)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/weth9.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L120)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/weth9.ts:115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L115)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### symbol - -### ▪ **symbol**: *object* - -*Defined in [generated-wrappers/weth9.ts:818](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L818)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:824](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L824)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/weth9.ts:872](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L872)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/weth9.ts:865](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L865)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/weth9.ts:860](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L860)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### totalSupply - -### ▪ **totalSupply**: *object* - -*Defined in [generated-wrappers/weth9.ts:291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L291)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:297](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L297)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/weth9.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L345)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/weth9.ts:338](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L338)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/weth9.ts:333](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L333)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### transfer - -### ▪ **transfer**: *object* - -*Defined in [generated-wrappers/weth9.ts:880](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L880)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/weth9.ts:915](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L915)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`dst` | string | - | -`wad` | `BigNumber` | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`dst`: string, `wad`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:968](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L968)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`dst` | string | - | -`wad` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:943](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L943)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`dst` | string | - | -`wad` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/weth9.ts:1028](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1028)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/weth9.ts:1021](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1021)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`dst`: string, `wad`: `BigNumber`): *string* - -*Defined in [generated-wrappers/weth9.ts:1011](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L1011)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`dst` | string | -`wad` | `BigNumber` | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:887](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L887)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`dst` | string | - | -`wad` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferFrom - -### ▪ **transferFrom**: *object* - -*Defined in [generated-wrappers/weth9.ts:353](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L353)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/weth9.ts:398](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L398)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`src` | string | - | -`dst` | string | - | -`wad` | `BigNumber` | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:468](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L468)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`src` | string | - | -`dst` | string | - | -`wad` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:433](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L433)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`src` | string | - | -`dst` | string | - | -`wad` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/weth9.ts:536](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L536)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/weth9.ts:529](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L529)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`src`: string, `dst`: string, `wad`: `BigNumber`): *string* - -*Defined in [generated-wrappers/weth9.ts:517](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L517)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`src` | string | -`dst` | string | -`wad` | `BigNumber` | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:360](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L360)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`src` | string | - | -`dst` | string | - | -`wad` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### withdraw - -### ▪ **withdraw**: *object* - -*Defined in [generated-wrappers/weth9.ts:544](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L544)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`wad`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/weth9.ts:578](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L578)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`wad` | `BigNumber` | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`wad`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:628](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L628)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`wad` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:604](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L604)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`wad` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *void* - -*Defined in [generated-wrappers/weth9.ts:678](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L678)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *void* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *void* - -*Defined in [generated-wrappers/weth9.ts:671](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L671)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *void* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`wad`: `BigNumber`): *string* - -*Defined in [generated-wrappers/weth9.ts:665](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L665)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`wad` | `BigNumber` | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`wad`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/weth9.ts:551](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L551)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`wad` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: ZRXTokenContract - -## Hierarchy - -* `BaseContract` - - * **ZRXTokenContract** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [abi](#abi) -* [address](#address) -* [constructorArgs](#constructorargs) -* [contractName](#contractname) - -### Methods - -* [getLogsAsync](#getlogsasync) -* [subscribe](#subscribe) -* [unsubscribe](#unsubscribe) -* [unsubscribeAll](#unsubscribeall) -* [ABI](#static-abi) -* [deployAsync](#static-deployasync) -* [deployFrom0xArtifactAsync](#static-deployfrom0xartifactasync) -* [strictArgumentEncodingCheck](#static-strictargumentencodingcheck) - -### Object literals - -* [allowance](#allowance) -* [approve](#approve) -* [balanceOf](#balanceof) -* [decimals](#decimals) -* [name](#name) -* [symbol](#symbol) -* [totalSupply](#totalsupply) -* [transfer](#transfer) -* [transferFrom](#transferfrom) - -## Constructors - -### constructor - -\+ **new ZRXTokenContract**(`address`: string, `supportedProvider`: `SupportedProvider`, `txDefaults?`: `Partial`, `logDecodeDependencies?`: undefined | object): *[ZRXTokenContract](#class-zrxtokencontract)* - -*Overrides void* - -*Defined in [generated-wrappers/zrx_token.ts:1347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1347)* - -**Parameters:** - -Name | Type | ------- | ------ | -`address` | string | -`supportedProvider` | `SupportedProvider` | -`txDefaults?` | `Partial` | -`logDecodeDependencies?` | undefined \| object | - -**Returns:** *[ZRXTokenContract](#class-zrxtokencontract)* - -## Properties - -### abi - -• **abi**: *`ContractAbi`* - -*Inherited from void* - - - -___ - -### address - -• **address**: *string* - -*Inherited from void* - - - -___ - -### constructorArgs - -• **constructorArgs**: *any[]* - -*Inherited from void* - - - -___ - -### contractName - -• **contractName**: *string* - -*Inherited from void* - - - -## Methods - -### getLogsAsync - -▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ZRXTokenEvents](#enumeration-zrxtokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise>>`* - -*Defined in [generated-wrappers/zrx_token.ts:1331](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1331)* - -Gets historical logs without creating a subscription - -**Type parameters:** - -▪ **ArgsType**: *[ZRXTokenEventArgs](#zrxtokeneventargs)* - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`eventName` | [ZRXTokenEvents](#enumeration-zrxtokenevents) | The ZRXToken contract event you would like to subscribe to. | -`blockRange` | `BlockRange` | Block range to get logs from. | -`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` | - -**Returns:** *`Promise>>`* - -Array of logs that match the parameters - -___ - -### subscribe - -▸ **subscribe**<**ArgsType**>(`eventName`: [ZRXTokenEvents](#eventcallback)‹*`ArgsType`*›, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string* - -*Defined in [generated-wrappers/zrx_token.ts:1289](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1289)* - -Subscribe to an event type emitted by the ZRXToken contract. - -**Type parameters:** - -▪ **ArgsType**: *[ZRXTokenEventArgs](#zrxtokeneventargs)* - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`eventName` | [ZRXTokenEvents](#enumeration-zrxtokenevents) | - | The ZRXToken contract event you would like to subscribe to. | -`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` | -`callback` | [EventCallback](#eventcallback)‹*`ArgsType`*› | - | Callback that gets called when a log is added/removed | -`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) | -`blockPollingIntervalMs?` | undefined \| number | - | - | - -**Returns:** *string* - -Subscription token used later to unsubscribe - -___ - -### unsubscribe - -▸ **unsubscribe**(`subscriptionToken`: string): *void* - -*Defined in [generated-wrappers/zrx_token.ts:1314](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1314)* - -Cancel a subscription - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`subscriptionToken` | string | Subscription token returned by `subscribe()` | - -**Returns:** *void* - -___ - -### unsubscribeAll - -▸ **unsubscribeAll**(): *void* - -*Defined in [generated-wrappers/zrx_token.ts:1320](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1320)* - -Cancels all existing subscriptions - -**Returns:** *void* - -___ - -### `Static` ABI - -▸ **ABI**(): *`ContractAbi`* - -*Defined in [generated-wrappers/zrx_token.ts:1061](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1061)* - -**Returns:** *`ContractAbi`* - -The contract ABI - -___ - -### `Static` deployAsync - -▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:1019](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L1019)* - -**Parameters:** - -Name | Type | ------- | ------ | -`bytecode` | string | -`abi` | `ContractAbi` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` deployFrom0xArtifactAsync - -▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:994](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L994)* - -**Parameters:** - -Name | Type | ------- | ------ | -`artifact` | `ContractArtifact` \| `SimpleContractArtifact` | -`supportedProvider` | `SupportedProvider` | -`txDefaults` | `Partial` | -`logDecodeDependencies` | object | - -**Returns:** *`Promise`* - -___ - -### `Static` strictArgumentEncodingCheck - -▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string* - -*Inherited from void* - - - -**Parameters:** - -Name | Type | ------- | ------ | -`inputAbi` | `DataItem`[] | -`args` | any[] | - -**Returns:** *string* - -## Object literals - -### allowance - -### ▪ **allowance**: *object* - -*Defined in [generated-wrappers/zrx_token.ts:916](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L916)* - -### callAsync - -▸ **callAsync**(`_owner`: string, `_spender`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:922](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L922)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`_owner` | string | - | -`_spender` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/zrx_token.ts:985](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L985)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/zrx_token.ts:978](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L978)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string, `_spender`: string): *string* - -*Defined in [generated-wrappers/zrx_token.ts:968](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L968)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`_owner` | string | -`_spender` | string | - -**Returns:** *string* - -___ - -### approve - -### ▪ **approve**: *object* - -*Defined in [generated-wrappers/zrx_token.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L119)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/zrx_token.ts:161](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L161)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | - | -`_value` | `BigNumber` | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_spender`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:221](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L221)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`_spender` | string | - | -`_value` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:189](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L189)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | - | -`_value` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/zrx_token.ts:284](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L284)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/zrx_token.ts:277](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L277)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_spender`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/zrx_token.ts:267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L267)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`_spender` | string | -`_value` | `BigNumber` | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L126)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_spender` | string | - | -`_value` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### balanceOf - -### ▪ **balanceOf**: *object* - -*Defined in [generated-wrappers/zrx_token.ts:626](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L626)* - -### callAsync - -▸ **callAsync**(`_owner`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:632](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L632)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`_owner` | string | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/zrx_token.ts:686](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L686)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/zrx_token.ts:679](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L679)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_owner`: string): *string* - -*Defined in [generated-wrappers/zrx_token.ts:673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L673)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`_owner` | string | - -**Returns:** *string* - -___ - -### decimals - -### ▪ **decimals**: *object* - -*Defined in [generated-wrappers/zrx_token.ts:564](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L564)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:570](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L570)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *number* - -*Defined in [generated-wrappers/zrx_token.ts:618](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L618)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *number* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *number* - -*Defined in [generated-wrappers/zrx_token.ts:611](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L611)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *number* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/zrx_token.ts:606](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L606)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### name - -### ▪ **name**: *object* - -*Defined in [generated-wrappers/zrx_token.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L57)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L63)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/zrx_token.ts:111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L111)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/zrx_token.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L104)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/zrx_token.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L99)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### symbol - -### ▪ **symbol**: *object* - -*Defined in [generated-wrappers/zrx_token.ts:694](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L694)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:700](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L700)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *string* - -*Defined in [generated-wrappers/zrx_token.ts:748](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L748)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *string* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *string* - -*Defined in [generated-wrappers/zrx_token.ts:741](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L741)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *string* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/zrx_token.ts:736](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L736)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### totalSupply - -### ▪ **totalSupply**: *object* - -*Defined in [generated-wrappers/zrx_token.ts:292](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L292)* - -### callAsync - -▸ **callAsync**(`callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:298](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L298)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/zrx_token.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L346)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *`BigNumber`* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`* - -*Defined in [generated-wrappers/zrx_token.ts:339](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L339)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *`BigNumber`* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(): *string* - -*Defined in [generated-wrappers/zrx_token.ts:334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L334)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Returns:** *string* - -___ - -### transfer - -### ▪ **transfer**: *object* - -*Defined in [generated-wrappers/zrx_token.ts:756](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L756)* - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/zrx_token.ts:795](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L795)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | - | -`_value` | `BigNumber` | - | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:848](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L848)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | ------- | ------ | ------ | -`_to` | string | - | -`_value` | `BigNumber` | - | -`callData` | `Partial` | {} | -`defaultBlock?` | `BlockParam` | - | - -**Returns:** *`Promise`* - -### estimateGasAsync - -▸ **estimateGasAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:823](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L823)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | - | -`_value` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/zrx_token.ts:908](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L908)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/zrx_token.ts:901](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L901)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_to`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/zrx_token.ts:891](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L891)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | ------- | ------ | -`_to` | string | -`_value` | `BigNumber` | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:763](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L763)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_to` | string | - | -`_value` | `BigNumber` | - | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -___ - -### transferFrom - -### ▪ **transferFrom**: *object* - -*Defined in [generated-wrappers/zrx_token.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L357)* - -ERC20 transferFrom, modified such that an allowance of MAX_UINT represents an unlimited allowance. - -### awaitTransactionSuccessAsync - -▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash`* - -*Defined in [generated-wrappers/zrx_token.ts:408](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L408)* - -Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting. -If the transaction was mined, but reverted, an error is thrown. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | Address to transfer from. | -`_to` | string | Address to transfer to. | -`_value` | `BigNumber` | Amount to transfer. | -`txData?` | `Partial` | Additional data for transaction | -`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success | -`timeoutMs?` | undefined \| number | - | - -**Returns:** *`PromiseWithTransactionHash`* - -A promise that resolves when the transaction is successful - -### callAsync - -▸ **callAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:485](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L485)* - -Sends a read-only call to the contract method. Returns the result that would happen if one were to send an -Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas -since they don't modify state. - -**Parameters:** - -Name | Type | Default | Description | ------- | ------ | ------ | ------ | -`_from` | string | - | Address to transfer from. | -`_to` | string | - | Address to transfer to. | -`_value` | `BigNumber` | - | Amount to transfer. | -`callData` | `Partial` | {} | - | -`defaultBlock?` | `BlockParam` | - | - | - -**Returns:** *`Promise`* - -Success of transfer. - -### estimateGasAsync - -▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:446](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L446)* - -Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | Address to transfer from. | -`_to` | string | Address to transfer to. | -`_value` | `BigNumber` | Amount to transfer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -### getABIDecodedReturnData - -▸ **getABIDecodedReturnData**(`returnData`: string): *boolean* - -*Defined in [generated-wrappers/zrx_token.ts:556](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L556)* - -**Parameters:** - -Name | Type | ------- | ------ | -`returnData` | string | - -**Returns:** *boolean* - -### getABIDecodedTransactionData - -▸ **getABIDecodedTransactionData**(`callData`: string): *boolean* - -*Defined in [generated-wrappers/zrx_token.ts:549](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L549)* - -**Parameters:** - -Name | Type | ------- | ------ | -`callData` | string | - -**Returns:** *boolean* - -### getABIEncodedTransactionData - -▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_value`: `BigNumber`): *string* - -*Defined in [generated-wrappers/zrx_token.ts:537](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L537)* - -Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before -sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used -to create a 0x transaction (see protocol spec for more details). - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | Address to transfer from. | -`_to` | string | Address to transfer to. | -`_value` | `BigNumber` | Amount to transfer. | - -**Returns:** *string* - -### sendTransactionAsync - -▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial` | undefined): *`Promise`* - -*Defined in [generated-wrappers/zrx_token.ts:367](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L367)* - -Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write -Ethereum operation and will cost gas. - -**Parameters:** - -Name | Type | Description | ------- | ------ | ------ | -`_from` | string | Address to transfer from. | -`_to` | string | Address to transfer to. | -`_value` | `BigNumber` | Amount to transfer. | -`txData?` | `Partial` \| undefined | Additional data for transaction | - -**Returns:** *`Promise`* - -The hash of the transaction - -
- -> # Class: CoordinatorServerError - -## Hierarchy - -* `Error` - - * **CoordinatorServerError** - -## Index - -### Constructors - -* [constructor](#constructor) - -### Properties - -* [approvedOrders](#optional-approvedorders) -* [cancellations](#optional-cancellations) -* [errors](#errors) -* [message](#message) -* [name](#name) -* [stack](#optional-stack) -* [Error](#static-error) - -## Constructors - -### constructor - -\+ **new CoordinatorServerError**(`message`: [CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg), `approvedOrders`: `SignedOrder`[], `cancellations`: [CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[], `errors`: [CoordinatorServerResponse](#interface-coordinatorserverresponse)[]): *[CoordinatorServerError](#class-coordinatorservererror)* - -*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* - -**Parameters:** - -Name | Type | ------- | ------ | -`message` | [CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg) | -`approvedOrders` | `SignedOrder`[] | -`cancellations` | [CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[] | -`errors` | [CoordinatorServerResponse](#interface-coordinatorserverresponse)[] | - -**Returns:** *[CoordinatorServerError](#class-coordinatorservererror)* - -## Properties - -### `Optional` approvedOrders - -• **approvedOrders**? : *`SignedOrder`[]* = [] - -*Defined in [utils/coordinator_server_types.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L41)* - -___ - -### `Optional` cancellations - -• **cancellations**? : *[CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[]* = [] - -*Defined in [utils/coordinator_server_types.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L42)* - -___ - -### errors - -• **errors**: *[CoordinatorServerResponse](#interface-coordinatorserverresponse)[]* - -*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* - -___ - -### message - -• **message**: *[CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg)* - -*Overrides void* - -*Defined in [utils/coordinator_server_types.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L40)* - -___ - -### name - -• **name**: *string* - -*Inherited from void* - - - -___ - -### `Optional` stack - -• **stack**? : *undefined | string* - -*Inherited from void* - -*Overrides void* - - - -___ - -### `Static` Error - -▪ **Error**: *`ErrorConstructor`* - - - -
- -> # Enumeration: AssetProxyOwnerEvents - -## Index - -### Enumeration members - -* [AssetProxyRegistration](#assetproxyregistration) -* [Confirmation](#confirmation) -* [ConfirmationTimeSet](#confirmationtimeset) -* [Deposit](#deposit) -* [Execution](#execution) -* [ExecutionFailure](#executionfailure) -* [OwnerAddition](#owneraddition) -* [OwnerRemoval](#ownerremoval) -* [RequirementChange](#requirementchange) -* [Revocation](#revocation) -* [Submission](#submission) -* [TimeLockChange](#timelockchange) - -## Enumeration members - -### AssetProxyRegistration - -• **AssetProxyRegistration**: = "AssetProxyRegistration" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L49)* - -___ - -### Confirmation - -• **Confirmation**: = "Confirmation" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L52)* - -___ - -### ConfirmationTimeSet - -• **ConfirmationTimeSet**: = "ConfirmationTimeSet" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L50)* - -___ - -### Deposit - -• **Deposit**: = "Deposit" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L57)* - -___ - -### Execution - -• **Execution**: = "Execution" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L55)* - -___ - -### ExecutionFailure - -• **ExecutionFailure**: = "ExecutionFailure" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L56)* - -___ - -### OwnerAddition - -• **OwnerAddition**: = "OwnerAddition" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L58)* - -___ - -### OwnerRemoval - -• **OwnerRemoval**: = "OwnerRemoval" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L59)* - -___ - -### RequirementChange - -• **RequirementChange**: = "RequirementChange" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L60)* - -___ - -### Revocation - -• **Revocation**: = "Revocation" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L53)* - -___ - -### Submission - -• **Submission**: = "Submission" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L54)* - -___ - -### TimeLockChange - -• **TimeLockChange**: = "TimeLockChange" - -*Defined in [generated-wrappers/asset_proxy_owner.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L51)* - -
- -> # Enumeration: CoordinatorRegistryEvents - -## Index - -### Enumeration members - -* [CoordinatorEndpointSet](#coordinatorendpointset) - -## Enumeration members - -### CoordinatorEndpointSet - -• **CoordinatorEndpointSet**: = "CoordinatorEndpointSet" - -*Defined in [generated-wrappers/coordinator_registry.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L37)* - -
- -> # Enumeration: DummyERC20TokenEvents - -## Index - -### Enumeration members - -* [Approval](#approval) -* [Transfer](#transfer) - -## Enumeration members - -### Approval - -• **Approval**: = "Approval" - -*Defined in [generated-wrappers/dummy_erc20_token.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L38)* - -___ - -### Transfer - -• **Transfer**: = "Transfer" - -*Defined in [generated-wrappers/dummy_erc20_token.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L37)* - -
- -> # Enumeration: DummyERC721TokenEvents - -## Index - -### Enumeration members - -* [Approval](#approval) -* [ApprovalForAll](#approvalforall) -* [Transfer](#transfer) - -## Enumeration members - -### Approval - -• **Approval**: = "Approval" - -*Defined in [generated-wrappers/dummy_erc721_token.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L41)* - -___ - -### ApprovalForAll - -• **ApprovalForAll**: = "ApprovalForAll" - -*Defined in [generated-wrappers/dummy_erc721_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L42)* - -___ - -### Transfer - -• **Transfer**: = "Transfer" - -*Defined in [generated-wrappers/dummy_erc721_token.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L40)* - -
- -> # Enumeration: ERC20ProxyEvents - -## Index - -### Enumeration members - -* [AuthorizedAddressAdded](#authorizedaddressadded) -* [AuthorizedAddressRemoved](#authorizedaddressremoved) - -## Enumeration members - -### AuthorizedAddressAdded - -• **AuthorizedAddressAdded**: = "AuthorizedAddressAdded" - -*Defined in [generated-wrappers/erc20_proxy.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L39)* - -___ - -### AuthorizedAddressRemoved - -• **AuthorizedAddressRemoved**: = "AuthorizedAddressRemoved" - -*Defined in [generated-wrappers/erc20_proxy.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L40)* - -
- -> # Enumeration: ERC20TokenEvents - -## Index - -### Enumeration members - -* [Approval](#approval) -* [Transfer](#transfer) - -## Enumeration members - -### Approval - -• **Approval**: = "Approval" - -*Defined in [generated-wrappers/erc20_token.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L38)* - -___ - -### Transfer - -• **Transfer**: = "Transfer" - -*Defined in [generated-wrappers/erc20_token.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L37)* - -
- -> # Enumeration: ERC721ProxyEvents - -## Index - -### Enumeration members - -* [AuthorizedAddressAdded](#authorizedaddressadded) -* [AuthorizedAddressRemoved](#authorizedaddressremoved) - -## Enumeration members - -### AuthorizedAddressAdded - -• **AuthorizedAddressAdded**: = "AuthorizedAddressAdded" - -*Defined in [generated-wrappers/erc721_proxy.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L39)* - -___ - -### AuthorizedAddressRemoved - -• **AuthorizedAddressRemoved**: = "AuthorizedAddressRemoved" - -*Defined in [generated-wrappers/erc721_proxy.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L40)* - -
- -> # Enumeration: ERC721TokenEvents - -## Index - -### Enumeration members - -* [Approval](#approval) -* [ApprovalForAll](#approvalforall) -* [Transfer](#transfer) - -## Enumeration members - -### Approval - -• **Approval**: = "Approval" - -*Defined in [generated-wrappers/erc721_token.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L41)* - -___ - -### ApprovalForAll - -• **ApprovalForAll**: = "ApprovalForAll" - -*Defined in [generated-wrappers/erc721_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L42)* - -___ - -### Transfer - -• **Transfer**: = "Transfer" - -*Defined in [generated-wrappers/erc721_token.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L40)* - -
- -> # Enumeration: ExchangeEvents - -## Index - -### Enumeration members - -* [AssetProxyRegistered](#assetproxyregistered) -* [Cancel](#cancel) -* [CancelUpTo](#cancelupto) -* [Fill](#fill) -* [SignatureValidatorApproval](#signaturevalidatorapproval) - -## Enumeration members - -### AssetProxyRegistered - -• **AssetProxyRegistered**: = "AssetProxyRegistered" - -*Defined in [generated-wrappers/exchange.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L46)* - -___ - -### Cancel - -• **Cancel**: = "Cancel" - -*Defined in [generated-wrappers/exchange.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L44)* - -___ - -### CancelUpTo - -• **CancelUpTo**: = "CancelUpTo" - -*Defined in [generated-wrappers/exchange.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L45)* - -___ - -### Fill - -• **Fill**: = "Fill" - -*Defined in [generated-wrappers/exchange.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L43)* - -___ - -### SignatureValidatorApproval - -• **SignatureValidatorApproval**: = "SignatureValidatorApproval" - -*Defined in [generated-wrappers/exchange.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L42)* - -
- -> # Enumeration: MultiAssetProxyEvents - -## Index - -### Enumeration members - -* [AssetProxyRegistered](#assetproxyregistered) -* [AuthorizedAddressAdded](#authorizedaddressadded) -* [AuthorizedAddressRemoved](#authorizedaddressremoved) - -## Enumeration members - -### AssetProxyRegistered - -• **AssetProxyRegistered**: = "AssetProxyRegistered" - -*Defined in [generated-wrappers/multi_asset_proxy.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L42)* - -___ - -### AuthorizedAddressAdded - -• **AuthorizedAddressAdded**: = "AuthorizedAddressAdded" - -*Defined in [generated-wrappers/multi_asset_proxy.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L40)* - -___ - -### AuthorizedAddressRemoved - -• **AuthorizedAddressRemoved**: = "AuthorizedAddressRemoved" - -*Defined in [generated-wrappers/multi_asset_proxy.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L41)* - -
- -> # Enumeration: WETH9Events - -## Index - -### Enumeration members - -* [Approval](#approval) -* [Deposit](#deposit) -* [Transfer](#transfer) -* [Withdrawal](#withdrawal) - -## Enumeration members - -### Approval - -• **Approval**: = "Approval" - -*Defined in [generated-wrappers/weth9.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L41)* - -___ - -### Deposit - -• **Deposit**: = "Deposit" - -*Defined in [generated-wrappers/weth9.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L43)* - -___ - -### Transfer - -• **Transfer**: = "Transfer" - -*Defined in [generated-wrappers/weth9.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L42)* - -___ - -### Withdrawal - -• **Withdrawal**: = "Withdrawal" - -*Defined in [generated-wrappers/weth9.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L44)* - -
- -> # Enumeration: ZRXTokenEvents - -## Index - -### Enumeration members - -* [Approval](#approval) -* [Transfer](#transfer) - -## Enumeration members - -### Approval - -• **Approval**: = "Approval" - -*Defined in [generated-wrappers/zrx_token.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L38)* - -___ - -### Transfer - -• **Transfer**: = "Transfer" - -*Defined in [generated-wrappers/zrx_token.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L37)* - -
- -> # Enumeration: OrderStatus - -## Index - -### Enumeration members - -* [Cancelled](#cancelled) -* [Expired](#expired) -* [Fillable](#fillable) -* [FullyFilled](#fullyfilled) -* [Invalid](#invalid) -* [InvalidMakerAssetAmount](#invalidmakerassetamount) -* [InvalidTakerAssetAmount](#invalidtakerassetamount) - -## Enumeration members - -### Cancelled - -• **Cancelled**: - -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L72)* - -___ - -### Expired - -• **Expired**: - -*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L70)* - -___ - -### Fillable - -• **Fillable**: - -*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L69)* - -___ - -### FullyFilled - -• **FullyFilled**: - -*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L71)* - -___ - -### Invalid - -• **Invalid**: = 0 - -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L66)* - -___ - -### InvalidMakerAssetAmount - -• **InvalidMakerAssetAmount**: - -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L67)* - -___ - -### InvalidTakerAssetAmount - -• **InvalidTakerAssetAmount**: - -*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L68)* - -
- -> # Enumeration: CoordinatorServerErrorMsg - -## Index - -### Enumeration members - -* [CancellationFailed](#cancellationfailed) -* [FillFailed](#fillfailed) - -## Enumeration members - -### CancellationFailed - -• **CancellationFailed**: = "Failed to cancel with some coordinator server(s). See errors for more info. See cancellations for successful cancellations." - -*Defined in [utils/coordinator_server_types.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L59)* - -___ - -### FillFailed - -• **FillFailed**: = "Failed to obtain approval signatures from some coordinator server(s). See errors for more info. Current transaction has been abandoned but you may resubmit with only approvedOrders (a new ZeroEx transaction will have to be signed)." - -*Defined in [utils/coordinator_server_types.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L60)* - -
- -> # Enumeration: ContractWrappersError - -## Index - -### Enumeration members - -* [ContractNotDeployedOnNetwork](#contractnotdeployedonnetwork) -* [ERC721NoApproval](#erc721noapproval) -* [ERC721OwnerNotFound](#erc721ownernotfound) -* [InsufficientAllowanceForTransfer](#insufficientallowancefortransfer) -* [InsufficientBalanceForTransfer](#insufficientbalancefortransfer) -* [InsufficientEthBalanceForDeposit](#insufficientethbalancefordeposit) -* [InsufficientWEthBalanceForWithdrawal](#insufficientwethbalanceforwithdrawal) -* [InvalidJump](#invalidjump) -* [OutOfGas](#outofgas) -* [SignatureRequestDenied](#signaturerequestdenied) -* [SubscriptionAlreadyPresent](#subscriptionalreadypresent) -* [SubscriptionNotFound](#subscriptionnotfound) - -## Enumeration members - -### ContractNotDeployedOnNetwork - -• **ContractNotDeployedOnNetwork**: = "CONTRACT_NOT_DEPLOYED_ON_NETWORK" - -*Defined in [utils/decorators.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L4)* - -___ - -### ERC721NoApproval - -• **ERC721NoApproval**: = "ERC_721_NO_APPROVAL" - -*Defined in [utils/decorators.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L14)* - -___ - -### ERC721OwnerNotFound - -• **ERC721OwnerNotFound**: = "ERC_721_OWNER_NOT_FOUND" - -*Defined in [utils/decorators.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L13)* - -___ - -### InsufficientAllowanceForTransfer - -• **InsufficientAllowanceForTransfer**: = "INSUFFICIENT_ALLOWANCE_FOR_TRANSFER" - -*Defined in [utils/decorators.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L5)* - -___ - -### InsufficientBalanceForTransfer - -• **InsufficientBalanceForTransfer**: = "INSUFFICIENT_BALANCE_FOR_TRANSFER" - -*Defined in [utils/decorators.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L6)* - -___ - -### InsufficientEthBalanceForDeposit - -• **InsufficientEthBalanceForDeposit**: = "INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT" - -*Defined in [utils/decorators.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L7)* - -___ - -### InsufficientWEthBalanceForWithdrawal - -• **InsufficientWEthBalanceForWithdrawal**: = "INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL" - -*Defined in [utils/decorators.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L8)* - -___ - -### InvalidJump - -• **InvalidJump**: = "INVALID_JUMP" - -*Defined in [utils/decorators.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L9)* - -___ - -### OutOfGas - -• **OutOfGas**: = "OUT_OF_GAS" - -*Defined in [utils/decorators.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L10)* - -___ - -### SignatureRequestDenied - -• **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" - -*Defined in [utils/decorators.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L15)* - -___ - -### SubscriptionAlreadyPresent - -• **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" - -*Defined in [utils/decorators.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L12)* - -___ - -### SubscriptionNotFound - -• **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" - -*Defined in [utils/decorators.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/decorators.ts#L11)* - -
- -> # Interface: AssetProxyOwnerAssetProxyRegistrationEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerAssetProxyRegistrationEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [assetProxyContract](#assetproxycontract) -* [isRegistered](#isregistered) - -## Properties - -### assetProxyContract - -• **assetProxyContract**: *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L64)* - -___ - -### isRegistered - -• **isRegistered**: *boolean* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L65)* - -
- -> # Interface: AssetProxyOwnerConfirmationEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerConfirmationEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [sender](#sender) -* [transactionId](#transactionid) - -## Properties - -### sender - -• **sender**: *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:78](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L78)* - -___ - -### transactionId - -• **transactionId**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L79)* - -
- -> # Interface: AssetProxyOwnerConfirmationTimeSetEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerConfirmationTimeSetEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [confirmationTime](#confirmationtime) -* [transactionId](#transactionid) - -## Properties - -### confirmationTime - -• **confirmationTime**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L70)* - -___ - -### transactionId - -• **transactionId**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L69)* - -
- -> # Interface: AssetProxyOwnerDepositEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerDepositEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [sender](#sender) -* [value](#value) - -## Properties - -### sender - -• **sender**: *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:100](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L100)* - -___ - -### value - -• **value**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L101)* - -
- -> # Interface: AssetProxyOwnerExecutionEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerExecutionEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [transactionId](#transactionid) - -## Properties - -### transactionId - -• **transactionId**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L92)* - -
- -> # Interface: AssetProxyOwnerExecutionFailureEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerExecutionFailureEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [transactionId](#transactionid) - -## Properties - -### transactionId - -• **transactionId**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L96)* - -
- -> # Interface: AssetProxyOwnerOwnerAdditionEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerOwnerAdditionEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [owner](#owner) - -## Properties - -### owner - -• **owner**: *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:105](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L105)* - -
- -> # Interface: AssetProxyOwnerOwnerRemovalEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerOwnerRemovalEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [owner](#owner) - -## Properties - -### owner - -• **owner**: *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:109](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L109)* - -
- -> # Interface: AssetProxyOwnerRequirementChangeEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerRequirementChangeEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [required](#required) - -## Properties - -### required - -• **required**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:113](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L113)* - -
- -> # Interface: AssetProxyOwnerRevocationEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerRevocationEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [sender](#sender) -* [transactionId](#transactionid) - -## Properties - -### sender - -• **sender**: *string* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:83](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L83)* - -___ - -### transactionId - -• **transactionId**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L84)* - -
- -> # Interface: AssetProxyOwnerSubmissionEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerSubmissionEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [transactionId](#transactionid) - -## Properties - -### transactionId - -• **transactionId**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:88](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L88)* - -
- -> # Interface: AssetProxyOwnerTimeLockChangeEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **AssetProxyOwnerTimeLockChangeEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [secondsTimeLocked](#secondstimelocked) - -## Properties - -### secondsTimeLocked - -• **secondsTimeLocked**: *`BigNumber`* - -*Defined in [generated-wrappers/asset_proxy_owner.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/asset_proxy_owner.ts#L74)* - -
- -> # Interface: CoordinatorRegistryCoordinatorEndpointSetEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **CoordinatorRegistryCoordinatorEndpointSetEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [coordinatorEndpoint](#coordinatorendpoint) -* [coordinatorOperator](#coordinatoroperator) - -## Properties - -### coordinatorEndpoint - -• **coordinatorEndpoint**: *string* - -*Defined in [generated-wrappers/coordinator_registry.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L42)* - -___ - -### coordinatorOperator - -• **coordinatorOperator**: *string* - -*Defined in [generated-wrappers/coordinator_registry.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/coordinator_registry.ts#L41)* - -
- -> # Interface: DummyERC20TokenApprovalEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **DummyERC20TokenApprovalEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_owner](#_owner) -* [_spender](#_spender) -* [_value](#_value) - -## Properties - -### _owner - -• **_owner**: *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L48)* - -___ - -### _spender - -• **_spender**: *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L49)* - -___ - -### _value - -• **_value**: *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L50)* - -
- -> # Interface: DummyERC20TokenTransferEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **DummyERC20TokenTransferEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_from](#_from) -* [_to](#_to) -* [_value](#_value) - -## Properties - -### _from - -• **_from**: *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L42)* - -___ - -### _to - -• **_to**: *string* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L43)* - -___ - -### _value - -• **_value**: *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc20_token.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc20_token.ts#L44)* - -
- -> # Interface: DummyERC721TokenApprovalEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **DummyERC721TokenApprovalEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_approved](#_approved) -* [_owner](#_owner) -* [_tokenId](#_tokenid) - -## Properties - -### _approved - -• **_approved**: *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L53)* - -___ - -### _owner - -• **_owner**: *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L52)* - -___ - -### _tokenId - -• **_tokenId**: *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L54)* - -
- -> # Interface: DummyERC721TokenApprovalForAllEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **DummyERC721TokenApprovalForAllEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_approved](#_approved) -* [_operator](#_operator) -* [_owner](#_owner) - -## Properties - -### _approved - -• **_approved**: *boolean* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L60)* - -___ - -### _operator - -• **_operator**: *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L59)* - -___ - -### _owner - -• **_owner**: *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L58)* - -
- -> # Interface: DummyERC721TokenTransferEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **DummyERC721TokenTransferEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_from](#_from) -* [_to](#_to) -* [_tokenId](#_tokenid) - -## Properties - -### _from - -• **_from**: *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L46)* - -___ - -### _to - -• **_to**: *string* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L47)* - -___ - -### _tokenId - -• **_tokenId**: *`BigNumber`* - -*Defined in [generated-wrappers/dummy_erc721_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/dummy_erc721_token.ts#L48)* - -
- -> # Interface: ERC20ProxyAuthorizedAddressAddedEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ERC20ProxyAuthorizedAddressAddedEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [caller](#caller) -* [target](#target) - -## Properties - -### caller - -• **caller**: *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L45)* - -___ - -### target - -• **target**: *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L44)* - -
- -> # Interface: ERC20ProxyAuthorizedAddressRemovedEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ERC20ProxyAuthorizedAddressRemovedEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [caller](#caller) -* [target](#target) - -## Properties - -### caller - -• **caller**: *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L50)* - -___ - -### target - -• **target**: *string* - -*Defined in [generated-wrappers/erc20_proxy.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_proxy.ts#L49)* - -
- -> # Interface: ERC20TokenApprovalEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ERC20TokenApprovalEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_owner](#_owner) -* [_spender](#_spender) -* [_value](#_value) - -## Properties - -### _owner - -• **_owner**: *string* - -*Defined in [generated-wrappers/erc20_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L48)* - -___ - -### _spender - -• **_spender**: *string* - -*Defined in [generated-wrappers/erc20_token.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L49)* - -___ - -### _value - -• **_value**: *`BigNumber`* - -*Defined in [generated-wrappers/erc20_token.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L50)* - -
- -> # Interface: ERC20TokenTransferEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ERC20TokenTransferEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_from](#_from) -* [_to](#_to) -* [_value](#_value) - -## Properties - -### _from - -• **_from**: *string* - -*Defined in [generated-wrappers/erc20_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L42)* - -___ - -### _to - -• **_to**: *string* - -*Defined in [generated-wrappers/erc20_token.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L43)* - -___ - -### _value - -• **_value**: *`BigNumber`* - -*Defined in [generated-wrappers/erc20_token.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc20_token.ts#L44)* - -
- -> # Interface: ERC721ProxyAuthorizedAddressAddedEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ERC721ProxyAuthorizedAddressAddedEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [caller](#caller) -* [target](#target) - -## Properties - -### caller - -• **caller**: *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L45)* - -___ - -### target - -• **target**: *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L44)* - -
- -> # Interface: ERC721ProxyAuthorizedAddressRemovedEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ERC721ProxyAuthorizedAddressRemovedEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [caller](#caller) -* [target](#target) - -## Properties - -### caller - -• **caller**: *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L50)* - -___ - -### target - -• **target**: *string* - -*Defined in [generated-wrappers/erc721_proxy.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_proxy.ts#L49)* - -
- -> # Interface: ERC721TokenApprovalEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ERC721TokenApprovalEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_approved](#_approved) -* [_owner](#_owner) -* [_tokenId](#_tokenid) - -## Properties - -### _approved - -• **_approved**: *string* - -*Defined in [generated-wrappers/erc721_token.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L53)* - -___ - -### _owner - -• **_owner**: *string* - -*Defined in [generated-wrappers/erc721_token.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L52)* - -___ - -### _tokenId - -• **_tokenId**: *`BigNumber`* - -*Defined in [generated-wrappers/erc721_token.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L54)* - -
- -> # Interface: ERC721TokenApprovalForAllEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ERC721TokenApprovalForAllEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_approved](#_approved) -* [_operator](#_operator) -* [_owner](#_owner) - -## Properties - -### _approved - -• **_approved**: *boolean* - -*Defined in [generated-wrappers/erc721_token.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L60)* - -___ - -### _operator - -• **_operator**: *string* - -*Defined in [generated-wrappers/erc721_token.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L59)* - -___ - -### _owner - -• **_owner**: *string* - -*Defined in [generated-wrappers/erc721_token.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L58)* - -
- -> # Interface: ERC721TokenTransferEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ERC721TokenTransferEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_from](#_from) -* [_to](#_to) -* [_tokenId](#_tokenid) - -## Properties - -### _from - -• **_from**: *string* - -*Defined in [generated-wrappers/erc721_token.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L46)* - -___ - -### _to - -• **_to**: *string* - -*Defined in [generated-wrappers/erc721_token.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L47)* - -___ - -### _tokenId - -• **_tokenId**: *`BigNumber`* - -*Defined in [generated-wrappers/erc721_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/erc721_token.ts#L48)* - -
- -> # Interface: ExchangeAssetProxyRegisteredEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ExchangeAssetProxyRegisteredEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [assetProxy](#assetproxy) -* [id](#id) - -## Properties - -### assetProxy - -• **assetProxy**: *string* - -*Defined in [generated-wrappers/exchange.ts:86](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L86)* - -___ - -### id - -• **id**: *string* - -*Defined in [generated-wrappers/exchange.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L85)* - -
- -> # Interface: ExchangeCancelEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ExchangeCancelEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [feeRecipientAddress](#feerecipientaddress) -* [makerAddress](#makeraddress) -* [makerAssetData](#makerassetdata) -* [orderHash](#orderhash) -* [senderAddress](#senderaddress) -* [takerAssetData](#takerassetdata) - -## Properties - -### feeRecipientAddress - -• **feeRecipientAddress**: *string* - -*Defined in [generated-wrappers/exchange.ts:71](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L71)* - -___ - -### makerAddress - -• **makerAddress**: *string* - -*Defined in [generated-wrappers/exchange.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L70)* - -___ - -### makerAssetData - -• **makerAssetData**: *string* - -*Defined in [generated-wrappers/exchange.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L74)* - -___ - -### orderHash - -• **orderHash**: *string* - -*Defined in [generated-wrappers/exchange.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L73)* - -___ - -### senderAddress - -• **senderAddress**: *string* - -*Defined in [generated-wrappers/exchange.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L72)* - -___ - -### takerAssetData - -• **takerAssetData**: *string* - -*Defined in [generated-wrappers/exchange.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L75)* - -
- -> # Interface: ExchangeCancelUpToEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ExchangeCancelUpToEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [makerAddress](#makeraddress) -* [orderEpoch](#orderepoch) -* [senderAddress](#senderaddress) - -## Properties - -### makerAddress - -• **makerAddress**: *string* - -*Defined in [generated-wrappers/exchange.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L79)* - -___ - -### orderEpoch - -• **orderEpoch**: *`BigNumber`* - -*Defined in [generated-wrappers/exchange.ts:81](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L81)* - -___ - -### senderAddress - -• **senderAddress**: *string* - -*Defined in [generated-wrappers/exchange.ts:80](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L80)* - -
- -> # Interface: ExchangeFillEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ExchangeFillEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [feeRecipientAddress](#feerecipientaddress) -* [makerAddress](#makeraddress) -* [makerAssetData](#makerassetdata) -* [makerAssetFilledAmount](#makerassetfilledamount) -* [makerFeePaid](#makerfeepaid) -* [orderHash](#orderhash) -* [senderAddress](#senderaddress) -* [takerAddress](#takeraddress) -* [takerAssetData](#takerassetdata) -* [takerAssetFilledAmount](#takerassetfilledamount) -* [takerFeePaid](#takerfeepaid) - -## Properties - -### feeRecipientAddress - -• **feeRecipientAddress**: *string* - -*Defined in [generated-wrappers/exchange.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L57)* - -___ - -### makerAddress - -• **makerAddress**: *string* - -*Defined in [generated-wrappers/exchange.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L56)* - -___ - -### makerAssetData - -• **makerAssetData**: *string* - -*Defined in [generated-wrappers/exchange.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L65)* +*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L89)* ___ -### makerAssetFilledAmount +## Fillable -• **makerAssetFilledAmount**: *`BigNumber`* +• **Fillable**: -*Defined in [generated-wrappers/exchange.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L60)* +*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L88)* ___ -### makerFeePaid +## FullyFilled -• **makerFeePaid**: *`BigNumber`* +• **FullyFilled**: -*Defined in [generated-wrappers/exchange.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L62)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L90)* ___ -### orderHash +## Invalid -• **orderHash**: *string* +• **Invalid**: = 0 -*Defined in [generated-wrappers/exchange.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L64)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L85)* ___ -### senderAddress +## InvalidMakerAssetAmount -• **senderAddress**: *string* +• **InvalidMakerAssetAmount**: -*Defined in [generated-wrappers/exchange.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L59)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L86)* ___ -### takerAddress +## InvalidTakerAssetAmount -• **takerAddress**: *string* - -*Defined in [generated-wrappers/exchange.ts:58](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L58)* +• **InvalidTakerAssetAmount**: -___ +*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L87)* -### takerAssetData +
-• **takerAssetData**: *string* +# Enumeration: CoordinatorServerErrorMsg -*Defined in [generated-wrappers/exchange.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L66)* -___ +### Enumeration members -### takerAssetFilledAmount +## CancellationFailed -• **takerAssetFilledAmount**: *`BigNumber`* +• **CancellationFailed**: = "Failed to cancel with some coordinator server(s). See errors for more info. See cancellations for successful cancellations." -*Defined in [generated-wrappers/exchange.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L61)* +*Defined in [utils/coordinator_server_types.ts:59](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L59)* ___ -### takerFeePaid +## FillFailed -• **takerFeePaid**: *`BigNumber`* +• **FillFailed**: = "Failed to obtain approval signatures from some coordinator server(s). See errors for more info. Current transaction has been abandoned but you may resubmit with only approvedOrders (a new ZeroEx transaction will have to be signed)." -*Defined in [generated-wrappers/exchange.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L63)* +*Defined in [utils/coordinator_server_types.ts:60](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L60)*
-> # Interface: ExchangeSignatureValidatorApprovalEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ExchangeSignatureValidatorApprovalEventArgs** - -## Indexable +# Enumeration: ContractError -● \[▪ **argName**: *string*\]: `ContractEventArg` -## Index - -### Properties - -* [approved](#approved) -* [signerAddress](#signeraddress) -* [validatorAddress](#validatoraddress) - -## Properties +### Enumeration members -### approved +## ContractNotDeployedOnNetwork -• **approved**: *boolean* +• **ContractNotDeployedOnNetwork**: = "CONTRACT_NOT_DEPLOYED_ON_NETWORK" -*Defined in [generated-wrappers/exchange.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L52)* +*Defined in [utils/decorators.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L4)* ___ -### signerAddress +## ERC721NoApproval -• **signerAddress**: *string* +• **ERC721NoApproval**: = "ERC_721_NO_APPROVAL" -*Defined in [generated-wrappers/exchange.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L50)* +*Defined in [utils/decorators.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L14)* ___ -### validatorAddress +## ERC721OwnerNotFound -• **validatorAddress**: *string* - -*Defined in [generated-wrappers/exchange.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/exchange.ts#L51)* - -
- -> # Interface: MultiAssetProxyAssetProxyRegisteredEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **MultiAssetProxyAssetProxyRegisteredEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [assetProxy](#assetproxy) -* [id](#id) - -## Properties - -### assetProxy - -• **assetProxy**: *string* +• **ERC721OwnerNotFound**: = "ERC_721_OWNER_NOT_FOUND" -*Defined in [generated-wrappers/multi_asset_proxy.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L57)* +*Defined in [utils/decorators.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L13)* ___ -### id - -• **id**: *string* +## InsufficientAllowanceForTransfer -*Defined in [generated-wrappers/multi_asset_proxy.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L56)* - -
+• **InsufficientAllowanceForTransfer**: = "INSUFFICIENT_ALLOWANCE_FOR_TRANSFER" -> # Interface: MultiAssetProxyAuthorizedAddressAddedEventArgs +*Defined in [utils/decorators.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L5)* -## Hierarchy +___ -* `DecodedLogArgs` +## InsufficientBalanceForTransfer - * **MultiAssetProxyAuthorizedAddressAddedEventArgs** +• **InsufficientBalanceForTransfer**: = "INSUFFICIENT_BALANCE_FOR_TRANSFER" -## Indexable +*Defined in [utils/decorators.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L6)* -● \[▪ **argName**: *string*\]: `ContractEventArg` +___ -## Index +## InsufficientEthBalanceForDeposit -### Properties +• **InsufficientEthBalanceForDeposit**: = "INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT" -* [caller](#caller) -* [target](#target) +*Defined in [utils/decorators.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L7)* -## Properties +___ -### caller +## InsufficientWEthBalanceForWithdrawal -• **caller**: *string* +• **InsufficientWEthBalanceForWithdrawal**: = "INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL" -*Defined in [generated-wrappers/multi_asset_proxy.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L47)* +*Defined in [utils/decorators.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L8)* ___ -### target +## InvalidJump -• **target**: *string* - -*Defined in [generated-wrappers/multi_asset_proxy.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L46)* - -
+• **InvalidJump**: = "INVALID_JUMP" -> # Interface: MultiAssetProxyAuthorizedAddressRemovedEventArgs +*Defined in [utils/decorators.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L9)* -## Hierarchy +___ -* `DecodedLogArgs` +## OutOfGas - * **MultiAssetProxyAuthorizedAddressRemovedEventArgs** +• **OutOfGas**: = "OUT_OF_GAS" -## Indexable +*Defined in [utils/decorators.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L10)* -● \[▪ **argName**: *string*\]: `ContractEventArg` +___ -## Index +## SignatureRequestDenied -### Properties +• **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -* [caller](#caller) -* [target](#target) +*Defined in [utils/decorators.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L15)* -## Properties +___ -### caller +## SubscriptionAlreadyPresent -• **caller**: *string* +• **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" -*Defined in [generated-wrappers/multi_asset_proxy.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L52)* +*Defined in [utils/decorators.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L12)* ___ -### target +## SubscriptionNotFound -• **target**: *string* +• **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" -*Defined in [generated-wrappers/multi_asset_proxy.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/multi_asset_proxy.ts#L51)* +*Defined in [utils/decorators.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L11)*
-> # Interface: WETH9ApprovalEventArgs +# Interface: ContractWrappersConfig -## Hierarchy - -* `DecodedLogArgs` - - * **WETH9ApprovalEventArgs** +networkId: The id of the underlying ethereum network your provider is connected to. (1-mainnet, 3-ropsten, 4-rinkeby, 42-kovan, 50-testrpc) +gasPrice: Gas price to use with every transaction +contractAddresses: The address of all contracts to use. Defaults to the known addresses based on networkId. +blockPollingIntervalMs: The interval to use for block polling in event watching methods (defaults to 1000) -## Indexable +### Hierarchy -● \[▪ **argName**: *string*\]: `ContractEventArg` +* **ContractWrappersConfig** -## Index ### Properties -* [_owner](#_owner) -* [_spender](#_spender) -* [_value](#_value) - -## Properties +## `Optional` blockPollingIntervalMs -### _owner - -• **_owner**: *string* +• **blockPollingIntervalMs**? : *undefined | number* -*Defined in [generated-wrappers/weth9.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L48)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L56)* ___ -### _spender +## `Optional` contractAddresses -• **_spender**: *string* +• **contractAddresses**? : *`ContractAddresses`* -*Defined in [generated-wrappers/weth9.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L49)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L55)* ___ -### _value - -• **_value**: *`BigNumber`* - -*Defined in [generated-wrappers/weth9.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L50)* - -
- -> # Interface: WETH9DepositEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **WETH9DepositEventArgs** - -## Indexable - -● \[▪ **argName**: *string*\]: `ContractEventArg` - -## Index - -### Properties - -* [_owner](#_owner) -* [_value](#_value) - -## Properties +## `Optional` gasPrice -### _owner - -• **_owner**: *string* +• **gasPrice**? : *`BigNumber`* -*Defined in [generated-wrappers/weth9.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L60)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L54)* ___ -### _value +## networkId -• **_value**: *`BigNumber`* +• **networkId**: *number* -*Defined in [generated-wrappers/weth9.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L61)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L53)*
-> # Interface: WETH9TransferEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **WETH9TransferEventArgs** +# Interface: CoordinatorTransaction -## Indexable +### Hierarchy -● \[▪ **argName**: *string*\]: `ContractEventArg` +* **CoordinatorTransaction** -## Index ### Properties -* [_from](#_from) -* [_to](#_to) -* [_value](#_value) - -## Properties +## data -### _from - -• **_from**: *string* +• **data**: *string* -*Defined in [generated-wrappers/weth9.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L54)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L115)* ___ -### _to +## salt -• **_to**: *string* +• **salt**: *`BigNumber`* -*Defined in [generated-wrappers/weth9.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L55)* +*Defined in [types.ts:113](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L113)* ___ -### _value +## signerAddress -• **_value**: *`BigNumber`* +• **signerAddress**: *string* -*Defined in [generated-wrappers/weth9.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L56)* +*Defined in [types.ts:114](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L114)*
-> # Interface: WETH9WithdrawalEventArgs +# Interface: DecodedLogEvent <**ArgsType**> -## Hierarchy +### Type parameters -* `DecodedLogArgs` - - * **WETH9WithdrawalEventArgs** +▪ **ArgsType**: *`DecodedLogArgs`* -## Indexable +### Hierarchy -● \[▪ **argName**: *string*\]: `ContractEventArg` +* **DecodedLogEvent** -## Index ### Properties -* [_owner](#_owner) -* [_value](#_value) - -## Properties +## isRemoved -### _owner - -• **_owner**: *string* +• **isRemoved**: *boolean* -*Defined in [generated-wrappers/weth9.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L65)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L7)* ___ -### _value +## log -• **_value**: *`BigNumber`* +• **log**: *`LogWithDecodedArgs`* -*Defined in [generated-wrappers/weth9.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/weth9.ts#L66)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L8)*
-> # Interface: ZRXTokenApprovalEventArgs +# Interface: IndexedFilterValues -## Hierarchy +### Hierarchy -* `DecodedLogArgs` +* **IndexedFilterValues** - * **ZRXTokenApprovalEventArgs** -## Indexable +### Hierarchy -● \[▪ **argName**: *string*\]: `ContractEventArg` +* **OrderAndTraderInfo** -## Index ### Properties -* [_owner](#_owner) -* [_spender](#_spender) -* [_value](#_value) - -## Properties - -### _owner +## orderInfo -• **_owner**: *string* +• **orderInfo**: *[OrderInfo](#interface-orderinfo)* -*Defined in [generated-wrappers/zrx_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L48)* +*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L106)* ___ -### _spender +## traderInfo -• **_spender**: *string* +• **traderInfo**: *[TraderInfo](#interface-traderinfo)* -*Defined in [generated-wrappers/zrx_token.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L49)* - -___ - -### _value - -• **_value**: *`BigNumber`* - -*Defined in [generated-wrappers/zrx_token.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L50)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L107)*
-> # Interface: ZRXTokenTransferEventArgs - -## Hierarchy - -* `DecodedLogArgs` - - * **ZRXTokenTransferEventArgs** +# Interface: OrderInfo -## Indexable +### Hierarchy -● \[▪ **argName**: *string*\]: `ContractEventArg` +* **OrderInfo** -## Index ### Properties -* [_from](#_from) -* [_to](#_to) -* [_value](#_value) - -## Properties +## orderHash -### _from - -• **_from**: *string* +• **orderHash**: *string* -*Defined in [generated-wrappers/zrx_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L42)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L80)* ___ -### _to +## orderStatus -• **_to**: *string* +• **orderStatus**: *[OrderStatus](#enumeration-orderstatus)* -*Defined in [generated-wrappers/zrx_token.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L43)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L79)* ___ -### _value +## orderTakerAssetFilledAmount -• **_value**: *`BigNumber`* +• **orderTakerAssetFilledAmount**: *`BigNumber`* -*Defined in [generated-wrappers/zrx_token.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/generated-wrappers/zrx_token.ts#L44)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L81)*
-> # Interface: ContractWrappersConfig - -networkId: The id of the underlying ethereum network your provider is connected to. (1-mainnet, 3-ropsten, 4-rinkeby, 42-kovan, 50-testrpc) -gasPrice: Gas price to use with every transaction -contractAddresses: The address of all contracts to use. Defaults to the known addresses based on networkId. -blockPollingIntervalMs: The interval to use for block polling in event watching methods (defaults to 1000) - -## Hierarchy +# Interface: OrderTransactionOpts -* **ContractWrappersConfig** - -## Index - -### Properties +shouldValidate: Flag indicating whether the library should make attempts to validate a transaction before +broadcasting it. For example, order has a valid signature, maker has sufficient funds, etc. Default=true. -* [blockPollingIntervalMs](#optional-blockpollingintervalms) -* [contractAddresses](#optional-contractaddresses) -* [gasPrice](#optional-gasprice) -* [networkId](#networkid) +### Hierarchy -## Properties +* [TransactionOpts](#interface-transactionopts) -### `Optional` blockPollingIntervalMs + * **OrderTransactionOpts** -• **blockPollingIntervalMs**? : *undefined | number* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L37)* +### Properties -___ +## `Optional` gasLimit -### `Optional` contractAddresses +• **gasLimit**? : *undefined | number* -• **contractAddresses**? : *`ContractAddresses`* +*Inherited from [TransactionOpts](#optional-gaslimit)* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L36)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L66)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L35)* - -___ - -### networkId - -• **networkId**: *number* - -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L34)* - -
- -> # Interface: CoordinatorTransaction - -## Hierarchy - -* **CoordinatorTransaction** - -## Index - -### Properties - -* [data](#data) -* [salt](#salt) -* [signerAddress](#signeraddress) - -## Properties - -### data - -• **data**: *string* - -*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L80)* - -___ - -### salt - -• **salt**: *`BigNumber`* +*Inherited from [TransactionOpts](#optional-gasprice)* -*Defined in [types.ts:78](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L78)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L65)* ___ -### signerAddress - -• **signerAddress**: *string* - -*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L79)* - -
- -> # Interface: DecodedLogEvent <**ArgsType**> - -## Type parameters - -▪ **ArgsType**: *`DecodedLogArgs`* - -## Hierarchy - -* **DecodedLogEvent** - -## Index - -### Properties +## `Optional` nonce -* [isRemoved](#isremoved) -* [log](#log) - -## Properties - -### isRemoved +• **nonce**? : *undefined | number* -• **isRemoved**: *boolean* +*Inherited from [TransactionOpts](#optional-nonce)* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L7)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L67)* ___ -### log - -• **log**: *`LogWithDecodedArgs`* - -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L8)* - -
- -> # Interface: IndexedFilterValues - -## Hierarchy +## `Optional` shouldValidate -* **IndexedFilterValues** - -## Indexable +• **shouldValidate**? : *undefined | false | true* -● \[▪ **index**: *string*\]: `ContractEventArg` +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L75)*
-> # Interface: OrderInfo +# Interface: TraderInfo -## Hierarchy +### Hierarchy -* **OrderInfo** +* **TraderInfo** -## Index ### Properties -* [orderHash](#orderhash) -* [orderStatus](#orderstatus) -* [orderTakerAssetFilledAmount](#ordertakerassetfilledamount) +## makerAllowance -## Properties +• **makerAllowance**: *`BigNumber`* -### orderHash - -• **orderHash**: *string* - -*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L61)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L96)* ___ -### orderStatus +## makerBalance -• **orderStatus**: *[OrderStatus](#enumeration-orderstatus)* +• **makerBalance**: *`BigNumber`* -*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L60)* +*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L95)* ___ -### orderTakerAssetFilledAmount - -• **orderTakerAssetFilledAmount**: *`BigNumber`* - -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L62)* - -
- -> # Interface: OrderTransactionOpts - -shouldValidate: Flag indicating whether the library should make attempts to validate a transaction before -broadcasting it. For example, order has a valid signature, maker has sufficient funds, etc. Default=true. - -## Hierarchy +## makerZrxAllowance -* [TransactionOpts](#interface-transactionopts) +• **makerZrxAllowance**: *`BigNumber`* - * **OrderTransactionOpts** +*Defined in [types.ts:100](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L100)* -## Index +___ -### Properties +## makerZrxBalance -* [gasLimit](#optional-gaslimit) -* [gasPrice](#optional-gasprice) -* [nonce](#optional-nonce) -* [shouldValidate](#optional-shouldvalidate) +• **makerZrxBalance**: *`BigNumber`* -## Properties +*Defined in [types.ts:99](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L99)* -### `Optional` gasLimit +___ -• **gasLimit**? : *undefined | number* +## takerAllowance -*Inherited from [TransactionOpts](#optional-gaslimit)* +• **takerAllowance**: *`BigNumber`* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L47)* +*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L98)* ___ -### `Optional` gasPrice - -• **gasPrice**? : *`BigNumber`* +## takerBalance -*Inherited from [TransactionOpts](#optional-gasprice)* +• **takerBalance**: *`BigNumber`* -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L46)* +*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L97)* ___ -### `Optional` nonce +## takerZrxAllowance -• **nonce**? : *undefined | number* - -*Inherited from [TransactionOpts](#optional-nonce)* +• **takerZrxAllowance**: *`BigNumber`* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L48)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L102)* ___ -### `Optional` shouldValidate +## takerZrxBalance -• **shouldValidate**? : *undefined | false | true* +• **takerZrxBalance**: *`BigNumber`* -*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L56)* +*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L101)*
-> # Interface: TransactionOpts +# Interface: TransactionOpts gasPrice: Gas price in Wei to use for a transaction gasLimit: The amount of gas to send with a transaction (in Gwei) nonce: The nonce to use for a transaction. If not specified, it defaults to the next incremented nonce. -## Hierarchy +### Hierarchy * **TransactionOpts** * [OrderTransactionOpts](#interface-ordertransactionopts) -## Index ### Properties -* [gasLimit](#optional-gaslimit) -* [gasPrice](#optional-gasprice) -* [nonce](#optional-nonce) - -## Properties - -### `Optional` gasLimit +## `Optional` gasLimit • **gasLimit**? : *undefined | number* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L47)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L66)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L46)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L65)* ___ -### `Optional` nonce +## `Optional` nonce • **nonce**? : *undefined | number* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L48)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L67)*
-> # Interface: TxOpts +# Interface: TxOpts -## Hierarchy +### Hierarchy * **TxOpts** -## Index ### Properties -* [from](#from) -* [gas](#optional-gas) -* [gasPrice](#optional-gasprice) -* [value](#optional-value) - -## Properties - -### from +## from • **from**: *string* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L17)* ___ -### `Optional` gas +## `Optional` gas • **gas**? : *undefined | number* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L18)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L20)* ___ -### `Optional` value +## `Optional` value • **value**? : *`BigNumber`* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L19)*
-> # Interface: CoordinatorOutstandingFillSignatures +# Interface: CoordinatorOutstandingFillSignatures -## Hierarchy +### Hierarchy * **CoordinatorOutstandingFillSignatures** -## Index ### Properties -* [approvalSignatures](#approvalsignatures) -* [expirationTimeSeconds](#expirationtimeseconds) -* [orderHash](#orderhash) -* [takerAssetFillAmount](#takerassetfillamount) - -## Properties - -### approvalSignatures +## approvalSignatures • **approvalSignatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L19)* +*Defined in [utils/coordinator_server_types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L19)* ___ -### expirationTimeSeconds +## expirationTimeSeconds • **expirationTimeSeconds**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L20)* +*Defined in [utils/coordinator_server_types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L20)* ___ -### orderHash +## orderHash • **orderHash**: *string* -*Defined in [utils/coordinator_server_types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L18)* +*Defined in [utils/coordinator_server_types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L18)* ___ -### takerAssetFillAmount +## takerAssetFillAmount • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L21)* +*Defined in [utils/coordinator_server_types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L21)*
-> # Interface: CoordinatorServerApprovalRawResponse +# Interface: CoordinatorServerApprovalRawResponse -## Hierarchy +### Hierarchy * **CoordinatorServerApprovalRawResponse** -## Index ### Properties -* [expirationTimeSeconds](#expirationtimeseconds) -* [signatures](#signatures) - -## Properties - -### expirationTimeSeconds +## expirationTimeSeconds • **expirationTimeSeconds**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L10)* +*Defined in [utils/coordinator_server_types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L10)* ___ -### signatures +## signatures • **signatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L9)* +*Defined in [utils/coordinator_server_types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L9)*
-> # Interface: CoordinatorServerApprovalResponse +# Interface: CoordinatorServerApprovalResponse -## Hierarchy +### Hierarchy * **CoordinatorServerApprovalResponse** -## Index ### Properties -* [expirationTimeSeconds](#expirationtimeseconds) -* [signatures](#signatures) - -## Properties - -### expirationTimeSeconds +## expirationTimeSeconds • **expirationTimeSeconds**: *`BigNumber`[]* -*Defined in [utils/coordinator_server_types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L6)* +*Defined in [utils/coordinator_server_types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L6)* ___ -### signatures +## signatures • **signatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L5)* +*Defined in [utils/coordinator_server_types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L5)*
-> # Interface: CoordinatorServerCancellationResponse +# Interface: CoordinatorServerCancellationResponse -## Hierarchy +### Hierarchy * **CoordinatorServerCancellationResponse** -## Index ### Properties -* [cancellationSignatures](#cancellationsignatures) -* [outstandingFillSignatures](#outstandingfillsignatures) - -## Properties - -### cancellationSignatures +## cancellationSignatures • **cancellationSignatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L15)* +*Defined in [utils/coordinator_server_types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L15)* ___ -### outstandingFillSignatures +## outstandingFillSignatures • **outstandingFillSignatures**: *[CoordinatorOutstandingFillSignatures](#class-coordinatoroutstandingfillsignatures)[]* -*Defined in [utils/coordinator_server_types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L14)* +*Defined in [utils/coordinator_server_types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L14)*
-> # Interface: CoordinatorServerRequest +# Interface: CoordinatorServerRequest -## Hierarchy +### Hierarchy * **CoordinatorServerRequest** -## Index ### Properties -* [signedTransaction](#signedtransaction) -* [txOrigin](#txorigin) - -## Properties - -### signedTransaction +## signedTransaction • **signedTransaction**: *`SignedZeroExTransaction`* -*Defined in [utils/coordinator_server_types.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L35)* +*Defined in [utils/coordinator_server_types.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L35)* ___ -### txOrigin +## txOrigin • **txOrigin**: *string* -*Defined in [utils/coordinator_server_types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L36)* +*Defined in [utils/coordinator_server_types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L36)*
-> # Interface: CoordinatorServerResponse +# Interface: CoordinatorServerResponse -## Hierarchy +### Hierarchy * **CoordinatorServerResponse** -## Index ### Properties -* [body](#optional-body) -* [coordinatorOperator](#coordinatoroperator) -* [error](#optional-error) -* [isError](#iserror) -* [orders](#optional-orders) -* [request](#request) -* [status](#status) - -## Properties - -### `Optional` body +## `Optional` body • **body**? : *[CoordinatorServerCancellationResponse](_utils_coordinator_server_types_.coordinatorservercancellationresponse.md) | [CoordinatorServerApprovalRawResponse](#class-coordinatorserverapprovalrawresponse)* -*Defined in [utils/coordinator_server_types.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L27)* +*Defined in [utils/coordinator_server_types.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L27)* ___ -### coordinatorOperator +## coordinatorOperator • **coordinatorOperator**: *string* -*Defined in [utils/coordinator_server_types.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L30)* +*Defined in [utils/coordinator_server_types.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L30)* ___ -### `Optional` error +## `Optional` error • **error**? : *any* -*Defined in [utils/coordinator_server_types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L28)* +*Defined in [utils/coordinator_server_types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L28)* ___ -### isError +## isError • **isError**: *boolean* -*Defined in [utils/coordinator_server_types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L25)* +*Defined in [utils/coordinator_server_types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L25)* ___ -### `Optional` orders +## `Optional` orders • **orders**? : *`Array`* -*Defined in [utils/coordinator_server_types.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L31)* +*Defined in [utils/coordinator_server_types.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L31)* ___ -### request +## request • **request**: *[CoordinatorServerRequest](#class-coordinatorserverrequest)* -*Defined in [utils/coordinator_server_types.ts:29](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L29)* +*Defined in [utils/coordinator_server_types.ts:29](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L29)* ___ -### status +## status • **status**: *number* -*Defined in [utils/coordinator_server_types.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L26)* +*Defined in [utils/coordinator_server_types.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L26)*
diff --git a/packages/ethereum-types/docs/reference.mdx b/packages/ethereum-types/docs/reference.mdx index 7376afd39c..5cf5c69b3a 100644 --- a/packages/ethereum-types/docs/reference.mdx +++ b/packages/ethereum-types/docs/reference.mdx @@ -1,1392 +1,1226 @@ -> # Enumeration: AbiType +# Enumeration: AbiType -## Index ### Enumeration members -* [Constructor](#constructor) -* [Event](#event) -* [Fallback](#fallback) -* [Function](#function) - -## Enumeration members - -### Constructor +## Constructor • **Constructor**: = "constructor" -*Defined in [index.ts:455](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L455)* +*Defined in [index.ts:455](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L455)* ___ -### Event +## Event • **Event**: = "event" -*Defined in [index.ts:456](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L456)* +*Defined in [index.ts:456](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L456)* ___ -### Fallback +## Fallback • **Fallback**: = "fallback" -*Defined in [index.ts:457](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L457)* +*Defined in [index.ts:457](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L457)* ___ -### Function +## Function • **Function**: = "function" -*Defined in [index.ts:454](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L454)* +*Defined in [index.ts:454](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L454)*
-> # Enumeration: BlockParamLiteral +# Enumeration: BlockParamLiteral -## Index ### Enumeration members -* [Earliest](#earliest) -* [Latest](#latest) -* [Pending](#pending) - -## Enumeration members - -### Earliest +## Earliest • **Earliest**: = "earliest" -*Defined in [index.ts:470](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L470)* +*Defined in [index.ts:470](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L470)* ___ -### Latest +## Latest • **Latest**: = "latest" -*Defined in [index.ts:471](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L471)* +*Defined in [index.ts:471](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L471)* ___ -### Pending +## Pending • **Pending**: = "pending" -*Defined in [index.ts:472](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L472)* +*Defined in [index.ts:472](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L472)*
-> # Enumeration: OpCode +# Enumeration: OpCode -## Index ### Enumeration members -* [Add](#add) -* [AddMod](#addmod) -* [Address](#address) -* [And](#and) -* [Balance](#balance) -* [BlockHash](#blockhash) -* [Byte](#byte) -* [Call](#call) -* [CallCode](#callcode) -* [CallDataCopy](#calldatacopy) -* [CallDataLoad](#calldataload) -* [CallDataSize](#calldatasize) -* [CallValue](#callvalue) -* [Caller](#caller) -* [CodeCopy](#codecopy) -* [CodeSize](#codesize) -* [Coinbase](#coinbase) -* [Create](#create) -* [DelegateCall](#delegatecall) -* [Difficulty](#difficulty) -* [Div](#div) -* [Dup1](#dup1) -* [Dup10](#dup10) -* [Dup11](#dup11) -* [Dup12](#dup12) -* [Dup13](#dup13) -* [Dup14](#dup14) -* [Dup15](#dup15) -* [Dup16](#dup16) -* [Dup2](#dup2) -* [Dup3](#dup3) -* [Dup4](#dup4) -* [Dup5](#dup5) -* [Dup6](#dup6) -* [Dup7](#dup7) -* [Dup8](#dup8) -* [Dup9](#dup9) -* [Eq](#eq) -* [Exp](#exp) -* [ExtCodeCopy](#extcodecopy) -* [ExtCodeSize](#extcodesize) -* [Gas](#gas) -* [GasPrice](#gasprice) -* [Gaslimit](#gaslimit) -* [Gt](#gt) -* [Invalid](#invalid) -* [IsZero](#iszero) -* [Jump](#jump) -* [JumpDest](#jumpdest) -* [Jumpi](#jumpi) -* [Log1](#log1) -* [Log2](#log2) -* [Log3](#log3) -* [Log4](#log4) -* [Lt](#lt) -* [MLoad](#mload) -* [MSize](#msize) -* [MStore](#mstore) -* [MStore8](#mstore8) -* [Mod](#mod) -* [Mul](#mul) -* [MulMod](#mulmod) -* [Not](#not) -* [Number](#number) -* [Or](#or) -* [Origin](#origin) -* [Pc](#pc) -* [Pop](#pop) -* [Push1](#push1) -* [Push10](#push10) -* [Push11](#push11) -* [Push12](#push12) -* [Push13](#push13) -* [Push14](#push14) -* [Push15](#push15) -* [Push16](#push16) -* [Push17](#push17) -* [Push18](#push18) -* [Push19](#push19) -* [Push2](#push2) -* [Push20](#push20) -* [Push21](#push21) -* [Push22](#push22) -* [Push23](#push23) -* [Push24](#push24) -* [Push25](#push25) -* [Push26](#push26) -* [Push27](#push27) -* [Push28](#push28) -* [Push29](#push29) -* [Push3](#push3) -* [Push30](#push30) -* [Push31](#push31) -* [Push32](#push32) -* [Push4](#push4) -* [Push5](#push5) -* [Push6](#push6) -* [Push7](#push7) -* [Push8](#push8) -* [Push9](#push9) -* [Return](#return) -* [ReturnDataCopy](#returndatacopy) -* [ReturnDataSize](#returndatasize) -* [Revert](#revert) -* [SDiv](#sdiv) -* [SGt](#sgt) -* [SLoad](#sload) -* [SLt](#slt) -* [SMod](#smod) -* [SStore](#sstore) -* [SelfDestruct](#selfdestruct) -* [Sha3](#sha3) -* [SignExtend](#signextend) -* [StaticCall](#staticcall) -* [Stop](#stop) -* [Sub](#sub) -* [Swap1](#swap1) -* [Swap10](#swap10) -* [Swap11](#swap11) -* [Swap12](#swap12) -* [Swap13](#swap13) -* [Swap14](#swap14) -* [Swap15](#swap15) -* [Swap16](#swap16) -* [Swap2](#swap2) -* [Swap3](#swap3) -* [Swap4](#swap4) -* [Swap5](#swap5) -* [Swap6](#swap6) -* [Swap7](#swap7) -* [Swap8](#swap8) -* [Swap9](#swap9) -* [TimeStamp](#timestamp) -* [Xor](#xor) - -## Enumeration members - -### Add +## Add • **Add**: = "ADD" -*Defined in [index.ts:141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L141)* +*Defined in [index.ts:141](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L141)* ___ -### AddMod +## AddMod • **AddMod**: = "ADDMOD" -*Defined in [index.ts:148](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L148)* +*Defined in [index.ts:148](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L148)* ___ -### Address +## Address • **Address**: = "ADDRESS" -*Defined in [index.ts:167](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L167)* +*Defined in [index.ts:167](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L167)* ___ -### And +## And • **And**: = "AND" -*Defined in [index.ts:159](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L159)* +*Defined in [index.ts:159](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L159)* ___ -### Balance +## Balance • **Balance**: = "BALANCE" -*Defined in [index.ts:168](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L168)* +*Defined in [index.ts:168](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L168)* ___ -### BlockHash +## BlockHash • **BlockHash**: = "BLOCKHASH" -*Defined in [index.ts:183](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L183)* +*Defined in [index.ts:183](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L183)* ___ -### Byte +## Byte • **Byte**: = "BYTE" -*Defined in [index.ts:163](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L163)* +*Defined in [index.ts:163](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L163)* ___ -### Call +## Call • **Call**: = "CALL" -*Defined in [index.ts:276](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L276)* +*Defined in [index.ts:276](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L276)* ___ -### CallCode +## CallCode • **CallCode**: = "CALLCODE" -*Defined in [index.ts:277](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L277)* +*Defined in [index.ts:277](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L277)* ___ -### CallDataCopy +## CallDataCopy • **CallDataCopy**: = "CALLDATACOPY" -*Defined in [index.ts:174](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L174)* +*Defined in [index.ts:174](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L174)* ___ -### CallDataLoad +## CallDataLoad • **CallDataLoad**: = "CALLDATALOAD" -*Defined in [index.ts:172](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L172)* +*Defined in [index.ts:172](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L172)* ___ -### CallDataSize +## CallDataSize • **CallDataSize**: = "CALLDATASIZE" -*Defined in [index.ts:173](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L173)* +*Defined in [index.ts:173](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L173)* ___ -### CallValue +## CallValue • **CallValue**: = "CALLVALUE" -*Defined in [index.ts:171](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L171)* +*Defined in [index.ts:171](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L171)* ___ -### Caller +## Caller • **Caller**: = "CALLER" -*Defined in [index.ts:170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L170)* +*Defined in [index.ts:170](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L170)* ___ -### CodeCopy +## CodeCopy • **CodeCopy**: = "CODECOPY" -*Defined in [index.ts:176](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L176)* +*Defined in [index.ts:176](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L176)* ___ -### CodeSize +## CodeSize • **CodeSize**: = "CODESIZE" -*Defined in [index.ts:175](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L175)* +*Defined in [index.ts:175](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L175)* ___ -### Coinbase +## Coinbase • **Coinbase**: = "COINBASE" -*Defined in [index.ts:184](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L184)* +*Defined in [index.ts:184](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L184)* ___ -### Create +## Create • **Create**: = "CREATE" -*Defined in [index.ts:275](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L275)* +*Defined in [index.ts:275](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L275)* ___ -### DelegateCall +## DelegateCall • **DelegateCall**: = "DELEGATECALL" -*Defined in [index.ts:279](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L279)* +*Defined in [index.ts:279](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L279)* ___ -### Difficulty +## Difficulty • **Difficulty**: = "DIFFICULTY" -*Defined in [index.ts:187](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L187)* +*Defined in [index.ts:187](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L187)* ___ -### Div +## Div • **Div**: = "DIV" -*Defined in [index.ts:144](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L144)* +*Defined in [index.ts:144](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L144)* ___ -### Dup1 +## Dup1 • **Dup1**: = "DUP1" -*Defined in [index.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L236)* +*Defined in [index.ts:236](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L236)* ___ -### Dup10 +## Dup10 • **Dup10**: = "DUP10" -*Defined in [index.ts:245](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L245)* +*Defined in [index.ts:245](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L245)* ___ -### Dup11 +## Dup11 • **Dup11**: = "DUP11" -*Defined in [index.ts:246](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L246)* +*Defined in [index.ts:246](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L246)* ___ -### Dup12 +## Dup12 • **Dup12**: = "DUP12" -*Defined in [index.ts:247](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L247)* +*Defined in [index.ts:247](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L247)* ___ -### Dup13 +## Dup13 • **Dup13**: = "DUP13" -*Defined in [index.ts:248](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L248)* +*Defined in [index.ts:248](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L248)* ___ -### Dup14 +## Dup14 • **Dup14**: = "DUP14" -*Defined in [index.ts:249](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L249)* +*Defined in [index.ts:249](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L249)* ___ -### Dup15 +## Dup15 • **Dup15**: = "DUP15" -*Defined in [index.ts:250](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L250)* +*Defined in [index.ts:250](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L250)* ___ -### Dup16 +## Dup16 • **Dup16**: = "DUP16" -*Defined in [index.ts:251](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L251)* +*Defined in [index.ts:251](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L251)* ___ -### Dup2 +## Dup2 • **Dup2**: = "DUP2" -*Defined in [index.ts:237](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L237)* +*Defined in [index.ts:237](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L237)* ___ -### Dup3 +## Dup3 • **Dup3**: = "DUP3" -*Defined in [index.ts:238](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L238)* +*Defined in [index.ts:238](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L238)* ___ -### Dup4 +## Dup4 • **Dup4**: = "DUP4" -*Defined in [index.ts:239](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L239)* +*Defined in [index.ts:239](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L239)* ___ -### Dup5 +## Dup5 • **Dup5**: = "DUP5" -*Defined in [index.ts:240](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L240)* +*Defined in [index.ts:240](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L240)* ___ -### Dup6 +## Dup6 • **Dup6**: = "DUP6" -*Defined in [index.ts:241](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L241)* +*Defined in [index.ts:241](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L241)* ___ -### Dup7 +## Dup7 • **Dup7**: = "DUP7" -*Defined in [index.ts:242](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L242)* +*Defined in [index.ts:242](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L242)* ___ -### Dup8 +## Dup8 • **Dup8**: = "DUP8" -*Defined in [index.ts:243](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L243)* +*Defined in [index.ts:243](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L243)* ___ -### Dup9 +## Dup9 • **Dup9**: = "DUP9" -*Defined in [index.ts:244](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L244)* +*Defined in [index.ts:244](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L244)* ___ -### Eq +## Eq • **Eq**: = "EQ" -*Defined in [index.ts:157](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L157)* +*Defined in [index.ts:157](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L157)* ___ -### Exp +## Exp • **Exp**: = "EXP" -*Defined in [index.ts:150](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L150)* +*Defined in [index.ts:150](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L150)* ___ -### ExtCodeCopy +## ExtCodeCopy • **ExtCodeCopy**: = "EXTCODECOPY" -*Defined in [index.ts:179](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L179)* +*Defined in [index.ts:179](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L179)* ___ -### ExtCodeSize +## ExtCodeSize • **ExtCodeSize**: = "EXTCODESIZE" -*Defined in [index.ts:178](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L178)* +*Defined in [index.ts:178](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L178)* ___ -### Gas +## Gas • **Gas**: = "GAS" -*Defined in [index.ts:200](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L200)* +*Defined in [index.ts:200](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L200)* ___ -### GasPrice +## GasPrice • **GasPrice**: = "GASPRICE" -*Defined in [index.ts:177](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L177)* +*Defined in [index.ts:177](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L177)* ___ -### Gaslimit +## Gaslimit • **Gaslimit**: = "GASLIMIT" -*Defined in [index.ts:188](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L188)* +*Defined in [index.ts:188](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L188)* ___ -### Gt +## Gt • **Gt**: = "GT" -*Defined in [index.ts:154](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L154)* +*Defined in [index.ts:154](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L154)* ___ -### Invalid +## Invalid • **Invalid**: = "INVALID" -*Defined in [index.ts:282](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L282)* +*Defined in [index.ts:282](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L282)* ___ -### IsZero +## IsZero • **IsZero**: = "ISZERO" -*Defined in [index.ts:158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L158)* +*Defined in [index.ts:158](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L158)* ___ -### Jump +## Jump • **Jump**: = "JUMP" -*Defined in [index.ts:196](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L196)* +*Defined in [index.ts:196](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L196)* ___ -### JumpDest +## JumpDest • **JumpDest**: = "JUMPDEST" -*Defined in [index.ts:201](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L201)* +*Defined in [index.ts:201](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L201)* ___ -### Jumpi +## Jumpi • **Jumpi**: = "JUMPI" -*Defined in [index.ts:197](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L197)* +*Defined in [index.ts:197](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L197)* ___ -### Log1 +## Log1 • **Log1**: = "LOG1" -*Defined in [index.ts:270](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L270)* +*Defined in [index.ts:270](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L270)* ___ -### Log2 +## Log2 • **Log2**: = "LOG2" -*Defined in [index.ts:271](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L271)* +*Defined in [index.ts:271](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L271)* ___ -### Log3 +## Log3 • **Log3**: = "LOG3" -*Defined in [index.ts:272](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L272)* +*Defined in [index.ts:272](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L272)* ___ -### Log4 +## Log4 • **Log4**: = "LOG4" -*Defined in [index.ts:273](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L273)* +*Defined in [index.ts:273](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L273)* ___ -### Lt +## Lt • **Lt**: = "LT" -*Defined in [index.ts:153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L153)* +*Defined in [index.ts:153](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L153)* ___ -### MLoad +## MLoad • **MLoad**: = "MLOAD" -*Defined in [index.ts:191](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L191)* +*Defined in [index.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L191)* ___ -### MSize +## MSize • **MSize**: = "MSIZE" -*Defined in [index.ts:199](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L199)* +*Defined in [index.ts:199](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L199)* ___ -### MStore +## MStore • **MStore**: = "MSTORE" -*Defined in [index.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L192)* +*Defined in [index.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L192)* ___ -### MStore8 +## MStore8 • **MStore8**: = "MSTORE8" -*Defined in [index.ts:193](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L193)* +*Defined in [index.ts:193](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L193)* ___ -### Mod +## Mod • **Mod**: = "MOD" -*Defined in [index.ts:146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L146)* +*Defined in [index.ts:146](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L146)* ___ -### Mul +## Mul • **Mul**: = "MUL" -*Defined in [index.ts:142](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L142)* +*Defined in [index.ts:142](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L142)* ___ -### MulMod +## MulMod • **MulMod**: = "MULMOD" -*Defined in [index.ts:149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L149)* +*Defined in [index.ts:149](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L149)* ___ -### Not +## Not • **Not**: = "NOT" -*Defined in [index.ts:162](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L162)* +*Defined in [index.ts:162](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L162)* ___ -### Number +## Number • **Number**: = "NUMBER" -*Defined in [index.ts:186](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L186)* +*Defined in [index.ts:186](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L186)* ___ -### Or +## Or • **Or**: = "OR" -*Defined in [index.ts:160](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L160)* +*Defined in [index.ts:160](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L160)* ___ -### Origin +## Origin • **Origin**: = "ORIGIN" -*Defined in [index.ts:169](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L169)* +*Defined in [index.ts:169](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L169)* ___ -### Pc +## Pc • **Pc**: = "PC" -*Defined in [index.ts:198](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L198)* +*Defined in [index.ts:198](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L198)* ___ -### Pop +## Pop • **Pop**: = "POP" -*Defined in [index.ts:190](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L190)* +*Defined in [index.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L190)* ___ -### Push1 +## Push1 • **Push1**: = "PUSH1" -*Defined in [index.ts:203](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L203)* +*Defined in [index.ts:203](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L203)* ___ -### Push10 +## Push10 • **Push10**: = "PUSH10" -*Defined in [index.ts:212](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L212)* +*Defined in [index.ts:212](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L212)* ___ -### Push11 +## Push11 • **Push11**: = "PUSH11" -*Defined in [index.ts:213](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L213)* +*Defined in [index.ts:213](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L213)* ___ -### Push12 +## Push12 • **Push12**: = "PUSH12" -*Defined in [index.ts:214](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L214)* +*Defined in [index.ts:214](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L214)* ___ -### Push13 +## Push13 • **Push13**: = "PUSH13" -*Defined in [index.ts:215](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L215)* +*Defined in [index.ts:215](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L215)* ___ -### Push14 +## Push14 • **Push14**: = "PUSH14" -*Defined in [index.ts:216](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L216)* +*Defined in [index.ts:216](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L216)* ___ -### Push15 +## Push15 • **Push15**: = "PUSH15" -*Defined in [index.ts:217](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L217)* +*Defined in [index.ts:217](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L217)* ___ -### Push16 +## Push16 • **Push16**: = "PUSH16" -*Defined in [index.ts:218](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L218)* +*Defined in [index.ts:218](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L218)* ___ -### Push17 +## Push17 • **Push17**: = "PUSH17" -*Defined in [index.ts:219](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L219)* +*Defined in [index.ts:219](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L219)* ___ -### Push18 +## Push18 • **Push18**: = "PUSH18" -*Defined in [index.ts:220](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L220)* +*Defined in [index.ts:220](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L220)* ___ -### Push19 +## Push19 • **Push19**: = "PUSH19" -*Defined in [index.ts:221](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L221)* +*Defined in [index.ts:221](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L221)* ___ -### Push2 +## Push2 • **Push2**: = "PUSH2" -*Defined in [index.ts:204](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L204)* +*Defined in [index.ts:204](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L204)* ___ -### Push20 +## Push20 • **Push20**: = "PUSH20" -*Defined in [index.ts:222](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L222)* +*Defined in [index.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L222)* ___ -### Push21 +## Push21 • **Push21**: = "PUSH21" -*Defined in [index.ts:223](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L223)* +*Defined in [index.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L223)* ___ -### Push22 +## Push22 • **Push22**: = "PUSH22" -*Defined in [index.ts:224](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L224)* +*Defined in [index.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L224)* ___ -### Push23 +## Push23 • **Push23**: = "PUSH23" -*Defined in [index.ts:225](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L225)* +*Defined in [index.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L225)* ___ -### Push24 +## Push24 • **Push24**: = "PUSH24" -*Defined in [index.ts:226](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L226)* +*Defined in [index.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L226)* ___ -### Push25 +## Push25 • **Push25**: = "PUSH25" -*Defined in [index.ts:227](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L227)* +*Defined in [index.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L227)* ___ -### Push26 +## Push26 • **Push26**: = "PUSH26" -*Defined in [index.ts:228](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L228)* +*Defined in [index.ts:228](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L228)* ___ -### Push27 +## Push27 • **Push27**: = "PUSH27" -*Defined in [index.ts:229](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L229)* +*Defined in [index.ts:229](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L229)* ___ -### Push28 +## Push28 • **Push28**: = "PUSH28" -*Defined in [index.ts:230](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L230)* +*Defined in [index.ts:230](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L230)* ___ -### Push29 +## Push29 • **Push29**: = "PUSH29" -*Defined in [index.ts:231](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L231)* +*Defined in [index.ts:231](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L231)* ___ -### Push3 +## Push3 • **Push3**: = "PUSH3" -*Defined in [index.ts:205](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L205)* +*Defined in [index.ts:205](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L205)* ___ -### Push30 +## Push30 • **Push30**: = "PUSH30" -*Defined in [index.ts:232](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L232)* +*Defined in [index.ts:232](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L232)* ___ -### Push31 +## Push31 • **Push31**: = "PUSH31" -*Defined in [index.ts:233](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L233)* +*Defined in [index.ts:233](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L233)* ___ -### Push32 +## Push32 • **Push32**: = "PUSH32" -*Defined in [index.ts:234](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L234)* +*Defined in [index.ts:234](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L234)* ___ -### Push4 +## Push4 • **Push4**: = "PUSH4" -*Defined in [index.ts:206](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L206)* +*Defined in [index.ts:206](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L206)* ___ -### Push5 +## Push5 • **Push5**: = "PUSH5" -*Defined in [index.ts:207](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L207)* +*Defined in [index.ts:207](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L207)* ___ -### Push6 +## Push6 • **Push6**: = "PUSH6" -*Defined in [index.ts:208](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L208)* +*Defined in [index.ts:208](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L208)* ___ -### Push7 +## Push7 • **Push7**: = "PUSH7" -*Defined in [index.ts:209](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L209)* +*Defined in [index.ts:209](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L209)* ___ -### Push8 +## Push8 • **Push8**: = "PUSH8" -*Defined in [index.ts:210](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L210)* +*Defined in [index.ts:210](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L210)* ___ -### Push9 +## Push9 • **Push9**: = "PUSH9" -*Defined in [index.ts:211](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L211)* +*Defined in [index.ts:211](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L211)* ___ -### Return +## Return • **Return**: = "RETURN" -*Defined in [index.ts:278](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L278)* +*Defined in [index.ts:278](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L278)* ___ -### ReturnDataCopy +## ReturnDataCopy • **ReturnDataCopy**: = "RETURNDATACOPY" -*Defined in [index.ts:181](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L181)* +*Defined in [index.ts:181](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L181)* ___ -### ReturnDataSize +## ReturnDataSize • **ReturnDataSize**: = "RETURNDATASIZE" -*Defined in [index.ts:180](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L180)* +*Defined in [index.ts:180](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L180)* ___ -### Revert +## Revert • **Revert**: = "REVERT" -*Defined in [index.ts:281](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L281)* +*Defined in [index.ts:281](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L281)* ___ -### SDiv +## SDiv • **SDiv**: = "SDIV" -*Defined in [index.ts:145](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L145)* +*Defined in [index.ts:145](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L145)* ___ -### SGt +## SGt • **SGt**: = "SGT" -*Defined in [index.ts:156](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L156)* +*Defined in [index.ts:156](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L156)* ___ -### SLoad +## SLoad • **SLoad**: = "SLOAD" -*Defined in [index.ts:194](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L194)* +*Defined in [index.ts:194](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L194)* ___ -### SLt +## SLt • **SLt**: = "SLT" -*Defined in [index.ts:155](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L155)* +*Defined in [index.ts:155](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L155)* ___ -### SMod +## SMod • **SMod**: = "SMOD" -*Defined in [index.ts:147](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L147)* +*Defined in [index.ts:147](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L147)* ___ -### SStore +## SStore • **SStore**: = "SSTORE" -*Defined in [index.ts:195](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L195)* +*Defined in [index.ts:195](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L195)* ___ -### SelfDestruct +## SelfDestruct • **SelfDestruct**: = "SELFDESTRUCT" -*Defined in [index.ts:283](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L283)* +*Defined in [index.ts:283](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L283)* ___ -### Sha3 +## Sha3 • **Sha3**: = "SHA3" -*Defined in [index.ts:165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L165)* +*Defined in [index.ts:165](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L165)* ___ -### SignExtend +## SignExtend • **SignExtend**: = "SIGNEXTEND" -*Defined in [index.ts:151](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L151)* +*Defined in [index.ts:151](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L151)* ___ -### StaticCall +## StaticCall • **StaticCall**: = "STATICCALL" -*Defined in [index.ts:280](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L280)* +*Defined in [index.ts:280](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L280)* ___ -### Stop +## Stop • **Stop**: = "STOP" -*Defined in [index.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L140)* +*Defined in [index.ts:140](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L140)* ___ -### Sub +## Sub • **Sub**: = "SUB" -*Defined in [index.ts:143](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L143)* +*Defined in [index.ts:143](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L143)* ___ -### Swap1 +## Swap1 • **Swap1**: = "SWAP1" -*Defined in [index.ts:253](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L253)* +*Defined in [index.ts:253](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L253)* ___ -### Swap10 +## Swap10 • **Swap10**: = "SWAP10" -*Defined in [index.ts:262](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L262)* +*Defined in [index.ts:262](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L262)* ___ -### Swap11 +## Swap11 • **Swap11**: = "SWAP11" -*Defined in [index.ts:263](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L263)* +*Defined in [index.ts:263](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L263)* ___ -### Swap12 +## Swap12 • **Swap12**: = "SWAP12" -*Defined in [index.ts:264](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L264)* +*Defined in [index.ts:264](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L264)* ___ -### Swap13 +## Swap13 • **Swap13**: = "SWAP13" -*Defined in [index.ts:265](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L265)* +*Defined in [index.ts:265](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L265)* ___ -### Swap14 +## Swap14 • **Swap14**: = "SWAP14" -*Defined in [index.ts:266](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L266)* +*Defined in [index.ts:266](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L266)* ___ -### Swap15 +## Swap15 • **Swap15**: = "SWAP15" -*Defined in [index.ts:267](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L267)* +*Defined in [index.ts:267](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L267)* ___ -### Swap16 +## Swap16 • **Swap16**: = "SWAP16" -*Defined in [index.ts:268](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L268)* +*Defined in [index.ts:268](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L268)* ___ -### Swap2 +## Swap2 • **Swap2**: = "SWAP2" -*Defined in [index.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L254)* +*Defined in [index.ts:254](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L254)* ___ -### Swap3 +## Swap3 • **Swap3**: = "SWAP3" -*Defined in [index.ts:255](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L255)* +*Defined in [index.ts:255](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L255)* ___ -### Swap4 +## Swap4 • **Swap4**: = "SWAP4" -*Defined in [index.ts:256](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L256)* +*Defined in [index.ts:256](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L256)* ___ -### Swap5 +## Swap5 • **Swap5**: = "SWAP5" -*Defined in [index.ts:257](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L257)* +*Defined in [index.ts:257](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L257)* ___ -### Swap6 +## Swap6 • **Swap6**: = "SWAP6" -*Defined in [index.ts:258](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L258)* +*Defined in [index.ts:258](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L258)* ___ -### Swap7 +## Swap7 • **Swap7**: = "SWAP7" -*Defined in [index.ts:259](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L259)* +*Defined in [index.ts:259](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L259)* ___ -### Swap8 +## Swap8 • **Swap8**: = "SWAP8" -*Defined in [index.ts:260](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L260)* +*Defined in [index.ts:260](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L260)* ___ -### Swap9 +## Swap9 • **Swap9**: = "SWAP9" -*Defined in [index.ts:261](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L261)* +*Defined in [index.ts:261](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L261)* ___ -### TimeStamp +## TimeStamp • **TimeStamp**: = "TimeStamp" -*Defined in [index.ts:185](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L185)* +*Defined in [index.ts:185](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L185)* ___ -### Xor +## Xor • **Xor**: = "XOR" -*Defined in [index.ts:161](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L161)* +*Defined in [index.ts:161](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L161)*
-> # Enumeration: SolidityTypes +# Enumeration: SolidityTypes -## Index ### Enumeration members -* [Address](#address) -* [Bool](#bool) -* [Bytes](#bytes) -* [Int](#int) -* [String](#string) -* [Tuple](#tuple) -* [Uint](#uint) -* [Uint256](#uint256) -* [Uint8](#uint8) - -## Enumeration members - -### Address +## Address • **Address**: = "address" -*Defined in [index.ts:489](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L489)* +*Defined in [index.ts:489](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L489)* ___ -### Bool +## Bool • **Bool**: = "bool" -*Defined in [index.ts:490](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L490)* +*Defined in [index.ts:490](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L490)* ___ -### Bytes +## Bytes • **Bytes**: = "bytes" -*Defined in [index.ts:491](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L491)* +*Defined in [index.ts:491](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L491)* ___ -### Int +## Int • **Int**: = "int" -*Defined in [index.ts:492](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L492)* +*Defined in [index.ts:492](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L492)* ___ -### String +## String • **String**: = "string" -*Defined in [index.ts:493](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L493)* +*Defined in [index.ts:493](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L493)* ___ -### Tuple +## Tuple • **Tuple**: = "tuple" -*Defined in [index.ts:494](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L494)* +*Defined in [index.ts:494](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L494)* ___ -### Uint +## Uint • **Uint**: = "uint" -*Defined in [index.ts:497](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L497)* +*Defined in [index.ts:497](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L497)* ___ -### Uint256 +## Uint256 • **Uint256**: = "uint256" -*Defined in [index.ts:495](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L495)* +*Defined in [index.ts:495](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L495)* ___ -### Uint8 +## Uint8 • **Uint8**: = "uint8" -*Defined in [index.ts:496](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L496)* +*Defined in [index.ts:496](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L496)*
-> # Interface: AbstractBlock +# Interface: AbstractBlock -## Hierarchy +### Hierarchy * **AbstractBlock** @@ -1394,681 +1228,605 @@ ___ * [BlockWithTransactionData](#class-blockwithtransactiondata) -## Index ### Properties -* [difficulty](#difficulty) -* [extraData](#extradata) -* [gasLimit](#gaslimit) -* [gasUsed](#gasused) -* [hash](#hash) -* [logsBloom](#logsbloom) -* [miner](#miner) -* [nonce](#nonce) -* [number](#number) -* [parentHash](#parenthash) -* [sha3Uncles](#sha3uncles) -* [size](#size) -* [stateRoot](#stateroot) -* [timestamp](#timestamp) -* [totalDifficulty](#totaldifficulty) -* [transactionsRoot](#transactionsroot) -* [uncles](#uncles) - -## Properties - -### difficulty +## difficulty • **difficulty**: *`BigNumber`* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L350)* ___ -### extraData +## extraData • **extraData**: *string* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L352)* ___ -### gasLimit +## gasLimit • **gasLimit**: *number* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L354)* ___ -### gasUsed +## gasUsed • **gasUsed**: *number* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L355)* ___ -### hash +## hash • **hash**: *string | null* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L342)* ___ -### logsBloom +## logsBloom • **logsBloom**: *string | null* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L346)* ___ -### miner +## miner • **miner**: *string* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L349)* ___ -### nonce +## nonce • **nonce**: *string | null* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L344)* ___ -### number +## number • **number**: *number | null* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L341)* ___ -### parentHash +## parentHash • **parentHash**: *string* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L343)* ___ -### sha3Uncles +## sha3Uncles • **sha3Uncles**: *string* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L345)* ___ -### size +## size • **size**: *number* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L353)* ___ -### stateRoot +## stateRoot • **stateRoot**: *string* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L348)* ___ -### timestamp +## timestamp • **timestamp**: *number* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L356)* ___ -### totalDifficulty +## totalDifficulty • **totalDifficulty**: *`BigNumber`* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L351)* ___ -### transactionsRoot +## transactionsRoot • **transactionsRoot**: *string* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L347)* ___ -### uncles +## uncles • **uncles**: *string[]* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L357)*
-> # Interface: BlockWithoutTransactionData +# Interface: BlockWithoutTransactionData -## Hierarchy +### Hierarchy * [AbstractBlock](#class-abstractblock) * **BlockWithoutTransactionData** -## Index ### Properties -* [difficulty](#difficulty) -* [extraData](#extradata) -* [gasLimit](#gaslimit) -* [gasUsed](#gasused) -* [hash](#hash) -* [logsBloom](#logsbloom) -* [miner](#miner) -* [nonce](#nonce) -* [number](#number) -* [parentHash](#parenthash) -* [sha3Uncles](#sha3uncles) -* [size](#size) -* [stateRoot](#stateroot) -* [timestamp](#timestamp) -* [totalDifficulty](#totaldifficulty) -* [transactions](#transactions) -* [transactionsRoot](#transactionsroot) -* [uncles](#uncles) - -## Properties - -### difficulty +## difficulty • **difficulty**: *`BigNumber`* *Inherited from [AbstractBlock](#difficulty)* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L350)* ___ -### extraData +## extraData • **extraData**: *string* *Inherited from [AbstractBlock](#extradata)* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L352)* ___ -### gasLimit +## gasLimit • **gasLimit**: *number* *Inherited from [AbstractBlock](#gaslimit)* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L354)* ___ -### gasUsed +## gasUsed • **gasUsed**: *number* *Inherited from [AbstractBlock](#gasused)* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L355)* ___ -### hash +## hash • **hash**: *string | null* *Inherited from [AbstractBlock](#hash)* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L342)* ___ -### logsBloom +## logsBloom • **logsBloom**: *string | null* *Inherited from [AbstractBlock](#logsbloom)* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L346)* ___ -### miner +## miner • **miner**: *string* *Inherited from [AbstractBlock](#miner)* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L349)* ___ -### nonce +## nonce • **nonce**: *string | null* *Inherited from [AbstractBlock](#nonce)* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L344)* ___ -### number +## number • **number**: *number | null* *Inherited from [AbstractBlock](#number)* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L341)* ___ -### parentHash +## parentHash • **parentHash**: *string* *Inherited from [AbstractBlock](#parenthash)* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L343)* ___ -### sha3Uncles +## sha3Uncles • **sha3Uncles**: *string* *Inherited from [AbstractBlock](#sha3uncles)* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L345)* ___ -### size +## size • **size**: *number* *Inherited from [AbstractBlock](#size)* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L353)* ___ -### stateRoot +## stateRoot • **stateRoot**: *string* *Inherited from [AbstractBlock](#stateroot)* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L348)* ___ -### timestamp +## timestamp • **timestamp**: *number* *Inherited from [AbstractBlock](#timestamp)* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L356)* ___ -### totalDifficulty +## totalDifficulty • **totalDifficulty**: *`BigNumber`* *Inherited from [AbstractBlock](#totaldifficulty)* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L351)* ___ -### transactions +## transactions • **transactions**: *string[]* -*Defined in [index.ts:361](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L361)* +*Defined in [index.ts:361](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L361)* ___ -### transactionsRoot +## transactionsRoot • **transactionsRoot**: *string* *Inherited from [AbstractBlock](#transactionsroot)* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L347)* ___ -### uncles +## uncles • **uncles**: *string[]* *Inherited from [AbstractBlock](#uncles)* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L357)*
-> # Interface: BlockWithTransactionData +# Interface: BlockWithTransactionData -## Hierarchy +### Hierarchy * [AbstractBlock](#class-abstractblock) * **BlockWithTransactionData** -## Index ### Properties -* [difficulty](#difficulty) -* [extraData](#extradata) -* [gasLimit](#gaslimit) -* [gasUsed](#gasused) -* [hash](#hash) -* [logsBloom](#logsbloom) -* [miner](#miner) -* [nonce](#nonce) -* [number](#number) -* [parentHash](#parenthash) -* [sha3Uncles](#sha3uncles) -* [size](#size) -* [stateRoot](#stateroot) -* [timestamp](#timestamp) -* [totalDifficulty](#totaldifficulty) -* [transactions](#transactions) -* [transactionsRoot](#transactionsroot) -* [uncles](#uncles) - -## Properties - -### difficulty +## difficulty • **difficulty**: *`BigNumber`* *Inherited from [AbstractBlock](#difficulty)* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L350)* ___ -### extraData +## extraData • **extraData**: *string* *Inherited from [AbstractBlock](#extradata)* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L352)* ___ -### gasLimit +## gasLimit • **gasLimit**: *number* *Inherited from [AbstractBlock](#gaslimit)* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L354)* ___ -### gasUsed +## gasUsed • **gasUsed**: *number* *Inherited from [AbstractBlock](#gasused)* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L355)* ___ -### hash +## hash • **hash**: *string | null* *Inherited from [AbstractBlock](#hash)* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L342)* ___ -### logsBloom +## logsBloom • **logsBloom**: *string | null* *Inherited from [AbstractBlock](#logsbloom)* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L346)* ___ -### miner +## miner • **miner**: *string* *Inherited from [AbstractBlock](#miner)* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L349)* ___ -### nonce +## nonce • **nonce**: *string | null* *Inherited from [AbstractBlock](#nonce)* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L344)* ___ -### number +## number • **number**: *number | null* *Inherited from [AbstractBlock](#number)* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L341)* ___ -### parentHash +## parentHash • **parentHash**: *string* *Inherited from [AbstractBlock](#parenthash)* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L343)* ___ -### sha3Uncles +## sha3Uncles • **sha3Uncles**: *string* *Inherited from [AbstractBlock](#sha3uncles)* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L345)* ___ -### size +## size • **size**: *number* *Inherited from [AbstractBlock](#size)* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L353)* ___ -### stateRoot +## stateRoot • **stateRoot**: *string* *Inherited from [AbstractBlock](#stateroot)* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L348)* ___ -### timestamp +## timestamp • **timestamp**: *number* *Inherited from [AbstractBlock](#timestamp)* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L356)* ___ -### totalDifficulty +## totalDifficulty • **totalDifficulty**: *`BigNumber`* *Inherited from [AbstractBlock](#totaldifficulty)* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L351)* ___ -### transactions +## transactions • **transactions**: *[Transaction](#class-transaction)[]* -*Defined in [index.ts:365](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L365)* +*Defined in [index.ts:365](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L365)* ___ -### transactionsRoot +## transactionsRoot • **transactionsRoot**: *string* *Inherited from [AbstractBlock](#transactionsroot)* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L347)* ___ -### uncles +## uncles • **uncles**: *string[]* *Inherited from [AbstractBlock](#uncles)* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L357)*
-> # Interface: CallData +# Interface: CallData -## Hierarchy +### Hierarchy * [CallTxDataBase](#class-calltxdatabase) * **CallData** -## Index ### Properties -* [data](#optional-data) -* [from](#optional-from) -* [gas](#optional-gas) -* [gasPrice](#optional-gasprice) -* [nonce](#optional-nonce) -* [to](#optional-to) -* [value](#optional-value) - -## Properties - -### `Optional` data +## `Optional` data • **data**? : *undefined | string* *Inherited from [CallTxDataBase](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L387)* ___ -### `Optional` from +## `Optional` from • **from**? : *undefined | string* -*Defined in [index.ts:396](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L396)* +*Defined in [index.ts:396](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L396)* ___ -### `Optional` gas +## `Optional` gas • **gas**? : *number | string | `BigNumber`* *Inherited from [CallTxDataBase](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L385)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *number | string | `BigNumber`* *Inherited from [CallTxDataBase](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L386)* ___ -### `Optional` nonce +## `Optional` nonce • **nonce**? : *undefined | number* *Inherited from [CallTxDataBase](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L388)* ___ -### `Optional` to +## `Optional` to • **to**? : *undefined | string* *Inherited from [CallTxDataBase](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L383)* ___ -### `Optional` value +## `Optional` value • **value**? : *number | string | `BigNumber`* *Inherited from [CallTxDataBase](#optional-value)* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L384)*
-> # Interface: CallTxDataBase +# Interface: CallTxDataBase -## Hierarchy +### Hierarchy * **CallTxDataBase** @@ -2076,68 +1834,58 @@ ___ * [CallData](#class-calldata) -## Index ### Properties -* [data](#optional-data) -* [gas](#optional-gas) -* [gasPrice](#optional-gasprice) -* [nonce](#optional-nonce) -* [to](#optional-to) -* [value](#optional-value) - -## Properties - -### `Optional` data +## `Optional` data • **data**? : *undefined | string* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L387)* ___ -### `Optional` gas +## `Optional` gas • **gas**? : *number | string | `BigNumber`* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L385)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *number | string | `BigNumber`* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L386)* ___ -### `Optional` nonce +## `Optional` nonce • **nonce**? : *undefined | number* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L388)* ___ -### `Optional` to +## `Optional` to • **to**? : *undefined | string* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L383)* ___ -### `Optional` value +## `Optional` value • **value**? : *number | string | `BigNumber`* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L384)*
-> # Interface: CompilerOptions +# Interface: CompilerOptions Options you can specify (as flags or in a compiler.json file) when invoking sol-compiler contractsDir: Directory containing your project's Solidity contracts. Can contain nested directories. @@ -2151,176 +1899,148 @@ isOfflineMode: If set to true - sol-compiler will not fetch the list of solc rel solcVersion: If you don't want to compile each contract with the Solidity version specified in-file, you can force all contracts to compile with the the version specified here. -## Hierarchy +### Hierarchy * **CompilerOptions** -## Index ### Properties -* [artifactsDir](#optional-artifactsdir) -* [compilerSettings](#optional-compilersettings) -* [contracts](#optional-contracts) -* [contractsDir](#optional-contractsdir) -* [isOfflineMode](#optional-isofflinemode) -* [solcVersion](#optional-solcversion) -* [useDockerisedSolc](#optional-usedockerisedsolc) - -## Properties - -### `Optional` artifactsDir +## `Optional` artifactsDir • **artifactsDir**? : *undefined | string* -*Defined in [index.ts:723](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L723)* +*Defined in [index.ts:723](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L723)* ___ -### `Optional` compilerSettings +## `Optional` compilerSettings • **compilerSettings**? : *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:724](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L724)* +*Defined in [index.ts:724](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L724)* ___ -### `Optional` contracts +## `Optional` contracts • **contracts**? : *string[] | "*"* -*Defined in [index.ts:725](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L725)* +*Defined in [index.ts:725](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L725)* ___ -### `Optional` contractsDir +## `Optional` contractsDir • **contractsDir**? : *undefined | string* -*Defined in [index.ts:722](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L722)* +*Defined in [index.ts:722](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L722)* ___ -### `Optional` isOfflineMode +## `Optional` isOfflineMode • **isOfflineMode**? : *undefined | false | true* -*Defined in [index.ts:727](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L727)* +*Defined in [index.ts:727](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L727)* ___ -### `Optional` solcVersion +## `Optional` solcVersion • **solcVersion**? : *undefined | string* -*Defined in [index.ts:728](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L728)* +*Defined in [index.ts:728](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L728)* ___ -### `Optional` useDockerisedSolc +## `Optional` useDockerisedSolc • **useDockerisedSolc**? : *undefined | false | true* -*Defined in [index.ts:726](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L726)* +*Defined in [index.ts:726](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L726)*
-> # Interface: CompilerOpts +# Interface: CompilerOpts -## Hierarchy +### Hierarchy * **CompilerOpts** -## Index ### Properties -* [name](#name) -* [settings](#settings) -* [version](#version) - -## Properties - -### name +## name • **name**: *"solc"* -*Defined in [index.ts:647](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L647)* +*Defined in [index.ts:647](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L647)* ___ -### settings +## settings • **settings**: *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:649](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L649)* +*Defined in [index.ts:649](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L649)* ___ -### version +## version • **version**: *string* -*Defined in [index.ts:648](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L648)* +*Defined in [index.ts:648](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L648)*
-> # Interface: CompilerSettings +# Interface: CompilerSettings -## Hierarchy +### Hierarchy * **CompilerSettings** -## Index ### Properties -* [evmVersion](#optional-evmversion) -* [libraries](#optional-libraries) -* [metadata](#optional-metadata) -* [optimizer](#optional-optimizer) -* [outputSelection](#outputselection) -* [remappings](#optional-remappings) - -## Properties - -### `Optional` evmVersion +## `Optional` evmVersion • **evmVersion**? : *"homestead" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople"* -*Defined in [index.ts:681](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L681)* +*Defined in [index.ts:681](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L681)* ___ -### `Optional` libraries +## `Optional` libraries • **libraries**? : *undefined | object* -*Defined in [index.ts:683](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L683)* +*Defined in [index.ts:683](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L683)* ___ -### `Optional` metadata +## `Optional` metadata • **metadata**? : *[CompilerSettingsMetadata](#class-compilersettingsmetadata)* -*Defined in [index.ts:682](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L682)* +*Defined in [index.ts:682](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L682)* ___ -### `Optional` optimizer +## `Optional` optimizer • **optimizer**? : *[OptimizerSettings](#class-optimizersettings)* -*Defined in [index.ts:680](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L680)* +*Defined in [index.ts:680](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L680)* ___ -### outputSelection +## outputSelection • **outputSelection**: *object* -*Defined in [index.ts:688](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L688)* +*Defined in [index.ts:688](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L688)* #### Type declaration: @@ -2330,86 +2050,73 @@ ___ ___ -### `Optional` remappings +## `Optional` remappings • **remappings**? : *string[]* -*Defined in [index.ts:679](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L679)* +*Defined in [index.ts:679](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L679)*
-> # Interface: CompilerSettingsMetadata +# Interface: CompilerSettingsMetadata -## Hierarchy +### Hierarchy * **CompilerSettingsMetadata** -## Index ### Properties -* [useLiteralContent](#useliteralcontent) - -## Properties - -### useLiteralContent +## useLiteralContent • **useLiteralContent**: *true* -*Defined in [index.ts:696](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L696)* +*Defined in [index.ts:696](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L696)*
-> # Interface: ConstructorAbi +# Interface: ConstructorAbi -## Hierarchy +### Hierarchy * **ConstructorAbi** -## Index ### Properties -* [inputs](#inputs) -* [payable](#payable) -* [stateMutability](#statemutability) -* [type](#type) - -## Properties - -### inputs +## inputs • **inputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:103](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L103)* +*Defined in [index.ts:103](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L103)* ___ -### payable +## payable • **payable**: *boolean* -*Defined in [index.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L104)* +*Defined in [index.ts:104](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L104)* ___ -### stateMutability +## stateMutability • **stateMutability**: *[ConstructorStateMutability](#constructorstatemutability)* -*Defined in [index.ts:105](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L105)* +*Defined in [index.ts:105](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L105)* ___ -### type +## type • **type**: *string* -*Defined in [index.ts:102](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L102)* +*Defined in [index.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L102)*
-> # Interface: ContractArtifact +# Interface: ContractArtifact This type defines the schema of the artifact.json file generated by Sol-compiler schemaVersion: The version of the artifact schema @@ -2423,78 +2130,66 @@ sources: A mapping from source filePath to sourceMap id sourceTreeHashHex: A unique hash generated from the contract source and that of it's dependencies. If any of the sources change, the hash would change notifying us that a re-compilation is necessary -## Hierarchy +### Hierarchy * [ContractVersionData](#class-contractversiondata) * **ContractArtifact** -## Index ### Properties -* [compiler](#compiler) -* [compilerOutput](#compileroutput) -* [contractName](#contractname) -* [networks](#networks) -* [schemaVersion](#schemaversion) -* [sourceCodes](#sourcecodes) -* [sourceTreeHashHex](#sourcetreehashhex) -* [sources](#sources) - -## Properties - -### compiler +## compiler • **compiler**: *[CompilerOpts](#class-compileropts)* *Inherited from [ContractVersionData](#compiler)* -*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L633)* +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L633)* ___ -### compilerOutput +## compilerOutput • **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)* *Inherited from [ContractVersionData](#compileroutput)* -*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L643)* +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L643)* ___ -### contractName +## contractName • **contractName**: *string* -*Defined in [index.ts:667](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L667)* +*Defined in [index.ts:667](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L667)* ___ -### networks +## networks • **networks**: *[ContractNetworks](#class-contractnetworks)* -*Defined in [index.ts:668](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L668)* +*Defined in [index.ts:668](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L668)* ___ -### schemaVersion +## schemaVersion • **schemaVersion**: *string* -*Defined in [index.ts:666](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L666)* +*Defined in [index.ts:666](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L666)* ___ -### sourceCodes +## sourceCodes • **sourceCodes**: *object* *Inherited from [ContractVersionData](#sourcecodes)* -*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L639)* +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L639)* #### Type declaration: @@ -2502,23 +2197,23 @@ ___ ___ -### sourceTreeHashHex +## sourceTreeHashHex • **sourceTreeHashHex**: *string* *Inherited from [ContractVersionData](#sourcetreehashhex)* -*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L642)* +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L642)* ___ -### sources +## sources • **sources**: *object* *Inherited from [ContractVersionData](#sources)* -*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L634)* +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L634)* #### Type declaration: @@ -2526,43 +2221,36 @@ ___
-> # Interface: ContractNetworkData +# Interface: ContractNetworkData -## Hierarchy +### Hierarchy * **ContractNetworkData** -## Index ### Properties -* [address](#address) -* [constructorArgs](#constructorargs) -* [links](#links) - -## Properties - -### address +## address • **address**: *string* -*Defined in [index.ts:546](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L546)* +*Defined in [index.ts:546](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L546)* ___ -### constructorArgs +## constructerArgs • **constructorArgs**: *string* -*Defined in [index.ts:550](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L550)* +*Defined in [index.ts:550](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L550)* ___ -### links +## links • **links**: *object* -*Defined in [index.ts:547](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L547)* +*Defined in [index.ts:547](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L547)* #### Type declaration: @@ -2570,59 +2258,43 @@ ___
-> # Interface: ContractNetworks +# Interface: ContractNetworks -## Hierarchy +### Hierarchy * **ContractNetworks** -## Indexable -● \[▪ **networkId**: *number*\]: [ContractNetworkData](#class-contractnetworkdata) - -
- -> # Interface: ContractVersionData - -## Hierarchy +### Hierarchy * **ContractVersionData** * [ContractArtifact](#class-contractartifact) -## Index ### Properties -* [compiler](#compiler) -* [compilerOutput](#compileroutput) -* [sourceCodes](#sourcecodes) -* [sourceTreeHashHex](#sourcetreehashhex) -* [sources](#sources) - -## Properties - -### compiler +## compiler • **compiler**: *[CompilerOpts](#class-compileropts)* -*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L633)* +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L633)* ___ -### compilerOutput +## compilerOutput • **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)* -*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L643)* +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L643)* ___ -### sourceCodes +## sourceCodes • **sourceCodes**: *object* -*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L639)* +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L639)* #### Type declaration: @@ -2630,19 +2302,19 @@ ___ ___ -### sourceTreeHashHex +## sourceTreeHashHex • **sourceTreeHashHex**: *string* -*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L642)* +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L642)* ___ -### sources +## sources • **sources**: *object* -*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L634)* +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L634)* #### Type declaration: @@ -2650,9 +2322,9 @@ ___
-> # Interface: DataItem +# Interface: DataItem -## Hierarchy +### Hierarchy * **DataItem** @@ -2660,59 +2332,45 @@ ___ * [TupleDataItem](#class-tupledataitem) -## Index ### Properties -* [components](#optional-components) -* [name](#name) -* [type](#type) - -## Properties - -### `Optional` components +## `Optional` components • **components**? : *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L131)* +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L131)* ___ -### name +## name • **name**: *string* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L129)* ___ -### type +## type • **type**: *string* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L130)*
-> # Interface: DecodedLogArgs +# Interface: DecodedLogArgs -## Hierarchy +### Hierarchy * **DecodedLogArgs** -## Indexable - -● \[▪ **argName**: *string*\]: [ContractEventArg](#contracteventarg) - -
- -> # Interface: DecodedLogEntry <**A**> -## Type parameters +### Type parameters ▪ **A** -## Hierarchy +### Hierarchy * [LogEntry](#class-logentry) @@ -2722,286 +2380,250 @@ ___ * [LogWithDecodedArgs](#class-logwithdecodedargs) -## Index ### Properties -* [address](#address) -* [args](#args) -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [data](#data) -* [event](#event) -* [logIndex](#logindex) -* [topics](#topics) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### address +## address • **address**: *string* *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* ___ -### args +## args • **args**: *`A`* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L411)* ___ -### blockHash +## blockHash • **blockHash**: *string | null* *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* ___ -### blockNumber +## blockNumber • **blockNumber**: *number | null* *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* ___ -### data +## data • **data**: *string* *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* ___ -### event +## event • **event**: *string* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L410)* ___ -### logIndex +## logIndex • **logIndex**: *number | null* *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* ___ -### topics +## topics • **topics**: *string[]* *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *number | null* *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)*
-> # Interface: DecodedLogEntryEvent <**A**> +# Interface: DecodedLogEntryEvent <**A**> -## Type parameters +### Type parameters ▪ **A** -## Hierarchy +### Hierarchy * [DecodedLogEntry](#class-decodedlogentry)‹*`A`*› * **DecodedLogEntryEvent** -## Index ### Properties -* [address](#address) -* [args](#args) -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [data](#data) -* [event](#event) -* [logIndex](#logindex) -* [removed](#removed) -* [topics](#topics) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### address +## address • **address**: *string* *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* ___ -### args +## args • **args**: *`A`* *Inherited from [DecodedLogEntry](#args)* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L411)* ___ -### blockHash +## blockHash • **blockHash**: *string | null* *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* ___ -### blockNumber +## blockNumber • **blockNumber**: *number | null* *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* ___ -### data +## data • **data**: *string* *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* ___ -### event +## event • **event**: *string* *Inherited from [DecodedLogEntry](#event)* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L410)* ___ -### logIndex +## logIndex • **logIndex**: *number | null* *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* ___ -### removed +## removed • **removed**: *boolean* -*Defined in [index.ts:415](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L415)* +*Defined in [index.ts:415](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L415)* ___ -### topics +## topics • **topics**: *string[]* *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *number | null* *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)*
-> # Interface: DevdocOutput +# Interface: DevdocOutput -## Hierarchy +### Hierarchy * **DevdocOutput** -## Index ### Properties -* [author](#optional-author) -* [methods](#methods) -* [title](#optional-title) - -## Properties - -### `Optional` author +## `Optional` author • **author**? : *undefined | string* -*Defined in [index.ts:620](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L620)* +*Defined in [index.ts:620](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L620)* ___ -### methods +## methods • **methods**: *object* -*Defined in [index.ts:621](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L621)* +*Defined in [index.ts:621](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L621)* #### Type declaration: @@ -3009,46 +2631,36 @@ ___ ___ -### `Optional` title +## `Optional` title • **title**? : *undefined | string* -*Defined in [index.ts:619](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L619)* +*Defined in [index.ts:619](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L619)*
-> # Interface: EIP1193Provider +# Interface: EIP1193Provider -## Hierarchy +### Hierarchy * **EIP1193Provider** -## Index ### Properties -* [isEIP1193](#iseip1193) - -### Methods - -* [on](#on) -* [send](#send) - -## Properties - -### isEIP1193 +## isEIP1193 • **isEIP1193**: *boolean* -*Defined in [index.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L73)* +*Defined in [index.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L73)* -## Methods +### Methods -### on +## on ▸ **on**(`event`: [EIP1193Event](#eip1193event), `listener`: function): *this* -*Defined in [index.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L75)* +*Defined in [index.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L75)* **Parameters:** @@ -3068,11 +2680,11 @@ Name | Type | ___ -### send +## send ▸ **send**(`method`: string, `params?`: any[]): *`Promise`* -*Defined in [index.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L74)* +*Defined in [index.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L74)* **Parameters:** @@ -3085,282 +2697,234 @@ Name | Type |
-> # Interface: EventAbi +# Interface: EventAbi -## Hierarchy +### Hierarchy * **EventAbi** -## Index ### Properties -* [anonymous](#anonymous) -* [inputs](#inputs) -* [name](#name) -* [type](#type) - -## Properties - -### anonymous +## anonymous • **anonymous**: *boolean* -*Defined in [index.ts:125](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L125)* +*Defined in [index.ts:125](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L125)* ___ -### inputs +## inputs • **inputs**: *[EventParameter](#class-eventparameter)[]* -*Defined in [index.ts:124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L124)* +*Defined in [index.ts:124](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L124)* ___ -### name +## name • **name**: *string* -*Defined in [index.ts:123](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L123)* +*Defined in [index.ts:123](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L123)* ___ -### type +## type • **type**: *string* -*Defined in [index.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L122)* +*Defined in [index.ts:122](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L122)*
-> # Interface: EventParameter +# Interface: EventParameter -## Hierarchy +### Hierarchy * [DataItem](#class-dataitem) * **EventParameter** -## Index ### Properties -* [components](#optional-components) -* [indexed](#indexed) -* [name](#name) -* [type](#type) - -## Properties - -### `Optional` components +## `Optional` components • **components**? : *[DataItem](#class-dataitem)[]* *Inherited from [DataItem](#optional-components)* -*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L131)* +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L131)* ___ -### indexed +## indexed • **indexed**: *boolean* -*Defined in [index.ts:116](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L116)* +*Defined in [index.ts:116](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L116)* ___ -### name +## name • **name**: *string* *Inherited from [DataItem](#name)* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L129)* ___ -### type +## type • **type**: *string* *Inherited from [DataItem](#type)* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L130)*
-> # Interface: EvmBytecodeOutput +# Interface: EvmBytecodeOutput -## Hierarchy +### Hierarchy * **EvmBytecodeOutput** -## Index ### Properties -* [object](#object) -* [sourceMap](#sourcemap) - -## Properties - -### object +## object • **object**: *string* -*Defined in [index.ts:614](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L614)* +*Defined in [index.ts:614](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L614)* ___ -### sourceMap +## sourceMap • **sourceMap**: *string* -*Defined in [index.ts:615](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L615)* +*Defined in [index.ts:615](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L615)*
-> # Interface: EvmOutput +# Interface: EvmOutput -## Hierarchy +### Hierarchy * **EvmOutput** -## Index ### Properties -* [bytecode](#bytecode) -* [deployedBytecode](#deployedbytecode) - -## Properties - -### bytecode +## bytecode • **bytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* -*Defined in [index.ts:609](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L609)* +*Defined in [index.ts:609](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L609)* ___ -### deployedBytecode +## deployedBytecode • **deployedBytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* -*Defined in [index.ts:610](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L610)* +*Defined in [index.ts:610](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L610)*
-> # Interface: FallbackAbi +# Interface: FallbackAbi -## Hierarchy +### Hierarchy * **FallbackAbi** -## Index ### Properties -* [payable](#payable) -* [type](#type) - -## Properties - -### payable +## payable • **payable**: *boolean* -*Defined in [index.ts:112](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L112)* +*Defined in [index.ts:112](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L112)* ___ -### type +## type • **type**: *string* -*Defined in [index.ts:111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L111)* +*Defined in [index.ts:111](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L111)*
-> # Interface: FilterObject +# Interface: FilterObject -## Hierarchy +### Hierarchy * **FilterObject** -## Index ### Properties -* [address](#optional-address) -* [blockHash](#optional-blockhash) -* [fromBlock](#optional-fromblock) -* [toBlock](#optional-toblock) -* [topics](#optional-topics) - -## Properties - -### `Optional` address +## `Optional` address • **address**? : *undefined | string* -*Defined in [index.ts:403](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L403)* +*Defined in [index.ts:403](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L403)* ___ -### `Optional` blockHash +## `Optional` blockHash • **blockHash**? : *undefined | string* -*Defined in [index.ts:402](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L402)* +*Defined in [index.ts:402](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L402)* ___ -### `Optional` fromBlock +## `Optional` fromBlock • **fromBlock**? : *number | string* -*Defined in [index.ts:400](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L400)* +*Defined in [index.ts:400](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L400)* ___ -### `Optional` toBlock +## `Optional` toBlock • **toBlock**? : *number | string* -*Defined in [index.ts:401](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L401)* +*Defined in [index.ts:401](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L401)* ___ -### `Optional` topics +## `Optional` topics • **topics**? : *[LogTopic](#logtopic)[]* -*Defined in [index.ts:404](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L404)* +*Defined in [index.ts:404](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L404)*
-> # Interface: GanacheProvider +# Interface: GanacheProvider -## Hierarchy +### Hierarchy * **GanacheProvider** -## Index ### Methods -* [sendAsync](#sendasync) - -## Methods - -### sendAsync +## sendAsync ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L14)* +*Defined in [index.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L14)* **Parameters:** @@ -3373,178 +2937,149 @@ Name | Type |
-> # Interface: GeneratedCompilerOptions +# Interface: GeneratedCompilerOptions -## Hierarchy +### Hierarchy * **GeneratedCompilerOptions** -## Index ### Properties -* [name](#name) -* [settings](#settings) -* [version](#version) - -## Properties - -### name +## name • **name**: *"solc"* -*Defined in [index.ts:672](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L672)* +*Defined in [index.ts:672](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L672)* ___ -### settings +## settings • **settings**: *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:674](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L674)* +*Defined in [index.ts:674](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L674)* ___ -### version +## version • **version**: *string* -*Defined in [index.ts:673](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L673)* +*Defined in [index.ts:673](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L673)*
-> # Interface: JSONRPCRequestPayload +# Interface: JSONRPCRequestPayload -## Hierarchy +### Hierarchy * **JSONRPCRequestPayload** -## Index ### Properties -* [id](#id) -* [jsonrpc](#jsonrpc) -* [method](#method) -* [params](#params) - -## Properties - -### id +## id • **id**: *number* -*Defined in [index.ts:324](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L324)* +*Defined in [index.ts:324](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L324)* ___ -### jsonrpc +## jsonrpc • **jsonrpc**: *string* -*Defined in [index.ts:325](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L325)* +*Defined in [index.ts:325](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L325)* ___ -### method +## method • **method**: *string* -*Defined in [index.ts:323](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L323)* +*Defined in [index.ts:323](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L323)* ___ -### params +## params • **params**: *any[]* -*Defined in [index.ts:322](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L322)* +*Defined in [index.ts:322](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L322)*
-> # Interface: JSONRPCResponseError +# Interface: JSONRPCResponseError -## Hierarchy +### Hierarchy * **JSONRPCResponseError** -## Index ### Properties -* [code](#code) -* [message](#message) - -## Properties - -### code +## code • **code**: *number* -*Defined in [index.ts:330](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L330)* +*Defined in [index.ts:330](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L330)* ___ -### message +## message • **message**: *string* -*Defined in [index.ts:329](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L329)* +*Defined in [index.ts:329](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L329)*
-> # Interface: JSONRPCResponsePayload +# Interface: JSONRPCResponsePayload -## Hierarchy +### Hierarchy * **JSONRPCResponsePayload** -## Index ### Properties -* [error](#optional-error) -* [id](#id) -* [jsonrpc](#jsonrpc) -* [result](#result) - -## Properties - -### `Optional` error +## `Optional` error • **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)* -*Defined in [index.ts:337](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L337)* +*Defined in [index.ts:337](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L337)* ___ -### id +## id • **id**: *number* -*Defined in [index.ts:335](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L335)* +*Defined in [index.ts:335](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L335)* ___ -### jsonrpc +## jsonrpc • **jsonrpc**: *string* -*Defined in [index.ts:336](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L336)* +*Defined in [index.ts:336](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L336)* ___ -### result +## result • **result**: *any* -*Defined in [index.ts:334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L334)* +*Defined in [index.ts:334](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L334)*
-> # Interface: LogEntry +# Interface: LogEntry -## Hierarchy +### Hierarchy * **LogEntry** @@ -3552,452 +3087,391 @@ ___ * [LogEntryEvent](#class-logentryevent) -## Index ### Properties -* [address](#address) -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [data](#data) -* [logIndex](#logindex) -* [topics](#topics) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### address +## address • **address**: *string* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* ___ -### blockHash +## blockHash • **blockHash**: *string | null* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* ___ -### blockNumber +## blockNumber • **blockNumber**: *number | null* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* ___ -### data +## data • **data**: *string* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* ___ -### logIndex +## logIndex • **logIndex**: *number | null* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* ___ -### topics +## topics • **topics**: *string[]* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *number | null* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)*
-> # Interface: LogEntryEvent +# Interface: LogEntryEvent -## Hierarchy +### Hierarchy * [LogEntry](#class-logentry) * **LogEntryEvent** -## Index ### Properties -* [address](#address) -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [data](#data) -* [logIndex](#logindex) -* [removed](#removed) -* [topics](#topics) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### address +## address • **address**: *string* *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* ___ -### blockHash +## blockHash • **blockHash**: *string | null* *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* ___ -### blockNumber +## blockNumber • **blockNumber**: *number | null* *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* ___ -### data +## data • **data**: *string* *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* ___ -### logIndex +## logIndex • **logIndex**: *number | null* *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* ___ -### removed +## removed • **removed**: *boolean* -*Defined in [index.ts:419](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L419)* +*Defined in [index.ts:419](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L419)* ___ -### topics +## topics • **topics**: *string[]* *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *number | null* *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)*
-> # Interface: LogWithDecodedArgs <**ArgsType**> +# Interface: LogWithDecodedArgs <**ArgsType**> -## Type parameters +### Type parameters ▪ **ArgsType**: *[DecodedLogArgs](#class-decodedlogargs)* -## Hierarchy +### Hierarchy * [DecodedLogEntry](#class-decodedlogentry)‹*`ArgsType`*› * **LogWithDecodedArgs** -## Index ### Properties -* [address](#address) -* [args](#args) -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [data](#data) -* [event](#event) -* [logIndex](#logindex) -* [topics](#topics) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### address +## address • **address**: *string* *Inherited from [LogEntry](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* ___ -### args +## args • **args**: *`ArgsType`* *Inherited from [DecodedLogEntry](#args)* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L411)* ___ -### blockHash +## blockHash • **blockHash**: *string | null* *Inherited from [LogEntry](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* ___ -### blockNumber +## blockNumber • **blockNumber**: *number | null* *Inherited from [LogEntry](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* ___ -### data +## data • **data**: *string* *Inherited from [LogEntry](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* ___ -### event +## event • **event**: *string* *Inherited from [DecodedLogEntry](#event)* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L410)* ___ -### logIndex +## logIndex • **logIndex**: *number | null* *Inherited from [LogEntry](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* ___ -### topics +## topics • **topics**: *string[]* *Inherited from [LogEntry](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* *Inherited from [LogEntry](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *number | null* *Inherited from [LogEntry](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)*
-> # Interface: MethodAbi +# Interface: MethodAbi -## Hierarchy +### Hierarchy * **MethodAbi** -## Index ### Properties -* [constant](#constant) -* [inputs](#inputs) -* [name](#name) -* [outputs](#outputs) -* [payable](#payable) -* [stateMutability](#statemutability) -* [type](#type) - -## Properties - -### constant +## constant • **constant**: *boolean* -*Defined in [index.ts:94](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L94)* +*Defined in [index.ts:94](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L94)* ___ -### inputs +## inputs • **inputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L92)* +*Defined in [index.ts:92](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L92)* ___ -### name +## name • **name**: *string* -*Defined in [index.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L91)* +*Defined in [index.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L91)* ___ -### outputs +## outputs • **outputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:93](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L93)* +*Defined in [index.ts:93](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L93)* ___ -### payable +## payable • **payable**: *boolean* -*Defined in [index.ts:96](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L96)* +*Defined in [index.ts:96](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L96)* ___ -### stateMutability +## stateMutability • **stateMutability**: *[StateMutability](#statemutability)* -*Defined in [index.ts:95](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L95)* +*Defined in [index.ts:95](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L95)* ___ -### type +## type • **type**: *string* -*Defined in [index.ts:90](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L90)* +*Defined in [index.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L90)*
-> # Interface: OptimizerSettings +# Interface: OptimizerSettings -## Hierarchy +### Hierarchy * **OptimizerSettings** -## Index ### Properties -* [enabled](#enabled) -* [runs](#optional-runs) - -## Properties - -### enabled +## enabled • **enabled**: *boolean* -*Defined in [index.ts:700](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L700)* +*Defined in [index.ts:700](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L700)* ___ -### `Optional` runs +## `Optional` runs • **runs**? : *undefined | number* -*Defined in [index.ts:701](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L701)* +*Defined in [index.ts:701](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L701)*
-> # Interface: Provider +# Interface: Provider -## Hierarchy +### Hierarchy * **Provider** -## Index ### Methods -* [sendAsync](#sendasync) - -## Methods - -### sendAsync +## sendAsync ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L20)* +*Defined in [index.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L20)* **Parameters:** @@ -4010,281 +3484,233 @@ Name | Type |
-> # Interface: RawLogEntry +# Interface: RawLogEntry -## Hierarchy +### Hierarchy * **RawLogEntry** -## Index ### Properties -* [address](#address) -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [data](#data) -* [logIndex](#logindex) -* [topics](#topics) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### address +## address • **address**: *string* -*Defined in [index.ts:483](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L483)* +*Defined in [index.ts:483](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L483)* ___ -### blockHash +## blockHash • **blockHash**: *string | null* -*Defined in [index.ts:481](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L481)* +*Defined in [index.ts:481](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L481)* ___ -### blockNumber +## blockNumber • **blockNumber**: *string | null* -*Defined in [index.ts:482](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L482)* +*Defined in [index.ts:482](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L482)* ___ -### data +## data • **data**: *string* -*Defined in [index.ts:484](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L484)* +*Defined in [index.ts:484](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L484)* ___ -### logIndex +## logIndex • **logIndex**: *string | null* -*Defined in [index.ts:478](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L478)* +*Defined in [index.ts:478](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L478)* ___ -### topics +## topics • **topics**: *string[]* -*Defined in [index.ts:485](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L485)* +*Defined in [index.ts:485](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L485)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* -*Defined in [index.ts:480](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L480)* +*Defined in [index.ts:480](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L480)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *string | null* -*Defined in [index.ts:479](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L479)* +*Defined in [index.ts:479](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L479)*
-> # Interface: SolcError +# Interface: SolcError -## Hierarchy +### Hierarchy * **SolcError** -## Index ### Properties -* [component](#component) -* [formattedMessage](#optional-formattedmessage) -* [message](#message) -* [severity](#severity) -* [sourceLocation](#optional-sourcelocation) -* [type](#type) - -## Properties - -### component +## component • **component**: *"general" | "ewasm"* -*Defined in [index.ts:596](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L596)* +*Defined in [index.ts:596](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L596)* ___ -### `Optional` formattedMessage +## `Optional` formattedMessage • **formattedMessage**? : *undefined | string* -*Defined in [index.ts:599](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L599)* +*Defined in [index.ts:599](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L599)* ___ -### message +## message • **message**: *string* -*Defined in [index.ts:598](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L598)* +*Defined in [index.ts:598](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L598)* ___ -### severity +## severity • **severity**: *[ErrorSeverity](#errorseverity)* -*Defined in [index.ts:597](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L597)* +*Defined in [index.ts:597](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L597)* ___ -### `Optional` sourceLocation +## `Optional` sourceLocation • **sourceLocation**? : *[SourceLocation](#class-sourcelocation)* -*Defined in [index.ts:594](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L594)* +*Defined in [index.ts:594](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L594)* ___ -### type +## type • **type**: *[ErrorType](#errortype)* -*Defined in [index.ts:595](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L595)* +*Defined in [index.ts:595](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L595)*
-> # Interface: Source +# Interface: Source -## Hierarchy +### Hierarchy * **Source** -## Index ### Properties -* [id](#id) - -## Properties - -### id +## id • **id**: *number* -*Defined in [index.ts:705](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L705)* +*Defined in [index.ts:705](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L705)*
-> # Interface: SourceLocation +# Interface: SourceLocation -## Hierarchy +### Hierarchy * **SourceLocation** -## Index ### Properties -* [end](#end) -* [file](#file) -* [start](#start) - -## Properties - -### end +## end • **end**: *number* -*Defined in [index.ts:605](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L605)* +*Defined in [index.ts:605](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L605)* ___ -### file +## file • **file**: *string* -*Defined in [index.ts:603](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L603)* +*Defined in [index.ts:603](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L603)* ___ -### start +## start • **start**: *number* -*Defined in [index.ts:604](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L604)* +*Defined in [index.ts:604](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L604)*
-> # Interface: StandardContractOutput +# Interface: StandardContractOutput -## Hierarchy +### Hierarchy * **StandardContractOutput** -## Index ### Properties -* [abi](#abi) -* [devdoc](#optional-devdoc) -* [evm](#evm) - -## Properties - -### abi +## abi • **abi**: *[ContractAbi](#contractabi)* -*Defined in [index.ts:556](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L556)* +*Defined in [index.ts:556](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L556)* ___ -### `Optional` devdoc +## `Optional` devdoc • **devdoc**? : *[DevdocOutput](#class-devdocoutput)* -*Defined in [index.ts:558](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L558)* +*Defined in [index.ts:558](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L558)* ___ -### evm +## evm • **evm**: *[EvmOutput](#class-evmoutput)* -*Defined in [index.ts:557](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L557)* +*Defined in [index.ts:557](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L557)*
-> # Interface: StandardOutput +# Interface: StandardOutput -## Hierarchy +### Hierarchy * **StandardOutput** -## Index ### Properties -* [contracts](#contracts) -* [errors](#errors) -* [sources](#sources) - -## Properties - -### contracts +## contracts • **contracts**: *object* -*Defined in [index.ts:570](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L570)* +*Defined in [index.ts:570](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L570)* #### Type declaration: @@ -4294,19 +3720,19 @@ ___ ___ -### errors +## errors • **errors**: *[SolcError](#class-solcerror)[]* -*Defined in [index.ts:562](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L562)* +*Defined in [index.ts:562](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L562)* ___ -### sources +## sources • **sources**: *object* -*Defined in [index.ts:563](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L563)* +*Defined in [index.ts:563](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L563)* #### Type declaration: @@ -4314,97 +3740,84 @@ ___
-> # Interface: StructLog +# Interface: StructLog -## Hierarchy +### Hierarchy * **StructLog** -## Index ### Properties -* [depth](#depth) -* [error](#error) -* [gas](#gas) -* [gasCost](#gascost) -* [memory](#memory) -* [op](#op) -* [pc](#pc) -* [stack](#stack) -* [storage](#storage) - -## Properties - -### depth +## depth • **depth**: *number* -*Defined in [index.ts:287](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L287)* +*Defined in [index.ts:287](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L287)* ___ -### error +## error • **error**: *string* -*Defined in [index.ts:288](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L288)* +*Defined in [index.ts:288](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L288)* ___ -### gas +## gas • **gas**: *number* -*Defined in [index.ts:289](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L289)* +*Defined in [index.ts:289](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L289)* ___ -### gasCost +## gasCost • **gasCost**: *number* -*Defined in [index.ts:290](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L290)* +*Defined in [index.ts:290](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L290)* ___ -### memory +## memory • **memory**: *string[]* -*Defined in [index.ts:291](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L291)* +*Defined in [index.ts:291](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L291)* ___ -### op +## op • **op**: *[OpCode](#enumeration-opcode)* -*Defined in [index.ts:292](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L292)* +*Defined in [index.ts:292](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L292)* ___ -### pc +## pc • **pc**: *number* -*Defined in [index.ts:293](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L293)* +*Defined in [index.ts:293](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L293)* ___ -### stack +## stack • **stack**: *string[]* -*Defined in [index.ts:294](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L294)* +*Defined in [index.ts:294](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L294)* ___ -### storage +## storage • **storage**: *object* -*Defined in [index.ts:295](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L295)* +*Defined in [index.ts:295](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L295)* #### Type declaration: @@ -4412,521 +3825,453 @@ ___
-> # Interface: TraceParams +# Interface: TraceParams -## Hierarchy +### Hierarchy * **TraceParams** -## Index ### Properties -* [disableMemory](#optional-disablememory) -* [disableStack](#optional-disablestack) -* [disableStorage](#optional-disablestorage) -* [timeout](#optional-timeout) -* [tracer](#optional-tracer) - -## Properties - -### `Optional` disableMemory +## `Optional` disableMemory • **disableMemory**? : *undefined | false | true* -*Defined in [index.ts:510](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L510)* +*Defined in [index.ts:510](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L510)* ___ -### `Optional` disableStack +## `Optional` disableStack • **disableStack**? : *undefined | false | true* -*Defined in [index.ts:511](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L511)* +*Defined in [index.ts:511](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L511)* ___ -### `Optional` disableStorage +## `Optional` disableStorage • **disableStorage**? : *undefined | false | true* -*Defined in [index.ts:512](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L512)* +*Defined in [index.ts:512](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L512)* ___ -### `Optional` timeout +## `Optional` timeout • **timeout**? : *undefined | string* -*Defined in [index.ts:514](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L514)* +*Defined in [index.ts:514](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L514)* ___ -### `Optional` tracer +## `Optional` tracer • **tracer**? : *undefined | string* -*Defined in [index.ts:513](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L513)* +*Defined in [index.ts:513](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L513)*
-> # Interface: Transaction +# Interface: Transaction -## Hierarchy +### Hierarchy * **Transaction** -## Index ### Properties -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [from](#from) -* [gas](#gas) -* [gasPrice](#gasprice) -* [hash](#hash) -* [input](#input) -* [nonce](#nonce) -* [to](#to) -* [transactionIndex](#transactionindex) -* [value](#value) - -## Properties - -### blockHash +## blockHash • **blockHash**: *string | null* -*Defined in [index.ts:371](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L371)* +*Defined in [index.ts:371](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L371)* ___ -### blockNumber +## blockNumber • **blockNumber**: *number | null* -*Defined in [index.ts:372](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L372)* +*Defined in [index.ts:372](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L372)* ___ -### from +## from • **from**: *string* -*Defined in [index.ts:374](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L374)* +*Defined in [index.ts:374](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L374)* ___ -### gas +## gas • **gas**: *number* -*Defined in [index.ts:378](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L378)* +*Defined in [index.ts:378](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L378)* ___ -### gasPrice +## gasPrice • **gasPrice**: *`BigNumber`* -*Defined in [index.ts:377](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L377)* +*Defined in [index.ts:377](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L377)* ___ -### hash +## hash • **hash**: *string* -*Defined in [index.ts:369](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L369)* +*Defined in [index.ts:369](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L369)* ___ -### input +## input • **input**: *string* -*Defined in [index.ts:379](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L379)* +*Defined in [index.ts:379](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L379)* ___ -### nonce +## nonce • **nonce**: *number* -*Defined in [index.ts:370](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L370)* +*Defined in [index.ts:370](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L370)* ___ -### to +## to • **to**: *string | null* -*Defined in [index.ts:375](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L375)* +*Defined in [index.ts:375](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L375)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *number | null* -*Defined in [index.ts:373](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L373)* +*Defined in [index.ts:373](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L373)* ___ -### value +## value • **value**: *`BigNumber`* -*Defined in [index.ts:376](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L376)* +*Defined in [index.ts:376](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L376)*
-> # Interface: TransactionReceipt +# Interface: TransactionReceipt -## Hierarchy +### Hierarchy * **TransactionReceipt** * [TransactionReceiptWithDecodedLogs](#class-transactionreceiptwithdecodedlogs) -## Index ### Properties -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [contractAddress](#contractaddress) -* [cumulativeGasUsed](#cumulativegasused) -* [from](#from) -* [gasUsed](#gasused) -* [logs](#logs) -* [status](#status) -* [to](#to) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### blockHash +## blockHash • **blockHash**: *string* -*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L440)* +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L440)* ___ -### blockNumber +## blockNumber • **blockNumber**: *number* -*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L441)* +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L441)* ___ -### contractAddress +## contractAddress • **contractAddress**: *string | null* -*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L449)* +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L449)* ___ -### cumulativeGasUsed +## cumulativeGasUsed • **cumulativeGasUsed**: *number* -*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L447)* +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L447)* ___ -### from +## from • **from**: *string* -*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L444)* +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L444)* ___ -### gasUsed +## gasUsed • **gasUsed**: *number* -*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L448)* +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L448)* ___ -### logs +## logs • **logs**: *[LogEntry](#class-logentry)[]* -*Defined in [index.ts:450](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L450)* +*Defined in [index.ts:450](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L450)* ___ -### status +## status • **status**: *[TransactionReceiptStatus](#transactionreceiptstatus)* -*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L446)* +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L446)* ___ -### to +## to • **to**: *string* -*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L445)* +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L445)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* -*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L442)* +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L442)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *number* -*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L443)* +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L443)*
-> # Interface: TransactionReceiptWithDecodedLogs +# Interface: TransactionReceiptWithDecodedLogs Contains the logs returned by a TransactionReceipt. We attempt to decode the logs using AbiDecoder. If we have the logs corresponding ABI, we decode it, otherwise we don't. -## Hierarchy +### Hierarchy * [TransactionReceipt](#class-transactionreceipt) * **TransactionReceiptWithDecodedLogs** -## Index ### Properties -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [contractAddress](#contractaddress) -* [cumulativeGasUsed](#cumulativegasused) -* [from](#from) -* [gasUsed](#gasused) -* [logs](#logs) -* [status](#status) -* [to](#to) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### blockHash +## blockHash • **blockHash**: *string* *Inherited from [TransactionReceipt](#blockhash)* -*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L440)* +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L440)* ___ -### blockNumber +## blockNumber • **blockNumber**: *number* *Inherited from [TransactionReceipt](#blocknumber)* -*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L441)* +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L441)* ___ -### contractAddress +## contractAddress • **contractAddress**: *string | null* *Inherited from [TransactionReceipt](#contractaddress)* -*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L449)* +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L449)* ___ -### cumulativeGasUsed +## cumulativeGasUsed • **cumulativeGasUsed**: *number* *Inherited from [TransactionReceipt](#cumulativegasused)* -*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L447)* +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L447)* ___ -### from +## from • **from**: *string* *Inherited from [TransactionReceipt](#from)* -*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L444)* +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L444)* ___ -### gasUsed +## gasUsed • **gasUsed**: *number* *Inherited from [TransactionReceipt](#gasused)* -*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L448)* +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L448)* ___ -### logs +## logs • **logs**: *`Array | LogEntry>`* *Overrides [TransactionReceipt](#logs)* -*Defined in [index.ts:506](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L506)* +*Defined in [index.ts:506](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L506)* ___ -### status +## status • **status**: *[TransactionReceiptStatus](#transactionreceiptstatus)* *Inherited from [TransactionReceipt](#status)* -*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L446)* +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L446)* ___ -### to +## to • **to**: *string* *Inherited from [TransactionReceipt](#to)* -*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L445)* +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L445)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* *Inherited from [TransactionReceipt](#transactionhash)* -*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L442)* +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L442)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *number* *Inherited from [TransactionReceipt](#transactionindex)* -*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L443)* +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L443)*
-> # Interface: TransactionTrace +# Interface: TransactionTrace -## Hierarchy +### Hierarchy * **TransactionTrace** -## Index ### Properties -* [gas](#gas) -* [returnValue](#returnvalue) -* [structLogs](#structlogs) - -## Properties - -### gas +## gas • **gas**: *number* -*Defined in [index.ts:299](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L299)* +*Defined in [index.ts:299](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L299)* ___ -### returnValue +## returnValue • **returnValue**: *any* -*Defined in [index.ts:300](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L300)* +*Defined in [index.ts:300](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L300)* ___ -### structLogs +## structLogs • **structLogs**: *[StructLog](#class-structlog)[]* -*Defined in [index.ts:301](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L301)* +*Defined in [index.ts:301](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L301)*
-> # Interface: TupleDataItem +# Interface: TupleDataItem -## Hierarchy +### Hierarchy * [DataItem](#class-dataitem) * **TupleDataItem** -## Index ### Properties -* [components](#components) -* [name](#name) -* [type](#type) - -## Properties - -### components +## components • **components**: *[DataItem](#class-dataitem)[]* *Overrides [DataItem](#optional-components)* -*Defined in [index.ts:135](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L135)* +*Defined in [index.ts:135](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L135)* ___ -### name +## name • **name**: *string* *Inherited from [DataItem](#name)* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L129)* ___ -### type +## type • **type**: *string* *Inherited from [DataItem](#type)* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L130)*
-> # Interface: TxData +# Interface: TxData -## Hierarchy +### Hierarchy * [CallTxDataBase](#class-calltxdatabase) @@ -4934,204 +4279,176 @@ ___ * [TxDataPayable](#class-txdatapayable) -## Index ### Properties -* [data](#optional-data) -* [from](#from) -* [gas](#optional-gas) -* [gasPrice](#optional-gasprice) -* [nonce](#optional-nonce) -* [to](#optional-to) -* [value](#optional-value) - -## Properties - -### `Optional` data +## `Optional` data • **data**? : *undefined | string* *Inherited from [CallTxDataBase](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L387)* ___ -### from +## from • **from**: *string* -*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L392)* +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L392)* ___ -### `Optional` gas +## `Optional` gas • **gas**? : *number | string | `BigNumber`* *Inherited from [CallTxDataBase](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L385)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *number | string | `BigNumber`* *Inherited from [CallTxDataBase](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L386)* ___ -### `Optional` nonce +## `Optional` nonce • **nonce**? : *undefined | number* *Inherited from [CallTxDataBase](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L388)* ___ -### `Optional` to +## `Optional` to • **to**? : *undefined | string* *Inherited from [CallTxDataBase](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L383)* ___ -### `Optional` value +## `Optional` value • **value**? : *number | string | `BigNumber`* *Inherited from [CallTxDataBase](#optional-value)* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L384)*
-> # Interface: TxDataPayable +# Interface: TxDataPayable -## Hierarchy +### Hierarchy * [TxData](#class-txdata) * **TxDataPayable** -## Index ### Properties -* [data](#optional-data) -* [from](#from) -* [gas](#optional-gas) -* [gasPrice](#optional-gasprice) -* [nonce](#optional-nonce) -* [to](#optional-to) -* [value](#optional-value) - -## Properties - -### `Optional` data +## `Optional` data • **data**? : *undefined | string* *Inherited from [CallTxDataBase](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L387)* ___ -### from +## from • **from**: *string* *Inherited from [TxData](#from)* -*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L392)* +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L392)* ___ -### `Optional` gas +## `Optional` gas • **gas**? : *number | string | `BigNumber`* *Inherited from [CallTxDataBase](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L385)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *number | string | `BigNumber`* *Inherited from [CallTxDataBase](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L386)* ___ -### `Optional` nonce +## `Optional` nonce • **nonce**? : *undefined | number* *Inherited from [CallTxDataBase](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L388)* ___ -### `Optional` to +## `Optional` to • **to**? : *undefined | string* *Inherited from [CallTxDataBase](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L383)* ___ -### `Optional` value +## `Optional` value • **value**? : *`BigNumber`* *Overrides [CallTxDataBase](#optional-value)* -*Defined in [index.ts:434](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L434)* +*Defined in [index.ts:434](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L434)*
-> # Interface: Web3JsV1Provider +# Interface: Web3JsV1Provider Web3.js version 1 provider interface This provider interface was implemented in the pre-1.0Beta releases for Web3.js. This interface allowed sending synchonous requests, support for which was later dropped. -## Hierarchy +### Hierarchy * **Web3JsV1Provider** -## Index ### Methods -* [send](#send) -* [sendAsync](#sendasync) - -## Methods - -### send +## send ▸ **send**(`payload`: [JSONRPCRequestPayload](_index_.jsonrpcrequestpayload.md)): *[JSONRPCResponsePayload](#class-jsonrpcresponsepayload)* -*Defined in [index.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L45)* +*Defined in [index.ts:45](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L45)* **Parameters:** @@ -5143,11 +4460,11 @@ Name | Type | ___ -### sendAsync +## sendAsync ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L44)* +*Defined in [index.ts:44](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L44)* **Parameters:** @@ -5160,29 +4477,24 @@ Name | Type |
-> # Interface: Web3JsV2Provider +# Interface: Web3JsV2Provider Web3.js version 2 provider interface This provider interface was used in a couple of Web3.js 1.0 beta releases before the first attempts to conform to EIP1193 -## Hierarchy +### Hierarchy * **Web3JsV2Provider** -## Index ### Methods -* [send](#send) - -## Methods - -### send +## send ▸ **send**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L54)* +*Defined in [index.ts:54](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L54)* **Parameters:** @@ -5195,29 +4507,24 @@ Name | Type |
-> # Interface: Web3JsV3Provider +# Interface: Web3JsV3Provider Web3.js version 3 provider interface This provider interface was implemented with the hopes for conforming to the EIP1193 spec, however it does not conform entirely. -## Hierarchy +### Hierarchy * **Web3JsV3Provider** -## Index ### Methods -* [send](#send) - -## Methods - -### send +## send ▸ **send**(`method`: string, `params?`: any[]): *`Promise`* -*Defined in [index.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L63)* +*Defined in [index.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L63)* **Parameters:** @@ -5230,71 +4537,58 @@ Name | Type |
-> # Interface: ZeroExProvider +# Interface: ZeroExProvider The interface for the provider used internally by 0x libraries Any property we use from any SupportedProvider should we explicitly add here -## Hierarchy +### Hierarchy * **ZeroExProvider** -## Index ### Properties -* [isMetaMask](#optional-ismetamask) -* [isParity](#optional-isparity) -* [isZeroExProvider](#optional-iszeroexprovider) - -### Methods - -* [enable](#optional-enable) -* [sendAsync](#sendasync) -* [stop](#optional-stop) - -## Properties - -### `Optional` isMetaMask +## `Optional` isMetaMask • **isMetaMask**? : *undefined | false | true* -*Defined in [index.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L31)* +*Defined in [index.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L31)* ___ -### `Optional` isParity +## `Optional` isParity • **isParity**? : *undefined | false | true* -*Defined in [index.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L32)* +*Defined in [index.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L32)* ___ -### `Optional` isZeroExProvider +## `Optional` isZeroExProvider • **isZeroExProvider**? : *undefined | false | true* -*Defined in [index.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L30)* +*Defined in [index.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L30)* -## Methods +### Methods -### `Optional` enable +## `Optional` enable ▸ **enable**(): *`Promise`* -*Defined in [index.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L34)* +*Defined in [index.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L34)* **Returns:** *`Promise`* ___ -### sendAsync +## sendAsync ▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L35)* +*Defined in [index.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L35)* **Parameters:** @@ -5307,11 +4601,11 @@ Name | Type | ___ -### `Optional` stop +## `Optional` stop ▸ **stop**(): *void* -*Defined in [index.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/ethereum-types/src/index.ts#L33)* +*Defined in [index.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L33)* **Returns:** *void* diff --git a/packages/json-schemas/docs/reference.mdx b/packages/json-schemas/docs/reference.mdx index 1b7b1edf3a..2dff638921 100644 --- a/packages/json-schemas/docs/reference.mdx +++ b/packages/json-schemas/docs/reference.mdx @@ -1,42 +1,31 @@ -> # Class: SchemaValidator +# Class: SchemaValidator A validator for [JSON-schemas](http://json-schema.org/) -## Hierarchy +### Hierarchy * **SchemaValidator** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [addSchema](#addschema) -* [isValid](#isvalid) -* [validate](#validate) - -## Constructors - -### constructor +## constructer \+ **new SchemaValidator**(): *[SchemaValidator](#class-schemavalidator)* -*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/json-schemas/src/schema_validator.ts#L15)* +*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/json-schemas/src/schema_validator.ts#L15)* Instantiates a SchemaValidator instance **Returns:** *[SchemaValidator](#class-schemavalidator)* -## Methods +### Methods -### addSchema +## addSchema ▸ **addSchema**(`schema`: `Schema`): *void* -*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/json-schemas/src/schema_validator.ts#L32)* +*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/json-schemas/src/schema_validator.ts#L32)* Add a schema to the validator. All schemas and sub-schemas must be added to the validator before the `validate` and `isValid` methods can be called with @@ -52,11 +41,11 @@ Name | Type | Description | ___ -### isValid +## isValid ▸ **isValid**(`instance`: any, `schema`: `Schema`): *boolean* -*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/json-schemas/src/schema_validator.ts#L57)* +*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/json-schemas/src/schema_validator.ts#L57)* Check whether an instance properly adheres to a JSON schema @@ -73,11 +62,11 @@ Whether or not the instance adheres to the schema ___ -### validate +## validate ▸ **validate**(`instance`: any, `schema`: `Schema`): *`ValidatorResult`* -*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/json-schemas/src/schema_validator.ts#L46)* +*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/json-schemas/src/schema_validator.ts#L46)* Validate the JS object conforms to a specific JSON schema diff --git a/packages/migrations/docs/reference.mdx b/packages/migrations/docs/reference.mdx index 840ffdb5de..81fc131e24 100644 --- a/packages/migrations/docs/reference.mdx +++ b/packages/migrations/docs/reference.mdx @@ -1,206 +1,175 @@ -> # Enumeration: ContractName +# Enumeration: ContractName -## Index ### Enumeration members -* [AccountLevels](#accountlevels) -* [Arbitrage](#arbitrage) -* [DummyToken](#dummytoken) -* [EtherDelta](#etherdelta) -* [Exchange](#exchange) -* [MultiSigWalletWithTimeLock](#multisigwalletwithtimelock) -* [MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress](#multisigwalletwithtimelockexceptremoveauthorizedaddress) -* [TokenRegistry](#tokenregistry) -* [TokenTransferProxy](#tokentransferproxy) -* [WETH9](#weth9) -* [ZRXToken](#zrxtoken) - -## Enumeration members - -### AccountLevels +## AccountLevels • **AccountLevels**: = "AccountLevels" -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L26)* ___ -### Arbitrage +## Arbitrage • **Arbitrage**: = "Arbitrage" -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L28)* ___ -### DummyToken +## DummyToken • **DummyToken**: = "DummyToken" -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L23)* ___ -### EtherDelta +## EtherDelta • **EtherDelta**: = "EtherDelta" -*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L27)* +*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L27)* ___ -### Exchange +## Exchange • **Exchange**: = "Exchange" -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L21)* ___ -### MultiSigWalletWithTimeLock +## MultiSigWalletWithTimeLock • **MultiSigWalletWithTimeLock**: = "MultiSigWalletWithTimeLock" -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L20)* ___ -### MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress +## MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress • **MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress**: = "MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress" -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L25)* ___ -### TokenRegistry +## TokenRegistry • **TokenRegistry**: = "TokenRegistry" -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L19)* ___ -### TokenTransferProxy +## TokenTransferProxy • **TokenTransferProxy**: = "TokenTransferProxy" -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L18)* ___ -### WETH9 +## WETH9 • **WETH9**: = "WETH9" -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L24)* ___ -### ZRXToken +## ZRXToken • **ZRXToken**: = "ZRXToken" -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L22)*
-> # Interface: ERC20Token +# Interface: ERC20Token -## Hierarchy +### Hierarchy * **ERC20Token** -## Index ### Properties -* [address](#optional-address) -* [decimals](#decimals) -* [ipfsHash](#ipfshash) -* [name](#name) -* [swarmHash](#swarmhash) -* [symbol](#symbol) - -## Properties - -### `Optional` address +## `Optional` address • **address**? : *undefined | string* -*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L4)* +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L4)* ___ -### decimals +## decimals • **decimals**: *`BigNumber`* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L7)* ___ -### ipfsHash +## ipfsHash • **ipfsHash**: *string* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L8)* ___ -### name +## name • **name**: *string* -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L5)* ___ -### swarmHash +## swarmHash • **swarmHash**: *string* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L9)* ___ -### symbol +## symbol • **symbol**: *string* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L6)*
-> # Interface: ERC721Token +# Interface: ERC721Token -## Hierarchy +### Hierarchy * **ERC721Token** -## Index ### Properties -* [name](#name) -* [symbol](#symbol) - -## Properties - -### name +## name • **name**: *string* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L13)* ___ -### symbol +## symbol • **symbol**: *string* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/migrations/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L14)*
diff --git a/packages/order-utils/docs/reference.mdx b/packages/order-utils/docs/reference.mdx index d2ef5ed7ea..8501c878cb 100644 --- a/packages/order-utils/docs/reference.mdx +++ b/packages/order-utils/docs/reference.mdx @@ -1,27 +1,21 @@ -> # Class: AbstractBalanceAndProxyAllowanceFetcher +# Class: AbstractBalanceAndProxyAllowanceFetcher An abstract class to be implemented in order to use OrderStateUtils. The class that implements this interface must be capable of fetching the balance and proxyAllowance for an Ethereum address and assetData -## Hierarchy +### Hierarchy * **AbstractBalanceAndProxyAllowanceFetcher** -## Index ### Methods -* [getBalanceAsync](#abstract-getbalanceasync) -* [getProxyAllowanceAsync](#abstract-getproxyallowanceasync) - -## Methods - -### `Abstract` getBalanceAsync +## `Abstract` getBalanceAsync ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L15)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L15)* Get balance of assetData for userAddress @@ -38,11 +32,11 @@ Balance amount in base units ___ -### `Abstract` getProxyAllowanceAsync +## `Abstract` getProxyAllowanceAsync ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L22)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L22)* Get the 0x asset proxy allowance of assetData for userAddress @@ -59,45 +53,34 @@ Allowance amount in base units
-> # Class: AbstractBalanceAndProxyAllowanceLazyStore +# Class: AbstractBalanceAndProxyAllowanceLazyStore -## Hierarchy +### Hierarchy * **AbstractBalanceAndProxyAllowanceLazyStore** -## Implemented by +### Implemented by * [BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore) -## Index ### Methods -* [deleteAll](#abstract-deleteall) -* [deleteBalance](#abstract-deletebalance) -* [deleteProxyAllowance](#abstract-deleteproxyallowance) -* [getBalanceAsync](#abstract-getbalanceasync) -* [getProxyAllowanceAsync](#abstract-getproxyallowanceasync) -* [setBalance](#abstract-setbalance) -* [setProxyAllowance](#abstract-setproxyallowance) - -## Methods - -### `Abstract` deleteAll +## `Abstract` deleteAll ▸ **deleteAll**(): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* **Returns:** *void* ___ -### `Abstract` deleteBalance +## `Abstract` deleteBalance ▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* **Parameters:** @@ -110,11 +93,11 @@ Name | Type | ___ -### `Abstract` deleteProxyAllowance +## `Abstract` deleteProxyAllowance ▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* **Parameters:** @@ -127,11 +110,11 @@ Name | Type | ___ -### `Abstract` getBalanceAsync +## `Abstract` getBalanceAsync ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* **Parameters:** @@ -144,11 +127,11 @@ Name | Type | ___ -### `Abstract` getProxyAllowanceAsync +## `Abstract` getProxyAllowanceAsync ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* **Parameters:** @@ -161,11 +144,11 @@ Name | Type | ___ -### `Abstract` setBalance +## `Abstract` setBalance ▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* **Parameters:** @@ -179,11 +162,11 @@ Name | Type | ___ -### `Abstract` setProxyAllowance +## `Abstract` setProxyAllowance ▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* **Parameters:** @@ -197,31 +180,24 @@ Name | Type |
-> # Class: AbstractOrderFilledCancelledFetcher +# Class: AbstractOrderFilledCancelledFetcher An abstract class to be implemented in order to use OrderStateUtils. The class that implements this interface must be capable of fetching the amount filled of an order and whether it's been cancelled. -## Hierarchy +### Hierarchy * **AbstractOrderFilledCancelledFetcher** -## Index ### Methods -* [getFilledTakerAmountAsync](#abstract-getfilledtakeramountasync) -* [getZRXAssetData](#abstract-getzrxassetdata) -* [isOrderCancelledAsync](#abstract-isordercancelledasync) - -## Methods - -### `Abstract` getFilledTakerAmountAsync +## `Abstract` getFilledTakerAmountAsync ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L15)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L15)* Get the amount of the order's takerToken amount already filled @@ -237,21 +213,21 @@ FilledTakerAmount ___ -### `Abstract` getZRXAssetData +## `Abstract` getZRXAssetData ▸ **getZRXAssetData**(): *string* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L22)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L22)* **Returns:** *string* ___ -### `Abstract` isOrderCancelledAsync +## `Abstract` isOrderCancelledAsync ▸ **isOrderCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L21)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L21)* Whether an order is cancelled @@ -267,46 +243,34 @@ Whether or not the order is cancelled
-> # Class: AbstractOrderFilledCancelledLazyStore +# Class: AbstractOrderFilledCancelledLazyStore -## Hierarchy +### Hierarchy * **AbstractOrderFilledCancelledLazyStore** -## Implemented by +### Implemented by * [OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore) -## Index ### Methods -* [deleteAll](#abstract-deleteall) -* [deleteFilledTakerAmount](#abstract-deletefilledtakeramount) -* [deleteIsCancelled](#abstract-deleteiscancelled) -* [getFilledTakerAmountAsync](#abstract-getfilledtakeramountasync) -* [getIsCancelledAsync](#abstract-getiscancelledasync) -* [getZRXAssetData](#abstract-getzrxassetdata) -* [setFilledTakerAmount](#abstract-setfilledtakeramount) -* [setIsCancelled](#abstract-setiscancelled) - -## Methods - -### `Abstract` deleteAll +## `Abstract` deleteAll ▸ **deleteAll**(): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L11)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L11)* **Returns:** *void* ___ -### `Abstract` deleteFilledTakerAmount +## `Abstract` deleteFilledTakerAmount ▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L8)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L8)* **Parameters:** @@ -318,11 +282,11 @@ Name | Type | ___ -### `Abstract` deleteIsCancelled +## `Abstract` deleteIsCancelled ▸ **deleteIsCancelled**(`orderHash`: string): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L10)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L10)* **Parameters:** @@ -334,11 +298,11 @@ Name | Type | ___ -### `Abstract` getFilledTakerAmountAsync +## `Abstract` getFilledTakerAmountAsync ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L5)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L5)* **Parameters:** @@ -350,11 +314,11 @@ Name | Type | ___ -### `Abstract` getIsCancelledAsync +## `Abstract` getIsCancelledAsync ▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L6)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L6)* **Parameters:** @@ -366,21 +330,21 @@ Name | Type | ___ -### `Abstract` getZRXAssetData +## `Abstract` getZRXAssetData ▸ **getZRXAssetData**(): *string* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L12)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L12)* **Returns:** *string* ___ -### `Abstract` setFilledTakerAmount +## `Abstract` setFilledTakerAmount ▸ **setFilledTakerAmount**(`orderHash`: string, `balance`: `BigNumber`): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L7)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L7)* **Parameters:** @@ -393,11 +357,11 @@ Name | Type | ___ -### `Abstract` setIsCancelled +## `Abstract` setIsCancelled ▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L9)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L9)* **Parameters:** @@ -410,32 +374,23 @@ Name | Type |
-> # Class: ExchangeTransferSimulator +# Class: ExchangeTransferSimulator An exchange transfer simulator which simulates asset transfers exactly how the 0x exchange contract would do them. -## Hierarchy +### Hierarchy * **ExchangeTransferSimulator** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [transferFromAsync](#transferfromasync) - -## Constructors - -### constructor +## constructer \+ **new ExchangeTransferSimulator**(`store`: [AbstractBalanceAndProxyAllowanceLazyStore](_abstract_abstract_balance_and_proxy_allowance_lazy_store_.abstractbalanceandproxyallowancelazystore.md)): *[ExchangeTransferSimulator](#class-exchangetransfersimulator)* -*Defined in [exchange_transfer_simulator.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/exchange_transfer_simulator.ts#L50)* +*Defined in [exchange_transfer_simulator.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/exchange_transfer_simulator.ts#L50)* Instantiate a ExchangeTransferSimulator @@ -449,13 +404,13 @@ Name | Type | Description | an instance of ExchangeTransferSimulator -## Methods +### Methods -### transferFromAsync +## transferFromAsync ▸ **transferFromAsync**(`assetData`: string, `from`: string, `to`: string, `amountInBaseUnits`: `BigNumber`, `tradeSide`: [TradeSide](#enumeration-tradeside), `transferType`: [TransferType](#enumeration-transfertype)): *`Promise`* -*Defined in [exchange_transfer_simulator.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/exchange_transfer_simulator.ts#L70)* +*Defined in [exchange_transfer_simulator.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/exchange_transfer_simulator.ts#L70)* Simulates transferFrom call performed by a proxy @@ -474,31 +429,20 @@ Name | Type | Description |
-> # Class: OrderStateUtils +# Class: OrderStateUtils -## Hierarchy +### Hierarchy * **OrderStateUtils** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [getMaxFillableTakerAssetAmountAsync](#getmaxfillabletakerassetamountasync) -* [getOpenOrderRelevantStateAsync](#getopenorderrelevantstateasync) -* [getOpenOrderStateAsync](#getopenorderstateasync) - -## Constructors - -### constructor +## constructer \+ **new OrderStateUtils**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](_abstract_abstract_balance_and_proxy_allowance_fetcher_.abstractbalanceandproxyallowancefetcher.md), `orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](_abstract_abstract_order_filled_cancelled_fetcher_.abstractorderfilledcancelledfetcher.md)): *[OrderStateUtils](#class-orderstateutils)* -*Defined in [order_state_utils.ts:98](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_state_utils.ts#L98)* +*Defined in [order_state_utils.ts:98](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_state_utils.ts#L98)* Instantiate OrderStateUtils @@ -513,13 +457,13 @@ Name | Type | Description | Instance of OrderStateUtils -## Methods +### Methods -### getMaxFillableTakerAssetAmountAsync +## getMaxFillableTakerAssetAmountAsync ▸ **getMaxFillableTakerAssetAmountAsync**(`signedOrder`: `SignedOrder`, `takerAddress`: string): *`Promise`* -*Defined in [order_state_utils.ts:192](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_state_utils.ts#L192)* +*Defined in [order_state_utils.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_state_utils.ts#L192)* Get the max amount of the supplied order's takerAmount that could still be filled @@ -536,11 +480,11 @@ fillableTakerAssetAmount ___ -### getOpenOrderRelevantStateAsync +## getOpenOrderRelevantStateAsync ▸ **getOpenOrderRelevantStateAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [order_state_utils.ts:162](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_state_utils.ts#L162)* +*Defined in [order_state_utils.ts:162](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_state_utils.ts#L162)* Get state relevant to an order (i.e makerBalance, makerAllowance, filledTakerAssetAmount, etc... @@ -556,11 +500,11 @@ An instance of OrderRelevantState ___ -### getOpenOrderStateAsync +## getOpenOrderStateAsync ▸ **getOpenOrderStateAsync**(`signedOrder`: `SignedOrder`, `transactionHash?`: undefined | string): *`Promise`* -*Defined in [order_state_utils.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_state_utils.ts#L122)* +*Defined in [order_state_utils.ts:122](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_state_utils.ts#L122)* Get the orderState for an "open" order (i.e where takerAddress=NULL_ADDRESS) This method will only check the maker's balance/allowance to calculate the @@ -580,35 +524,22 @@ Validity is defined as a non-zero amount of the order can still be filled.
-> # Class: OrderValidationUtils +# Class: OrderValidationUtils A utility class for validating orders -## Hierarchy +### Hierarchy * **OrderValidationUtils** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [validateFillOrderThrowIfInvalidAsync](#validatefillorderthrowifinvalidasync) -* [validateOrderFillableOrThrowAsync](#validateorderfillableorthrowasync) -* [isRoundingErrorFloor](#static-isroundingerrorfloor) -* [validateFillOrderBalancesAllowancesThrowIfInvalidAsync](#static-validatefillorderbalancesallowancesthrowifinvalidasync) -* [validateMakerTransferThrowIfInvalidAsync](#static-validatemakertransferthrowifinvalidasync) - -## Constructors - -### constructor +## constructer \+ **new OrderValidationUtils**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](_abstract_abstract_order_filled_cancelled_fetcher_.abstractorderfilledcancelledfetcher.md), `supportedProvider`: `SupportedProvider`): *[OrderValidationUtils](#class-ordervalidationutils)* -*Defined in [order_validation_utils.ts:159](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L159)* +*Defined in [order_validation_utils.ts:159](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L159)* Instantiate OrderValidationUtils @@ -623,13 +554,13 @@ Name | Type | Description | An instance of OrderValidationUtils -## Methods +### Methods -### validateFillOrderThrowIfInvalidAsync +## validateFillOrderThrowIfInvalidAsync ▸ **validateFillOrderThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `takerAddress`: string, `zrxAssetData`: string): *`Promise`* -*Defined in [order_validation_utils.ts:236](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L236)* +*Defined in [order_validation_utils.ts:237](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L237)* Validate a call to FillOrder and throw if it wouldn't succeed @@ -648,11 +579,11 @@ Name | Type | Description | ___ -### validateOrderFillableOrThrowAsync +## validateOrderFillableOrThrowAsync ▸ **validateOrderFillableOrThrowAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `zrxAssetData`: string, `expectedFillTakerTokenAmount?`: `BigNumber`): *`Promise`* -*Defined in [order_validation_utils.ts:185](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L185)* +*Defined in [order_validation_utils.ts:185](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L185)* Validate if the supplied order is fillable, and throw if it isn't @@ -669,11 +600,11 @@ Name | Type | Description | ___ -### `Static` isRoundingErrorFloor +## `Static` isRoundingErrorFloor ▸ **isRoundingErrorFloor**(`numerator`: `BigNumber`, `denominator`: `BigNumber`, `target`: `BigNumber`): *boolean* -*Defined in [order_validation_utils.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L34)* +*Defined in [order_validation_utils.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L34)* A Typescript implementation mirroring the implementation of isRoundingError in the Exchange smart contract @@ -690,11 +621,11 @@ Name | Type | Description | ___ -### `Static` validateFillOrderBalancesAllowancesThrowIfInvalidAsync +## `Static` validateFillOrderBalancesAllowancesThrowIfInvalidAsync ▸ **validateFillOrderBalancesAllowancesThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `senderAddress`: string, `zrxAssetData`: string): *`Promise`* -*Defined in [order_validation_utils.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L61)* +*Defined in [order_validation_utils.ts:61](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L61)* Validate that the maker & taker have sufficient balances/allowances to fill the supplied order to the fillTakerAssetAmount amount @@ -713,11 +644,11 @@ Name | Type | Description | ___ -### `Static` validateMakerTransferThrowIfInvalidAsync +## `Static` validateMakerTransferThrowIfInvalidAsync ▸ **validateMakerTransferThrowIfInvalidAsync**(`networkId`: `NetworkId`, `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `makerAssetAmount`: `BigNumber`, `takerAddress?`: undefined | string): *`Promise`* -*Defined in [order_validation_utils.ts:127](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/order_validation_utils.ts#L127)* +*Defined in [order_validation_utils.ts:127](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L127)* Validate the transfer from the maker to the taker. This is simulated on-chain via an eth_call. If this call fails, the asset is currently nontransferable. @@ -736,29 +667,20 @@ Name | Type | Description |
-> # Class: RemainingFillableCalculator +# Class: RemainingFillableCalculator -## Hierarchy +### Hierarchy * **RemainingFillableCalculator** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [computeRemainingFillable](#computeremainingfillable) - -## Constructors - -### constructor +## constructer \+ **new RemainingFillableCalculator**(`orderFee`: `BigNumber`, `orderAssetAmount`: `BigNumber`, `isTraderAssetZRX`: boolean, `transferrableAssetAmount`: `BigNumber`, `transferrableFeeAmount`: `BigNumber`, `remainingOrderAssetAmount`: `BigNumber`): *[RemainingFillableCalculator](#class-remainingfillablecalculator)* -*Defined in [remaining_fillable_calculator.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/remaining_fillable_calculator.ts#L11)* +*Defined in [remaining_fillable_calculator.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/remaining_fillable_calculator.ts#L11)* **Parameters:** @@ -773,54 +695,38 @@ Name | Type | **Returns:** *[RemainingFillableCalculator](#class-remainingfillablecalculator)* -## Methods +### Methods -### computeRemainingFillable +## computeRemainingFillable ▸ **computeRemainingFillable**(): *`BigNumber`* -*Defined in [remaining_fillable_calculator.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/remaining_fillable_calculator.ts#L30)* +*Defined in [remaining_fillable_calculator.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/remaining_fillable_calculator.ts#L30)* **Returns:** *`BigNumber`*
-> # Class: BalanceAndProxyAllowanceLazyStore +# Class: BalanceAndProxyAllowanceLazyStore Copy on read store for balances/proxyAllowances of tokens/accounts -## Hierarchy +### Hierarchy * **BalanceAndProxyAllowanceLazyStore** -## Implements +### Implements * [AbstractBalanceAndProxyAllowanceLazyStore](#class-abstractbalanceandproxyallowancelazystore) -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [deleteAll](#deleteall) -* [deleteAllERC721ProxyAllowance](#deleteallerc721proxyallowance) -* [deleteBalance](#deletebalance) -* [deleteProxyAllowance](#deleteproxyallowance) -* [getBalanceAsync](#getbalanceasync) -* [getProxyAllowanceAsync](#getproxyallowanceasync) -* [setBalance](#setbalance) -* [setProxyAllowance](#setproxyallowance) - -## Constructors - -### constructor +## constructer \+ **new BalanceAndProxyAllowanceLazyStore**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](_abstract_abstract_balance_and_proxy_allowance_fetcher_.abstractbalanceandproxyallowancefetcher.md)): *[BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore)* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L23)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L23)* Instantiates a BalanceAndProxyAllowanceLazyStore @@ -834,13 +740,13 @@ Name | Type | Description | Instance of BalanceAndProxyAllowanceLazyStore -## Methods +### Methods -### deleteAll +## deleteAll ▸ **deleteAll**(): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L136)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:136](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L136)* Delete all balances & allowances @@ -848,11 +754,11 @@ Delete all balances & allowances ___ -### deleteAllERC721ProxyAllowance +## deleteAllERC721ProxyAllowance ▸ **deleteAllERC721ProxyAllowance**(`tokenAddress`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:119](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L119)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L119)* Clear all ERC721 0x proxy allowances a user has on all items of a specific ERC721 contract @@ -867,11 +773,11 @@ Name | Type | Description | ___ -### deleteBalance +## deleteBalance ▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L63)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L63)* Clear the balance of an asset for a user @@ -886,11 +792,11 @@ Name | Type | Description | ___ -### deleteProxyAllowance +## deleteProxyAllowance ▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:106](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L106)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:106](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L106)* Clear the 0x asset proxy allowance @@ -905,11 +811,11 @@ Name | Type | Description | ___ -### getBalanceAsync +## getBalanceAsync ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L39)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L39)* Get a users balance of an asset @@ -924,11 +830,11 @@ Name | Type | Description | ___ -### getProxyAllowanceAsync +## getProxyAllowanceAsync ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L76)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L76)* Get the 0x asset proxy allowance @@ -943,11 +849,11 @@ Name | Type | Description | ___ -### setBalance +## setBalance ▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L52)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L52)* Set the balance of an asset for a user @@ -963,11 +869,11 @@ Name | Type | Description | ___ -### setProxyAllowance +## setProxyAllowance ▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:95](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L95)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:95](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L95)* Set the 0x asset proxy allowance @@ -983,44 +889,26 @@ Name | Type | Description |
-> # Class: OrderFilledCancelledLazyStore +# Class: OrderFilledCancelledLazyStore Copy on read store for balances/proxyAllowances of tokens/accounts -## Hierarchy +### Hierarchy * **OrderFilledCancelledLazyStore** -## Implements +### Implements * [AbstractOrderFilledCancelledLazyStore](#class-abstractorderfilledcancelledlazystore) -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [deleteAll](#deleteall) -* [deleteAllFilled](#deleteallfilled) -* [deleteAllIsCancelled](#deletealliscancelled) -* [deleteFilledTakerAmount](#deletefilledtakeramount) -* [deleteIsCancelled](#deleteiscancelled) -* [getFilledTakerAmountAsync](#getfilledtakeramountasync) -* [getIsCancelledAsync](#getiscancelledasync) -* [getZRXAssetData](#getzrxassetdata) -* [setFilledTakerAmount](#setfilledtakeramount) -* [setIsCancelled](#setiscancelled) - -## Constructors - -### constructor +## constructer \+ **new OrderFilledCancelledLazyStore**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](_abstract_abstract_order_filled_cancelled_fetcher_.abstractorderfilledcancelledfetcher.md)): *[OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore)* -*Defined in [store/order_filled_cancelled_lazy_store.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L19)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L19)* Instantiate a OrderFilledCancelledLazyStore @@ -1034,13 +922,13 @@ Name | Type | Description | An instance of OrderFilledCancelledLazyStore -## Methods +### Methods -### deleteAll +## deleteAll ▸ **deleteAll**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:90](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L90)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L90)* Clear all filled/cancelled state @@ -1048,11 +936,11 @@ Clear all filled/cancelled state ___ -### deleteAllFilled +## deleteAllFilled ▸ **deleteAllFilled**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:103](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L103)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:103](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L103)* Clear all filled state @@ -1060,11 +948,11 @@ Clear all filled state ___ -### deleteAllIsCancelled +## deleteAllIsCancelled ▸ **deleteAllIsCancelled**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:97](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L97)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:97](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L97)* Clear all cancelled state @@ -1072,11 +960,11 @@ Clear all cancelled state ___ -### deleteFilledTakerAmount +## deleteFilledTakerAmount ▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L55)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L55)* Clear the filledTakerAssetAmount of an order @@ -1090,11 +978,11 @@ Name | Type | Description | ___ -### deleteIsCancelled +## deleteIsCancelled ▸ **deleteIsCancelled**(`orderHash`: string): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L84)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:84](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L84)* Clear whether the order has been cancelled if already set @@ -1108,11 +996,11 @@ Name | Type | Description | ___ -### getFilledTakerAmountAsync +## getFilledTakerAmountAsync ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [store/order_filled_cancelled_lazy_store.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L35)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L35)* Get the filledTakerAssetAmount of an order @@ -1128,11 +1016,11 @@ filledTakerAssetAmount ___ -### getIsCancelledAsync +## getIsCancelledAsync ▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [store/order_filled_cancelled_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L63)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L63)* Check if an order has been cancelled @@ -1148,11 +1036,11 @@ Whether the order has been cancelled ___ -### getZRXAssetData +## getZRXAssetData ▸ **getZRXAssetData**(): *string* -*Defined in [store/order_filled_cancelled_lazy_store.ts:109](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L109)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:109](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L109)* Get the ZRX assetData @@ -1160,11 +1048,11 @@ Get the ZRX assetData ___ -### setFilledTakerAmount +## setFilledTakerAmount ▸ **setFilledTakerAmount**(`orderHash`: string, `filledTakerAmount`: `BigNumber`): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L48)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L48)* Set the filledTakerAssetAmount of an order @@ -1179,11 +1067,11 @@ Name | Type | Description | ___ -### setIsCancelled +## setIsCancelled ▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L77)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L77)* Set whether an order has been cancelled or not @@ -1198,208 +1086,172 @@ Name | Type | Description |
-> # Enumeration: TradeSide +# Enumeration: TradeSide -## Index ### Enumeration members -* [Maker](#maker) -* [Taker](#taker) - -## Enumeration members - -### Maker +## Maker • **Maker**: = "maker" -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L9)* ___ -### Taker +## Taker • **Taker**: = "taker" -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L10)*
-> # Enumeration: TransferType +# Enumeration: TransferType -## Index ### Enumeration members -* [Fee](#fee) -* [Trade](#trade) - -## Enumeration members - -### Fee +## Fee • **Fee**: = "fee" -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L15)* ___ -### Trade +## Trade • **Trade**: = "trade" -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L14)*
-> # Enumeration: TypedDataError +# Enumeration: TypedDataError -## Index ### Enumeration members -* [InvalidMetamaskSigner](#invalidmetamasksigner) -* [InvalidSignature](#invalidsignature) - -## Enumeration members - -### InvalidMetamaskSigner +## InvalidMetamaskSigner • **InvalidMetamaskSigner**: = "MetaMask provider must be wrapped in a MetamaskSubprovider (from the '@0x/subproviders' package) in order to work with this method." -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L5)* ___ -### InvalidSignature +## InvalidSignature • **InvalidSignature**: = "INVALID_SIGNATURE" -*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L4)* +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L4)*
-> # Interface: CreateOrderOpts +# Interface: CreateOrderOpts -## Hierarchy +### Hierarchy * **CreateOrderOpts** -## Index ### Properties -* [expirationTimeSeconds](#optional-expirationtimeseconds) -* [feeRecipientAddress](#optional-feerecipientaddress) -* [makerFee](#optional-makerfee) -* [salt](#optional-salt) -* [senderAddress](#optional-senderaddress) -* [takerAddress](#optional-takeraddress) -* [takerFee](#optional-takerfee) - -## Properties - -### `Optional` expirationTimeSeconds +## `Optional` expirationTimeSeconds • **expirationTimeSeconds**? : *`BigNumber`* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L25)* ___ -### `Optional` feeRecipientAddress +## `Optional` feeRecipientAddress • **feeRecipientAddress**? : *undefined | string* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L23)* ___ -### `Optional` makerFee +## `Optional` makerFee • **makerFee**? : *`BigNumber`* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L21)* ___ -### `Optional` salt +## `Optional` salt • **salt**? : *`BigNumber`* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L24)* ___ -### `Optional` senderAddress +## `Optional` senderAddress • **senderAddress**? : *undefined | string* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L20)* ___ -### `Optional` takerAddress +## `Optional` takerAddress • **takerAddress**? : *undefined | string* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L19)* ___ -### `Optional` takerFee +## `Optional` takerFee • **takerFee**? : *`BigNumber`* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L22)*
-> # Interface: FeeOrdersAndRemainingFeeAmount <**T**> +# Interface: FeeOrdersAndRemainingFeeAmount <**T**> -## Type parameters +### Type parameters ▪ **T** -## Hierarchy +### Hierarchy * **FeeOrdersAndRemainingFeeAmount** -## Index ### Properties -* [feeOrdersRemainingFillableMakerAssetAmounts](#feeordersremainingfillablemakerassetamounts) -* [remainingFeeAmount](#remainingfeeamount) -* [resultFeeOrders](#resultfeeorders) - -## Properties - -### feeOrdersRemainingFillableMakerAssetAmounts +## feeOrdersRemainingFillableMakerAssetAmounts • **feeOrdersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L70)* +*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L70)* ___ -### remainingFeeAmount +## remainingFeeAmount • **remainingFeeAmount**: *`BigNumber`* -*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L71)* +*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L71)* ___ -### resultFeeOrders +## resultFeeOrders • **resultFeeOrders**: *`T`[]* -*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L69)* +*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L69)*
-> # Interface: FindFeeOrdersThatCoverFeesForTargetOrdersOpts +# Interface: FindFeeOrdersThatCoverFeesForTargetOrdersOpts remainingFillableMakerAssetAmount: An array of BigNumbers corresponding to the `orders` parameter. You can use `OrderStateUtils` `@0x/order-utils` to perform blockchain lookups for these values. @@ -1410,45 +1262,38 @@ Defaults to `makerAssetAmount` values from the feeOrders param. slippageBufferAmount: An additional amount of fee to be covered by the result in case of trade collisions or partial fills. Defaults to 0 -## Hierarchy +### Hierarchy * **FindFeeOrdersThatCoverFeesForTargetOrdersOpts** -## Index ### Properties -* [remainingFillableFeeAmounts](#optional-remainingfillablefeeamounts) -* [remainingFillableMakerAssetAmounts](#optional-remainingfillablemakerassetamounts) -* [slippageBufferAmount](#optional-slippagebufferamount) - -## Properties - -### `Optional` remainingFillableFeeAmounts +## `Optional` remainingFillableFeeAmounts • **remainingFillableFeeAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L64)* ___ -### `Optional` remainingFillableMakerAssetAmounts +## `Optional` remainingFillableMakerAssetAmounts • **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L63)* ___ -### `Optional` slippageBufferAmount +## `Optional` slippageBufferAmount • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L65)*
-> # Interface: FindOrdersThatCoverMakerAssetFillAmountOpts +# Interface: FindOrdersThatCoverMakerAssetFillAmountOpts remainingFillableMakerAssetAmount: An array of BigNumbers corresponding to the `orders` parameter. You can use `OrderStateUtils` `@0x/order-utils` to perform blockchain lookups for these values. @@ -1456,36 +1301,30 @@ Defaults to `makerAssetAmount` values from the orders param. slippageBufferAmount: An additional amount of makerAsset to be covered by the result in case of trade collisions or partial fills. Defaults to 0 -## Hierarchy +### Hierarchy * **FindOrdersThatCoverMakerAssetFillAmountOpts** -## Index ### Properties -* [remainingFillableMakerAssetAmounts](#optional-remainingfillablemakerassetamounts) -* [slippageBufferAmount](#optional-slippagebufferamount) - -## Properties - -### `Optional` remainingFillableMakerAssetAmounts +## `Optional` remainingFillableMakerAssetAmounts • **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L36)* ___ -### `Optional` slippageBufferAmount +## `Optional` slippageBufferAmount • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L37)*
-> # Interface: FindOrdersThatCoverTakerAssetFillAmountOpts +# Interface: FindOrdersThatCoverTakerAssetFillAmountOpts remainingFillableMakerAssetAmount: An array of BigNumbers corresponding to the `orders` parameter. You can use `OrderStateUtils` `@0x/order-utils` to perform blockchain lookups for these values. @@ -1493,120 +1332,100 @@ Defaults to `makerAssetAmount` values from the orders param. slippageBufferAmount: An additional amount of makerAsset to be covered by the result in case of trade collisions or partial fills. Defaults to 0 -## Hierarchy +### Hierarchy * **FindOrdersThatCoverTakerAssetFillAmountOpts** -## Index ### Properties -* [remainingFillableTakerAssetAmounts](#optional-remainingfillabletakerassetamounts) -* [slippageBufferAmount](#optional-slippagebufferamount) - -## Properties - -### `Optional` remainingFillableTakerAssetAmounts +## `Optional` remainingFillableTakerAssetAmounts • **remainingFillableTakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L48)* ___ -### `Optional` slippageBufferAmount +## `Optional` slippageBufferAmount • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L49)*
-> # Interface: OrdersAndRemainingMakerFillAmount <**T**> +# Interface: OrdersAndRemainingMakerFillAmount <**T**> -## Type parameters +### Type parameters ▪ **T** -## Hierarchy +### Hierarchy * **OrdersAndRemainingMakerFillAmount** -## Index ### Properties -* [ordersRemainingFillableMakerAssetAmounts](#ordersremainingfillablemakerassetamounts) -* [remainingFillAmount](#remainingfillamount) -* [resultOrders](#resultorders) - -## Properties - -### ordersRemainingFillableMakerAssetAmounts +## ordersRemainingFillableMakerAssetAmounts • **ordersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L76)* ___ -### remainingFillAmount +## remainingFillAmount • **remainingFillAmount**: *`BigNumber`* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L77)* ___ -### resultOrders +## resultOrders • **resultOrders**: *`T`[]* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L75)*
-> # Interface: OrdersAndRemainingTakerFillAmount <**T**> +# Interface: OrdersAndRemainingTakerFillAmount <**T**> -## Type parameters +### Type parameters ▪ **T** -## Hierarchy +### Hierarchy * **OrdersAndRemainingTakerFillAmount** -## Index ### Properties -* [ordersRemainingFillableTakerAssetAmounts](#ordersremainingfillabletakerassetamounts) -* [remainingFillAmount](#remainingfillamount) -* [resultOrders](#resultorders) - -## Properties - -### ordersRemainingFillableTakerAssetAmounts +## ordersRemainingFillableTakerAssetAmounts • **ordersRemainingFillableTakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L82)* +*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L82)* ___ -### remainingFillAmount +## remainingFillAmount • **remainingFillAmount**: *`BigNumber`* -*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L83)* +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L83)* ___ -### resultOrders +## resultOrders • **resultOrders**: *`T`[]* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/order-utils/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L81)*
diff --git a/packages/sol-compiler/docs/reference.mdx b/packages/sol-compiler/docs/reference.mdx index d7e14ee553..c52cd121e3 100644 --- a/packages/sol-compiler/docs/reference.mdx +++ b/packages/sol-compiler/docs/reference.mdx @@ -1,31 +1,20 @@ -> # Class: Compiler +# Class: Compiler The Compiler facilitates compiling Solidity smart contracts and saves the results to artifact files. -## Hierarchy +### Hierarchy * **Compiler** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [compileAsync](#compileasync) -* [getCompilerOutputsAsync](#getcompileroutputsasync) -* [watchAsync](#watchasync) - -## Constructors - -### constructor +## constructer \+ **new Compiler**(`opts?`: `CompilerOptions`): *[Compiler](#class-compiler)* -*Defined in [compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/compiler.ts#L94)* +*Defined in [compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/compiler.ts#L94)* Instantiates a new instance of the Compiler class. @@ -39,13 +28,13 @@ Name | Type | Description | An instance of the Compiler class. -## Methods +### Methods -### compileAsync +## compileAsync ▸ **compileAsync**(): *`Promise`* -*Defined in [compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/compiler.ts#L132)* +*Defined in [compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/compiler.ts#L132)* Compiles selected Solidity files found in `contractsDir` and writes JSON artifacts to `artifactsDir`. @@ -53,11 +42,11 @@ Compiles selected Solidity files found in `contractsDir` and writes JSON artifac ___ -### getCompilerOutputsAsync +## getCompilerOutputsAsync ▸ **getCompilerOutputsAsync**(): *`Promise`* -*Defined in [compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/compiler.ts#L145)* +*Defined in [compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/compiler.ts#L145)* Compiles Solidity files specified during instantiation, and returns the compiler output given by solc. Return value is an array of outputs: @@ -70,46 +59,32 @@ that version. ___ -### watchAsync +## watchAsync ▸ **watchAsync**(): *`Promise`* -*Defined in [compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/compiler.ts#L149)* +*Defined in [compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/compiler.ts#L149)* **Returns:** *`Promise`*
-> # Class: CompilationError +# Class: CompilationError -## Hierarchy +### Hierarchy * `Error` * **CompilationError** -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [errorsCount](#errorscount) -* [message](#message) -* [name](#name) -* [stack](#optional-stack) -* [typeName](#typename) -* [Error](#static-error) - -## Constructors - -### constructor +## constructer \+ **new CompilationError**(`errorsCount`: number): *[CompilationError](#class-compilationerror)* -*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L39)* +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L39)* **Parameters:** @@ -119,41 +94,41 @@ Name | Type | **Returns:** *[CompilationError](#class-compilationerror)* -## Properties +### Properties -### errorsCount +## errorsCount • **errorsCount**: *number* -*Defined in [utils/types.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L38)* +*Defined in [utils/types.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L38)* ___ -### message +## message • **message**: *string* -*Inherited from void* + ___ -### name +## name • **name**: *string* -*Inherited from void* + ___ -### `Optional` stack +## `Optional` stack • **stack**? : *undefined | string* -*Inherited from void* + *Overrides void* @@ -161,15 +136,15 @@ ___ ___ -### typeName +## typeName • **typeName**: *string* = "CompilationError" -*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L39)* +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L39)* ___ -### `Static` Error +## `Static` Error ▪ **Error**: *`ErrorConstructor`* @@ -177,191 +152,145 @@ ___
-> # Enumeration: AbiType +# Enumeration: AbiType -## Index ### Enumeration members -* [Constructor](#constructor) -* [Event](#event) -* [Fallback](#fallback) -* [Function](#function) - -## Enumeration members - -### Constructor +## Constructor • **Constructor**: = "constructor" -*Defined in [utils/types.ts:3](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L3)* +*Defined in [utils/types.ts:3](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L3)* ___ -### Event +## Event • **Event**: = "event" -*Defined in [utils/types.ts:4](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L4)* +*Defined in [utils/types.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L4)* ___ -### Fallback +## Fallback • **Fallback**: = "fallback" -*Defined in [utils/types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L5)* +*Defined in [utils/types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L5)* ___ -### Function +## Function • **Function**: = "function" -*Defined in [utils/types.ts:2](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L2)* +*Defined in [utils/types.ts:2](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L2)*
-> # Interface: BinaryPaths +# Interface: BinaryPaths -## Hierarchy +### Hierarchy * **BinaryPaths** -## Indexable -● \[▪ **key**: *string*\]: string - -
- -> # Interface: ContractSourceData - -## Hierarchy +### Hierarchy * **ContractSourceData** -## Indexable - -● \[▪ **contractName**: *string*\]: [ContractSpecificSourceData](#class-contractspecificsourcedata) - -
- -> # Interface: ContractSpecificSourceData -## Hierarchy +### Hierarchy * **ContractSpecificSourceData** -## Index ### Properties -* [solcVersionRange](#solcversionrange) -* [sourceHash](#sourcehash) -* [sourceTreeHash](#sourcetreehash) - -## Properties - -### solcVersionRange +## solcVersionRange • **solcVersionRange**: *string* -*Defined in [utils/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L21)* +*Defined in [utils/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L21)* ___ -### sourceHash +## sourceHash • **sourceHash**: *`Buffer`* -*Defined in [utils/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L22)* +*Defined in [utils/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L22)* ___ -### sourceTreeHash +## sourceTreeHash • **sourceTreeHash**: *`Buffer`* -*Defined in [utils/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L23)* +*Defined in [utils/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L23)*
-> # Interface: SolcErrors +# Interface: SolcErrors -## Hierarchy +### Hierarchy * **SolcErrors** -## Indexable - -● \[▪ **key**: *string*\]: boolean - -
- -> # Interface: Token -## Hierarchy +### Hierarchy * **Token** -## Index ### Properties -* [address](#optional-address) -* [decimals](#decimals) -* [ipfsHash](#ipfshash) -* [name](#name) -* [swarmHash](#swarmhash) -* [symbol](#symbol) - -## Properties - -### `Optional` address +## `Optional` address • **address**? : *undefined | string* -*Defined in [utils/types.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L27)* +*Defined in [utils/types.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L27)* ___ -### decimals +## decimals • **decimals**: *number* -*Defined in [utils/types.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L30)* +*Defined in [utils/types.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L30)* ___ -### ipfsHash +## ipfsHash • **ipfsHash**: *string* -*Defined in [utils/types.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L31)* +*Defined in [utils/types.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L31)* ___ -### name +## name • **name**: *string* -*Defined in [utils/types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L28)* +*Defined in [utils/types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L28)* ___ -### swarmHash +## swarmHash • **swarmHash**: *string* -*Defined in [utils/types.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L32)* +*Defined in [utils/types.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L32)* ___ -### symbol +## symbol • **symbol**: *string* -*Defined in [utils/types.ts:29](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-compiler/src/utils/types.ts#L29)* +*Defined in [utils/types.ts:29](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L29)*
diff --git a/packages/sol-coverage/docs/reference.mdx b/packages/sol-coverage/docs/reference.mdx index dc44f07940..d80f07ec9c 100644 --- a/packages/sol-coverage/docs/reference.mdx +++ b/packages/sol-coverage/docs/reference.mdx @@ -1,38 +1,24 @@ -> # Class: CoverageSubprovider +# Class: CoverageSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. It's used to compute your code coverage while running solidity tests. -## Hierarchy +### Hierarchy * `TraceInfoSubprovider` * **CoverageSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) -* [start](#start) -* [stop](#stop) -* [writeCoverageAsync](#writecoverageasync) - -## Constructors - -### constructor +## constructer \+ **new CoverageSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `partialConfig`: [CoverageSubproviderPartialConfig](#coveragesubproviderpartialconfig)): *[CoverageSubprovider](#class-coveragesubprovider)* *Overrides void* -*Defined in [coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-coverage/src/coverage_subprovider.ts#L44)* +*Defined in [coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-coverage/src/coverage_subprovider.ts#L44)* Instantiates a CoverageSubprovider instance @@ -46,13 +32,13 @@ Name | Type | Default | Description | **Returns:** *[CoverageSubprovider](#class-coveragesubprovider)* -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from void* + @@ -72,11 +58,11 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: `NextCallback`, `_end`: `ErrorCallback`): *`Promise`* -*Inherited from void* + *Overrides void* @@ -98,11 +84,11 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from void* + *Overrides void* @@ -122,11 +108,11 @@ Name | Type | Description | ___ -### start +## start ▸ **start**(): *void* -*Inherited from void* + @@ -136,11 +122,11 @@ Starts trace collection ___ -### stop +## stop ▸ **stop**(): *void* -*Inherited from void* + @@ -150,11 +136,11 @@ Stops trace collection ___ -### writeCoverageAsync +## writeCoverageAsync ▸ **writeCoverageAsync**(): *`Promise`* -*Defined in [coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-coverage/src/coverage_subprovider.ts#L78)* +*Defined in [coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-coverage/src/coverage_subprovider.ts#L78)* Write the test coverage results to a file in Istanbul format. @@ -162,38 +148,32 @@ Write the test coverage results to a file in Istanbul format.
-> # Interface: CoverageSubproviderConfig +# Interface: CoverageSubproviderConfig This type defines the schema of the config object that could be passed to CoverageSubprovider isVerbose: If true - will log any unknown transactions. Defaults to true. ignoreFilesGlobs: The list of globs matching the file names of the files we want to ignore coverage for. Defaults to []. -## Hierarchy +### Hierarchy * **CoverageSubproviderConfig** -## Index ### Properties -* [ignoreFilesGlobs](#ignorefilesglobs) -* [isVerbose](#isverbose) - -## Properties - -### ignoreFilesGlobs +## ignoreFilesGlobs • **ignoreFilesGlobs**: *string[]* -*Defined in [coverage_subprovider.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-coverage/src/coverage_subprovider.ts#L28)* +*Defined in [coverage_subprovider.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-coverage/src/coverage_subprovider.ts#L28)* ___ -### isVerbose +## isVerbose • **isVerbose**: *boolean* -*Defined in [coverage_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-coverage/src/coverage_subprovider.ts#L27)* +*Defined in [coverage_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-coverage/src/coverage_subprovider.ts#L27)*
diff --git a/packages/sol-profiler/docs/reference.mdx b/packages/sol-profiler/docs/reference.mdx index 86910bb22c..60dc5215e7 100644 --- a/packages/sol-profiler/docs/reference.mdx +++ b/packages/sol-profiler/docs/reference.mdx @@ -1,38 +1,24 @@ -> # Class: ProfilerSubprovider +# Class: ProfilerSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. ProfilerSubprovider is used to profile Solidity code while running tests. -## Hierarchy +### Hierarchy * `TraceInfoSubprovider` * **ProfilerSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) -* [start](#start) -* [stop](#stop) -* [writeProfilerOutputAsync](#writeprofileroutputasync) - -## Constructors - -### constructor +## constructer \+ **new ProfilerSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `isVerbose`: boolean): *[ProfilerSubprovider](#class-profilersubprovider)* *Overrides void* -*Defined in [profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-profiler/src/profiler_subprovider.ts#L30)* +*Defined in [profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-profiler/src/profiler_subprovider.ts#L30)* Instantiates a ProfilerSubprovider instance @@ -46,13 +32,13 @@ Name | Type | Default | Description | **Returns:** *[ProfilerSubprovider](#class-profilersubprovider)* -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from void* + @@ -72,11 +58,11 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: `NextCallback`, `_end`: `ErrorCallback`): *`Promise`* -*Inherited from void* + *Overrides void* @@ -98,11 +84,11 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from void* + *Overrides void* @@ -122,11 +108,11 @@ Name | Type | Description | ___ -### start +## start ▸ **start**(): *void* -*Inherited from void* + @@ -136,11 +122,11 @@ Starts trace collection ___ -### stop +## stop ▸ **stop**(): *void* -*Inherited from void* + @@ -150,11 +136,11 @@ Stops trace collection ___ -### writeProfilerOutputAsync +## writeProfilerOutputAsync ▸ **writeProfilerOutputAsync**(): *`Promise`* -*Defined in [profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-profiler/src/profiler_subprovider.ts#L104)* +*Defined in [profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-profiler/src/profiler_subprovider.ts#L104)* Write the test profiler results to a file in Istanbul format. diff --git a/packages/sol-trace/docs/reference.mdx b/packages/sol-trace/docs/reference.mdx index 12b573bf6d..f4376f182b 100644 --- a/packages/sol-trace/docs/reference.mdx +++ b/packages/sol-trace/docs/reference.mdx @@ -1,37 +1,24 @@ -> # Class: RevertTraceSubprovider +# Class: RevertTraceSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. It is used to report call stack traces whenever a revert occurs. -## Hierarchy +### Hierarchy * `TraceCollectionSubprovider` * **RevertTraceSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) -* [start](#start) -* [stop](#stop) - -## Constructors - -### constructor +## constructer \+ **new RevertTraceSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `isVerbose`: boolean): *[RevertTraceSubprovider](#class-reverttracesubprovider)* *Overrides void* -*Defined in [revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/sol-trace/src/revert_trace_subprovider.ts#L27)* +*Defined in [revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-trace/src/revert_trace_subprovider.ts#L27)* Instantiates a RevertTraceSubprovider instance @@ -45,13 +32,13 @@ Name | Type | Default | Description | **Returns:** *[RevertTraceSubprovider](#class-reverttracesubprovider)* -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from void* + @@ -71,11 +58,11 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: `NextCallback`, `_end`: `ErrorCallback`): *`Promise`* -*Inherited from void* + *Overrides void* @@ -97,11 +84,11 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from void* + *Overrides void* @@ -121,11 +108,11 @@ Name | Type | Description | ___ -### start +## start ▸ **start**(): *void* -*Inherited from void* + @@ -135,11 +122,11 @@ Starts trace collection ___ -### stop +## stop ▸ **stop**(): *void* -*Inherited from void* + diff --git a/packages/subproviders/docs/reference.mdx b/packages/subproviders/docs/reference.mdx index ad4058f042..ee01f86f1d 100644 --- a/packages/subproviders/docs/reference.mdx +++ b/packages/subproviders/docs/reference.mdx @@ -1,6 +1,6 @@ -> # Class: BaseWalletSubprovider +# Class: BaseWalletSubprovider -## Hierarchy +### Hierarchy * [Subprovider](#class-subprovider) @@ -14,27 +14,16 @@ * [TrezorSubprovider](#class-trezorsubprovider) -## Index ### Methods -* [emitPayloadAsync](#emitpayloadasync) -* [getAccountsAsync](#abstract-getaccountsasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) -* [signPersonalMessageAsync](#abstract-signpersonalmessageasync) -* [signTransactionAsync](#abstract-signtransactionasync) -* [signTypedDataAsync](#abstract-signtypeddataasync) - -## Methods - -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -52,23 +41,23 @@ JSON RPC response payload ___ -### `Abstract` getAccountsAsync +## `Abstract` getAccountsAsync ▸ **getAccountsAsync**(): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L23)* +*Defined in [subproviders/base_wallet_subprovider.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L23)* **Returns:** *`Promise`* ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -86,13 +75,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -108,11 +97,11 @@ Name | Type | Description | ___ -### `Abstract` signPersonalMessageAsync +## `Abstract` signPersonalMessageAsync ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L25)* +*Defined in [subproviders/base_wallet_subprovider.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L25)* **Parameters:** @@ -125,11 +114,11 @@ Name | Type | ___ -### `Abstract` signTransactionAsync +## `Abstract` signTransactionAsync ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L24)* +*Defined in [subproviders/base_wallet_subprovider.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L24)* **Parameters:** @@ -141,11 +130,11 @@ Name | Type | ___ -### `Abstract` signTypedDataAsync +## `Abstract` signTypedDataAsync ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:26](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L26)* +*Defined in [subproviders/base_wallet_subprovider.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L26)* **Parameters:** @@ -158,34 +147,27 @@ Name | Type |
-> # Class: EmptyWalletSubprovider +# Class: EmptyWalletSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. It intercepts the `eth_accounts` JSON RPC requests and never returns any addresses when queried. -## Hierarchy +### Hierarchy * [Subprovider](#class-subprovider) * **EmptyWalletSubprovider** -## Index ### Methods -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) - -## Methods - -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -203,13 +185,13 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/empty_wallet_subprovider.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/empty_wallet_subprovider.ts#L21)* +*Defined in [subproviders/empty_wallet_subprovider.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/empty_wallet_subprovider.ts#L21)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -227,13 +209,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -249,36 +231,25 @@ Name | Type | Description |
-> # Class: FakeGasEstimateSubprovider +# Class: FakeGasEstimateSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. It intercepts the `eth_estimateGas` JSON RPC call and always returns a constant gas amount when queried. -## Hierarchy +### Hierarchy * [Subprovider](#class-subprovider) * **FakeGasEstimateSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) - -## Constructors - -### constructor +## constructer \+ **new FakeGasEstimateSubprovider**(`constantGasAmount`: number): *[FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider)* -*Defined in [subproviders/fake_gas_estimate_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L17)* +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L17)* Instantiates an instance of the FakeGasEstimateSubprovider @@ -290,15 +261,15 @@ Name | Type | Description | **Returns:** *[FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider)* -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -316,13 +287,13 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/fake_gas_estimate_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L35)* +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L35)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -340,13 +311,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -362,36 +333,25 @@ Name | Type | Description |
-> # Class: GanacheSubprovider +# Class: GanacheSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. It intercepts all JSON RPC requests and relays them to an in-process ganache instance. -## Hierarchy +### Hierarchy * [Subprovider](#class-subprovider) * **GanacheSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) - -## Constructors - -### constructor +## constructer \+ **new GanacheSubprovider**(`opts`: `GanacheOpts`): *[GanacheSubprovider](#class-ganachesubprovider)* -*Defined in [subproviders/ganache.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ganache.ts#L13)* +*Defined in [subproviders/ganache.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ganache.ts#L13)* Instantiates a GanacheSubprovider @@ -403,15 +363,15 @@ Name | Type | Description | **Returns:** *[GanacheSubprovider](#class-ganachesubprovider)* -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -429,13 +389,13 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `_next`: [Callback](#errorcallback)): *`Promise`* *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/ganache.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ganache.ts#L31)* +*Defined in [subproviders/ganache.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ganache.ts#L31)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -453,13 +413,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -475,43 +435,26 @@ Name | Type | Description |
-> # Class: LedgerSubprovider +# Class: LedgerSubprovider Subprovider for interfacing with a user's [Ledger Nano S](https://www.ledgerwallet.com/products/ledger-nano-s). This subprovider intercepts all account related RPC requests (e.g message/transaction signing, etc...) and re-routes them to a Ledger device plugged into the users computer. -## Hierarchy +### Hierarchy * [BaseWalletSubprovider](#class-basewalletsubprovider) * **LedgerSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [getAccountsAsync](#getaccountsasync) -* [getPath](#getpath) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) -* [setPath](#setpath) -* [signPersonalMessageAsync](#signpersonalmessageasync) -* [signTransactionAsync](#signtransactionasync) -* [signTypedDataAsync](#signtypeddataasync) - -## Constructors - -### constructor +## constructer \+ **new LedgerSubprovider**(`config`: [LedgerSubproviderConfigs](#interface-ledgersubproviderconfigs)): *[LedgerSubprovider](#class-ledgersubprovider)* -*Defined in [subproviders/ledger.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L41)* +*Defined in [subproviders/ledger.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L41)* Instantiates a LedgerSubprovider. Defaults to derivationPath set to `44'/60'/0'`. TestRPC/Ganache defaults to `m/44'/60'/0'/0`, so set this in the configs if desired. @@ -526,15 +469,15 @@ Name | Type | Description | LedgerSubprovider instance -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -552,13 +495,13 @@ JSON RPC response payload ___ -### getAccountsAsync +## getAccountsAsync ▸ **getAccountsAsync**(`numberOfAccounts`: number): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/ledger.ts:87](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L87)* +*Defined in [subproviders/ledger.ts:87](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L87)* Retrieve a users Ledger accounts. The accounts are derived from the derivationPath, master public key and chain code. Because of this, you can request as many accounts @@ -578,11 +521,11 @@ An array of accounts ___ -### getPath +## getPath ▸ **getPath**(): *string* -*Defined in [subproviders/ledger.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L68)* +*Defined in [subproviders/ledger.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L68)* Retrieve the set derivation path @@ -592,7 +535,7 @@ derivation path ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* @@ -600,7 +543,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -618,13 +561,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -640,11 +583,11 @@ Name | Type | Description | ___ -### setPath +## setPath ▸ **setPath**(`basDerivationPath`: string): *void* -*Defined in [subproviders/ledger.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L75)* +*Defined in [subproviders/ledger.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L75)* Set a desired derivation path when computing the available user addresses @@ -658,13 +601,13 @@ Name | Type | Description | ___ -### signPersonalMessageAsync +## signPersonalMessageAsync ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/ledger.ts:158](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L158)* +*Defined in [subproviders/ledger.ts:158](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L158)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. @@ -686,13 +629,13 @@ Signature hex string (order: rsv) ___ -### signTransactionAsync +## signTransactionAsync ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/ledger.ts:101](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L101)* +*Defined in [subproviders/ledger.ts:101](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L101)* Signs a transaction on the Ledger with the account specificed by the `from` field in txParams. If you've added the LedgerSubprovider to your app's provider, you can simply send an `eth_sendTransaction` @@ -711,13 +654,13 @@ Signed transaction hex string ___ -### signTypedDataAsync +## signTypedDataAsync ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/ledger.ts:196](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/ledger.ts#L196)* +*Defined in [subproviders/ledger.ts:196](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L196)* eth_signTypedData is currently not supported on Ledger devices. @@ -734,7 +677,7 @@ Signature hex string (order: rsv)
-> # Class: MetamaskSubprovider +# Class: MetamaskSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface and the provider sendAsync interface. @@ -743,32 +686,20 @@ It forwards JSON RPC requests involving the domain of a signer (getAccounts, sendTransaction, signMessage etc...) to the provider instance supplied at instantiation. All other requests are passed onwards for subsequent subproviders to handle. -## Hierarchy +### Hierarchy * [Subprovider](#class-subprovider) * **MetamaskSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [sendAsync](#sendasync) -* [setEngine](#setengine) - -## Constructors - -### constructor +## constructer \+ **new MetamaskSubprovider**(`supportedProvider`: `SupportedProvider`): *[MetamaskSubprovider](#class-metamasksubprovider)* -*Defined in [subproviders/metamask_subprovider.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/metamask_subprovider.ts#L20)* +*Defined in [subproviders/metamask_subprovider.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/metamask_subprovider.ts#L19)* Instantiates a new MetamaskSubprovider @@ -780,15 +711,15 @@ Name | Type | Description | **Returns:** *[MetamaskSubprovider](#class-metamasksubprovider)* -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -806,13 +737,13 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/metamask_subprovider.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/metamask_subprovider.ts#L40)* +*Defined in [subproviders/metamask_subprovider.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/metamask_subprovider.ts#L39)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -830,11 +761,11 @@ Name | Type | Description | ___ -### sendAsync +## sendAsync ▸ **sendAsync**(`payload`: `JSONRPCRequestPayload`, `callback`: [ErrorCallback](#errorcallback)): *void* -*Defined in [subproviders/metamask_subprovider.ts:114](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/metamask_subprovider.ts#L114)* +*Defined in [subproviders/metamask_subprovider.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/metamask_subprovider.ts#L117)* This method conforms to the provider sendAsync interface. Allowing the MetamaskSubprovider to be used as a generic provider (outside of Web3ProviderEngine) with the @@ -853,13 +784,13 @@ The contents nested under the result key of the response body ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -875,43 +806,26 @@ Name | Type | Description |
-> # Class: MnemonicWalletSubprovider +# Class: MnemonicWalletSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. This subprovider intercepts all account related RPC requests (e.g message/transaction signing, etc...) and handles all requests with accounts derived from the supplied mnemonic. -## Hierarchy +### Hierarchy * [BaseWalletSubprovider](#class-basewalletsubprovider) * **MnemonicWalletSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [getAccountsAsync](#getaccountsasync) -* [getPath](#getpath) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) -* [setPath](#setpath) -* [signPersonalMessageAsync](#signpersonalmessageasync) -* [signTransactionAsync](#signtransactionasync) -* [signTypedDataAsync](#signtypeddataasync) - -## Constructors - -### constructor +## constructer \+ **new MnemonicWalletSubprovider**(`config`: [MnemonicWalletSubproviderConfigs](#interface-mnemonicwalletsubproviderconfigs)): *[MnemonicWalletSubprovider](#class-mnemonicwalletsubprovider)* -*Defined in [subproviders/mnemonic_wallet.ts:27](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L27)* +*Defined in [subproviders/mnemonic_wallet.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L27)* Instantiates a MnemonicWalletSubprovider. Defaults to baseDerivationPath set to `44'/60'/0'/0`. This is the default in TestRPC/Ganache, it can be overridden if desired. @@ -926,15 +840,15 @@ Name | Type | Description | MnemonicWalletSubprovider instance -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -952,13 +866,13 @@ JSON RPC response payload ___ -### getAccountsAsync +## getAccountsAsync ▸ **getAccountsAsync**(`numberOfAccounts`: number): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/mnemonic_wallet.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L70)* +*Defined in [subproviders/mnemonic_wallet.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L70)* Retrieve the accounts associated with the mnemonic. This method is implicitly called when issuing a `eth_accounts` JSON RPC request @@ -976,11 +890,11 @@ An array of accounts ___ -### getPath +## getPath ▸ **getPath**(): *string* -*Defined in [subproviders/mnemonic_wallet.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L52)* +*Defined in [subproviders/mnemonic_wallet.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L52)* Retrieve the set derivation path @@ -990,7 +904,7 @@ derivation path ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* @@ -998,7 +912,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1016,13 +930,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1038,11 +952,11 @@ Name | Type | Description | ___ -### setPath +## setPath ▸ **setPath**(`baseDerivationPath`: string): *void* -*Defined in [subproviders/mnemonic_wallet.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L59)* +*Defined in [subproviders/mnemonic_wallet.ts:59](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L59)* Set a desired derivation path when computing the available user addresses @@ -1056,13 +970,13 @@ Name | Type | Description | ___ -### signPersonalMessageAsync +## signPersonalMessageAsync ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/mnemonic_wallet.ts:102](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L102)* +*Defined in [subproviders/mnemonic_wallet.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L102)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. If you've added the MnemonicWalletSubprovider to @@ -1083,13 +997,13 @@ Signature hex string (order: rsv) ___ -### signTransactionAsync +## signTransactionAsync ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/mnemonic_wallet.ts:84](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L84)* +*Defined in [subproviders/mnemonic_wallet.ts:84](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L84)* Signs a transaction with the account specificed by the `from` field in txParams. If you've added this Subprovider to your app's provider, you can simply send @@ -1108,13 +1022,13 @@ Signed transaction hex string ___ -### signTypedDataAsync +## signTypedDataAsync ▸ **signTypedDataAsync**(`address`: string, `typedData`: `EIP712TypedData`): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/mnemonic_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L122)* +*Defined in [subproviders/mnemonic_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L122)* Sign an EIP712 Typed Data message. The signing account will be the account associated with the provided address. If you've added this MnemonicWalletSubprovider to @@ -1135,35 +1049,28 @@ Signature hex string (order: rsv)
-> # Class: NonceTrackerSubprovider +# Class: NonceTrackerSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. It is heavily inspired by the [NonceSubprovider](https://github.com/MetaMask/provider-engine/blob/master/subproviders/nonce-tracker.js). We added the additional feature of clearing the cached nonce value when a `nonce value too low` error occurs. -## Hierarchy +### Hierarchy * [Subprovider](#class-subprovider) * **NonceTrackerSubprovider** -## Index ### Methods -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) - -## Methods - -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1181,13 +1088,13 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [NextCallback](#errorcallback)): *`Promise`* *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/nonce_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/nonce_tracker.ts#L57)* +*Defined in [subproviders/nonce_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/nonce_tracker.ts#L57)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1205,13 +1112,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1227,41 +1134,26 @@ Name | Type | Description |
-> # Class: PrivateKeyWalletSubprovider +# Class: PrivateKeyWalletSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. This subprovider intercepts all account related RPC requests (e.g message/transaction signing, etc...) and handles all requests with the supplied Ethereum private key. -## Hierarchy +### Hierarchy * [BaseWalletSubprovider](#class-basewalletsubprovider) * **PrivateKeyWalletSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [getAccountsAsync](#getaccountsasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) -* [signPersonalMessageAsync](#signpersonalmessageasync) -* [signTransactionAsync](#signtransactionasync) -* [signTypedDataAsync](#signtypeddataasync) - -## Constructors - -### constructor +## constructer \+ **new PrivateKeyWalletSubprovider**(`privateKey`: string): *[PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider)* -*Defined in [subproviders/private_key_wallet.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L19)* +*Defined in [subproviders/private_key_wallet.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L19)* Instantiates a PrivateKeyWalletSubprovider. @@ -1275,15 +1167,15 @@ Name | Type | Description | PrivateKeyWalletSubprovider instance -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1301,13 +1193,13 @@ JSON RPC response payload ___ -### getAccountsAsync +## getAccountsAsync ▸ **getAccountsAsync**(): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/private_key_wallet.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L37)* +*Defined in [subproviders/private_key_wallet.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L37)* Retrieve the account associated with the supplied private key. This method is implicitly called when issuing a `eth_accounts` JSON RPC request @@ -1319,7 +1211,7 @@ An array of accounts ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* @@ -1327,7 +1219,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1345,13 +1237,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1367,13 +1259,13 @@ Name | Type | Description | ___ -### signPersonalMessageAsync +## signPersonalMessageAsync ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/private_key_wallet.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L72)* +*Defined in [subproviders/private_key_wallet.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L72)* Sign a personal Ethereum signed message. The signing address will be calculated from the private key. The address must be provided it must match the address calculated from the private key. @@ -1394,13 +1286,13 @@ Signature hex string (order: rsv) ___ -### signTransactionAsync +## signTransactionAsync ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/private_key_wallet.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L48)* +*Defined in [subproviders/private_key_wallet.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L48)* Sign a transaction with the private key. If you've added this Subprovider to your app's provider, you can simply send an `eth_sendTransaction` JSON RPC request, and @@ -1419,13 +1311,13 @@ Signed transaction hex string ___ -### signTypedDataAsync +## signTypedDataAsync ▸ **signTypedDataAsync**(`address`: string, `typedData`: `EIP712TypedData`): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/private_key_wallet.ts:99](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/private_key_wallet.ts#L99)* +*Defined in [subproviders/private_key_wallet.ts:99](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L99)* Sign an EIP712 Typed Data message. The signing address will be calculated from the private key. The address must be provided it must match the address calculated from the private key. @@ -1446,37 +1338,26 @@ Signature hex string (order: rsv)
-> # Class: RedundantSubprovider +# Class: RedundantSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. It attempts to handle each JSON RPC request by sequentially attempting to receive a valid response from one of a set of JSON RPC endpoints. -## Hierarchy +### Hierarchy * [Subprovider](#class-subprovider) * **RedundantSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) - -## Constructors - -### constructor +## constructer \+ **new RedundantSubprovider**(`subproviders`: [Subprovider](_subproviders_subprovider_.subprovider.md)[]): *[RedundantSubprovider](#class-redundantsubprovider)* -*Defined in [subproviders/redundant_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/redundant_subprovider.ts#L33)* +*Defined in [subproviders/redundant_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/redundant_subprovider.ts#L33)* Instantiates a new RedundantSubprovider @@ -1488,15 +1369,15 @@ Name | Type | Description | **Returns:** *[RedundantSubprovider](#class-redundantsubprovider)* -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1514,13 +1395,13 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#callback), `end`: function): *`Promise`* *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/redundant_subprovider.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/redundant_subprovider.ts#L51)* +*Defined in [subproviders/redundant_subprovider.ts:51](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/redundant_subprovider.ts#L51)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1553,13 +1434,13 @@ Name | Type | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1575,36 +1456,25 @@ Name | Type | Description |
-> # Class: RPCSubprovider +# Class: RPCSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. It forwards on JSON RPC requests to the supplied `rpcUrl` endpoint -## Hierarchy +### Hierarchy * [Subprovider](#class-subprovider) * **RPCSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) - -## Constructors - -### constructor +## constructer \+ **new RPCSubprovider**(`rpcUrl`: string, `requestTimeoutMs`: number): *[RPCSubprovider](#class-rpcsubprovider)* -*Defined in [subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)* +*Defined in [subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)* **Parameters:** @@ -1615,15 +1485,15 @@ Name | Type | Default | Description | **Returns:** *[RPCSubprovider](#class-rpcsubprovider)* -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1641,13 +1511,13 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `_next`: [Callback](#errorcallback)): *`Promise`* *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)* +*Defined in [subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1665,13 +1535,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1687,38 +1557,27 @@ Name | Type | Description |
-> # Class: SignerSubprovider +# Class: SignerSubprovider This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface. It forwards JSON RPC requests involving the domain of a signer (getAccounts, sendTransaction, signMessage etc...) to the provider instance supplied at instantiation. All other requests are passed onwards for subsequent subproviders to handle. -## Hierarchy +### Hierarchy * [Subprovider](#class-subprovider) * **SignerSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) - -## Constructors - -### constructor +## constructer \+ **new SignerSubprovider**(`supportedProvider`: `SupportedProvider`): *[SignerSubprovider](#class-signersubprovider)* -*Defined in [subproviders/signer.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/signer.ts#L15)* +*Defined in [subproviders/signer.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/signer.ts#L15)* Instantiates a new SignerSubprovider. @@ -1730,15 +1589,15 @@ Name | Type | Description | **Returns:** *[SignerSubprovider](#class-signersubprovider)* -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1756,13 +1615,13 @@ JSON RPC response payload ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/signer.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/signer.ts#L33)* +*Defined in [subproviders/signer.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/signer.ts#L33)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1780,13 +1639,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1802,12 +1661,12 @@ Name | Type | Description |
-> # Class: Subprovider +# Class: Subprovider A altered version of the base class Subprovider found in [web3-provider-engine](https://github.com/MetaMask/provider-engine). This one has an async/await `emitPayloadAsync` and also defined types. -## Hierarchy +### Hierarchy * **Subprovider** @@ -1829,21 +1688,14 @@ This one has an async/await `emitPayloadAsync` and also defined types. * [MetamaskSubprovider](#class-metamasksubprovider) -## Index ### Methods -* [emitPayloadAsync](#emitpayloadasync) -* [handleRequest](#abstract-handlerequest) -* [setEngine](#setengine) - -## Methods - -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1861,11 +1713,11 @@ JSON RPC response payload ___ -### `Abstract` handleRequest +## `Abstract` handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* -*Defined in [subproviders/subprovider.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L42)* +*Defined in [subproviders/subprovider.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L42)* **Parameters:** @@ -1879,11 +1731,11 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1899,37 +1751,22 @@ Name | Type | Description |
-> # Class: TrezorSubprovider +# Class: TrezorSubprovider -## Hierarchy +### Hierarchy * [BaseWalletSubprovider](#class-basewalletsubprovider) * **TrezorSubprovider** -## Index ### Constructors -* [constructor](#constructor) - -### Methods - -* [emitPayloadAsync](#emitpayloadasync) -* [getAccountsAsync](#getaccountsasync) -* [handleRequest](#handlerequest) -* [setEngine](#setengine) -* [signPersonalMessageAsync](#signpersonalmessageasync) -* [signTransactionAsync](#signtransactionasync) -* [signTypedDataAsync](#signtypeddataasync) - -## Constructors - -### constructor +## constructer \+ **new TrezorSubprovider**(`config`: [TrezorSubproviderConfig](#interface-trezorsubproviderconfig)): *[TrezorSubprovider](#class-trezorsubprovider)* -*Defined in [subproviders/trezor.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L32)* +*Defined in [subproviders/trezor.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L32)* Instantiates a TrezorSubprovider. Defaults to private key path set to `44'/60'/0'/0/`. Must be initialized with trezor-connect API module https://github.com/trezor/connect. @@ -1944,15 +1781,15 @@ Name | Type | TrezorSubprovider instance -## Methods +### Methods -### emitPayloadAsync +## emitPayloadAsync ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* *Inherited from [Subprovider](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1970,13 +1807,13 @@ JSON RPC response payload ___ -### getAccountsAsync +## getAccountsAsync ▸ **getAccountsAsync**(`numberOfAccounts`: number): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* -*Defined in [subproviders/trezor.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L56)* +*Defined in [subproviders/trezor.ts:56](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L56)* Retrieve a users Trezor account. This method is automatically called when issuing a `eth_accounts` JSON RPC request via your providerEngine @@ -1994,7 +1831,7 @@ An array of accounts ___ -### handleRequest +## handleRequest ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* @@ -2002,7 +1839,7 @@ ___ *Overrides [Subprovider](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -2020,13 +1857,13 @@ Name | Type | Description | ___ -### setEngine +## setEngine ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* *Inherited from [Subprovider](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -2042,13 +1879,13 @@ Name | Type | Description | ___ -### signPersonalMessageAsync +## signPersonalMessageAsync ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/trezor.ts:129](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L129)* +*Defined in [subproviders/trezor.ts:129](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L129)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. If you've added the TrezorSubprovider to @@ -2069,13 +1906,13 @@ Signature hex string (order: rsv) ___ -### signTransactionAsync +## signTransactionAsync ▸ **signTransactionAsync**(`txData`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* -*Defined in [subproviders/trezor.ts:70](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L70)* +*Defined in [subproviders/trezor.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L70)* Signs a transaction on the Trezor with the account specificed by the `from` field in txParams. If you've added the TrezorSubprovider to your app's provider, you can simply send an `eth_sendTransaction` @@ -2094,13 +1931,13 @@ Signed transaction hex string ___ -### signTypedDataAsync +## signTypedDataAsync ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* *Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* -*Defined in [subproviders/trezor.ts:161](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/subproviders/trezor.ts#L161)* +*Defined in [subproviders/trezor.ts:161](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L161)* TODO:: eth_signTypedData is currently not supported on Trezor devices. @@ -2117,335 +1954,278 @@ Signature hex string (order: rsv)
-> # Enumeration: LedgerSubproviderErrors +# Enumeration: LedgerSubproviderErrors -## Index ### Enumeration members -* [MultipleOpenConnectionsDisallowed](#multipleopenconnectionsdisallowed) -* [TooOldLedgerFirmware](#toooldledgerfirmware) - -## Enumeration members - -### MultipleOpenConnectionsDisallowed +## MultipleOpenConnectionsDisallowed • **MultipleOpenConnectionsDisallowed**: = "MULTIPLE_OPEN_CONNECTIONS_DISALLOWED" -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L116)* ___ -### TooOldLedgerFirmware +## TooOldLedgerFirmware • **TooOldLedgerFirmware**: = "TOO_OLD_LEDGER_FIRMWARE" -*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L115)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L115)*
-> # Enumeration: NonceSubproviderErrors +# Enumeration: NonceSubproviderErrors -## Index ### Enumeration members -* [CannotDetermineAddressFromPayload](#cannotdetermineaddressfrompayload) -* [EmptyParametersFound](#emptyparametersfound) - -## Enumeration members - -### CannotDetermineAddressFromPayload +## CannotDetermineAddressFromPayload • **CannotDetermineAddressFromPayload**: = "CANNOT_DETERMINE_ADDRESS_FROM_PAYLOAD" -*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L121)* +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L121)* ___ -### EmptyParametersFound +## EmptyParametersFound • **EmptyParametersFound**: = "EMPTY_PARAMETERS_FOUND" -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L120)*
-> # Enumeration: WalletSubproviderErrors +# Enumeration: WalletSubproviderErrors -## Index ### Enumeration members -* [AddressNotFound](#addressnotfound) -* [DataMissingForSignPersonalMessage](#datamissingforsignpersonalmessage) -* [DataMissingForSignTypedData](#datamissingforsigntypeddata) -* [FromAddressMissingOrInvalid](#fromaddressmissingorinvalid) -* [MethodNotSupported](#methodnotsupported) -* [SenderInvalidOrNotSupplied](#senderinvalidornotsupplied) - -## Enumeration members - -### AddressNotFound +## AddressNotFound • **AddressNotFound**: = "ADDRESS_NOT_FOUND" -*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L107)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L107)* ___ -### DataMissingForSignPersonalMessage +## DataMissingForSignPersonalMessage • **DataMissingForSignPersonalMessage**: = "DATA_MISSING_FOR_SIGN_PERSONAL_MESSAGE" -*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L108)* ___ -### DataMissingForSignTypedData +## DataMissingForSignTypedData • **DataMissingForSignTypedData**: = "DATA_MISSING_FOR_SIGN_TYPED_DATA" -*Defined in [types.ts:109](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L109)* +*Defined in [types.ts:109](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L109)* ___ -### FromAddressMissingOrInvalid +## FromAddressMissingOrInvalid • **FromAddressMissingOrInvalid**: = "FROM_ADDRESS_MISSING_OR_INVALID" -*Defined in [types.ts:111](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L111)* +*Defined in [types.ts:111](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L111)* ___ -### MethodNotSupported +## MethodNotSupported • **MethodNotSupported**: = "METHOD_NOT_SUPPORTED" -*Defined in [types.ts:112](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L112)* +*Defined in [types.ts:112](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L112)* ___ -### SenderInvalidOrNotSupplied +## SenderInvalidOrNotSupplied • **SenderInvalidOrNotSupplied**: = "SENDER_INVALID_OR_NOT_SUPPLIED" -*Defined in [types.ts:110](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L110)* +*Defined in [types.ts:110](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L110)*
-> # Interface: AccountFetchingConfigs +# Interface: AccountFetchingConfigs addressSearchLimit: The maximum number of addresses to search through, defaults to 1000 numAddressesToReturn: Number of addresses to return from 'eth_accounts' call shouldAskForOnDeviceConfirmation: Whether you wish to prompt the user on their Ledger before fetching their addresses -## Hierarchy +### Hierarchy * **AccountFetchingConfigs** -## Index ### Properties -* [addressSearchLimit](#optional-addresssearchlimit) -* [numAddressesToReturn](#optional-numaddressestoreturn) -* [shouldAskForOnDeviceConfirmation](#optional-shouldaskforondeviceconfirmation) - -## Properties - -### `Optional` addressSearchLimit +## `Optional` addressSearchLimit • **addressSearchLimit**? : *undefined | number* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L55)* ___ -### `Optional` numAddressesToReturn +## `Optional` numAddressesToReturn • **numAddressesToReturn**? : *undefined | number* -*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L56)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L56)* ___ -### `Optional` shouldAskForOnDeviceConfirmation +## `Optional` shouldAskForOnDeviceConfirmation • **shouldAskForOnDeviceConfirmation**? : *undefined | false | true* -*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L57)* +*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L57)*
-> # Interface: DerivedHDKeyInfo +# Interface: DerivedHDKeyInfo -## Hierarchy +### Hierarchy * **DerivedHDKeyInfo** -## Index ### Properties -* [address](#address) -* [baseDerivationPath](#basederivationpath) -* [derivationPath](#derivationpath) -* [hdKey](#hdkey) - -## Properties - -### address +## address • **address**: *string* -*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L124)* ___ -### baseDerivationPath +## baseDerivationPath • **baseDerivationPath**: *string* -*Defined in [types.ts:125](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L125)* +*Defined in [types.ts:125](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L125)* ___ -### derivationPath +## derivationPath • **derivationPath**: *string* -*Defined in [types.ts:126](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L126)* +*Defined in [types.ts:126](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L126)* ___ -### hdKey +## hdKey • **hdKey**: *`HDNode`* -*Defined in [types.ts:127](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L127)* +*Defined in [types.ts:127](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L127)*
-> # Interface: ECSignatureString +# Interface: ECSignatureString -## Hierarchy +### Hierarchy * **ECSignatureString** -## Index ### Properties -* [r](#r) -* [s](#s) -* [v](#v) - -## Properties - -### r +## r • **r**: *string* -*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L29)* +*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L29)* ___ -### s +## s • **s**: *string* -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L30)* ___ -### v +## v • **v**: *string* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L28)*
-> # Interface: JSONRPCRequestPayloadWithMethod +# Interface: JSONRPCRequestPayloadWithMethod -## Hierarchy +### Hierarchy * `JSONRPCRequestPayload` * **JSONRPCRequestPayloadWithMethod** -## Index ### Properties -* [id](#id) -* [jsonrpc](#jsonrpc) -* [method](#method) -* [params](#params) - -## Properties - -### id +## id • **id**: *number* -*Inherited from void* + ___ -### jsonrpc +## jsonrpc • **jsonrpc**: *string* -*Inherited from void* + ___ -### method +## method • **method**: *string* *Overrides void* -*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L136)* +*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L136)* ___ -### params +## params • **params**: *any[]* -*Inherited from void* +
-> # Interface: LedgerCommunication +# Interface: LedgerCommunication -## Hierarchy +### Hierarchy * **LedgerCommunication** -## Index ### Properties -* [close_async](#close_async) - -## Properties - -### close_async +## close_async • **close_async**: *function* -*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L98)* +*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L98)* #### Type declaration: @@ -2453,25 +2233,20 @@ ___
-> # Interface: LedgerCommunicationClient +# Interface: LedgerCommunicationClient -## Hierarchy +### Hierarchy * **LedgerCommunicationClient** -## Index ### Properties -* [close](#close) - -## Properties - -### close +## close • **close**: *function* -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L5)* #### Type declaration: @@ -2479,33 +2254,25 @@ ___
-> # Interface: LedgerEthereumClient +# Interface: LedgerEthereumClient Elliptic Curve signature The LedgerEthereumClient sends Ethereum-specific requests to the Ledger Nano S It uses an internal LedgerCommunicationClient to relay these requests. Currently NodeJs and Browser communication are supported. -## Hierarchy +### Hierarchy * **LedgerEthereumClient** -## Index ### Properties -* [getAddress](#getaddress) -* [signPersonalMessage](#signpersonalmessage) -* [signTransaction](#signtransaction) -* [transport](#transport) - -## Properties - -### getAddress +## getAddress • **getAddress**: *function* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L17)* #### Type declaration: @@ -2521,11 +2288,11 @@ Name | Type | ___ -### signPersonalMessage +## signPersonalMessage • **signPersonalMessage**: *function* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L23)* #### Type declaration: @@ -2540,11 +2307,11 @@ Name | Type | ___ -### signTransaction +## signTransaction • **signTransaction**: *function* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L22)* #### Type declaration: @@ -2559,415 +2326,348 @@ Name | Type | ___ -### transport +## transport • **transport**: *[LedgerCommunicationClient](#interface-ledgercommunicationclient)* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L24)*
-> # Interface: LedgerGetAddressResult +# Interface: LedgerGetAddressResult -## Hierarchy +### Hierarchy * **LedgerGetAddressResult** -## Index ### Properties -* [address](#address) -* [chainCode](#chaincode) -* [publicKey](#publickey) - -## Properties - -### address +## address • **address**: *string* -*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L79)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L79)* ___ -### chainCode +## chainCode • **chainCode**: *string* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L81)* ___ -### publicKey +## publicKey • **publicKey**: *string* -*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L80)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L80)*
-> # Interface: LedgerSubproviderConfigs +# Interface: LedgerSubproviderConfigs networkId: The ethereum networkId to set as the chainId from EIP155 ledgerConnectionType: Environment in which you wish to connect to Ledger (nodejs or browser) derivationPath: Initial derivation path to use e.g 44'/60'/0' accountFetchingConfigs: configs related to fetching accounts from a Ledger -## Hierarchy +### Hierarchy * **LedgerSubproviderConfigs** -## Index ### Properties -* [accountFetchingConfigs](#optional-accountfetchingconfigs) -* [baseDerivationPath](#optional-basederivationpath) -* [ledgerEthereumClientFactoryAsync](#ledgerethereumclientfactoryasync) -* [networkId](#networkid) - -## Properties - -### `Optional` accountFetchingConfigs +## `Optional` accountFetchingConfigs • **accountFetchingConfigs**? : *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* -*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L45)* ___ -### `Optional` baseDerivationPath +## `Optional` baseDerivationPath • **baseDerivationPath**? : *undefined | string* -*Defined in [types.ts:44](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L44)* +*Defined in [types.ts:44](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L44)* ___ -### ledgerEthereumClientFactoryAsync +## ledgerEthereumClientFactoryAsync • **ledgerEthereumClientFactoryAsync**: *[LedgerEthereumClientFactoryAsync](#ledgerethereumclientfactoryasync)* -*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L43)* +*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L43)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L42)*
-> # Interface: MnemonicWalletSubproviderConfigs +# Interface: MnemonicWalletSubproviderConfigs mnemonic: The string mnemonic seed addressSearchLimit: The maximum number of addresses to search through, defaults to 1000 baseDerivationPath: The base derivation path (e.g 44'/60'/0'/0) -## Hierarchy +### Hierarchy * **MnemonicWalletSubproviderConfigs** -## Index ### Properties -* [addressSearchLimit](#optional-addresssearchlimit) -* [baseDerivationPath](#optional-basederivationpath) -* [mnemonic](#mnemonic) - -## Properties - -### `Optional` addressSearchLimit +## `Optional` addressSearchLimit • **addressSearchLimit**? : *undefined | number* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L67)* ___ -### `Optional` baseDerivationPath +## `Optional` baseDerivationPath • **baseDerivationPath**? : *undefined | string* -*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L68)* +*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L68)* ___ -### mnemonic +## mnemonic • **mnemonic**: *string* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L66)*
-> # Interface: PartialTxParams +# Interface: PartialTxParams -## Hierarchy +### Hierarchy * **PartialTxParams** -## Index ### Properties -* [chainId](#chainid) -* [data](#optional-data) -* [from](#from) -* [gas](#gas) -* [gasPrice](#optional-gasprice) -* [nonce](#nonce) -* [to](#to) -* [value](#optional-value) - -## Properties - -### chainId +## chainId • **chainId**: *number* -*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L92)* +*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L92)* ___ -### `Optional` data +## `Optional` data • **data**? : *undefined | string* -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L91)* ___ -### from +## from • **from**: *string* -*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L89)* +*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L89)* ___ -### gas +## gas • **gas**: *string* -*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L87)* +*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L87)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *undefined | string* -*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L86)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L86)* ___ -### nonce +## nonce • **nonce**: *string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L85)* ___ -### to +## to • **to**: *string* -*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L88)* +*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L88)* ___ -### `Optional` value +## `Optional` value • **value**? : *undefined | string* -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L90)*
-> # Interface: ResponseWithTxParams +# Interface: ResponseWithTxParams -## Hierarchy +### Hierarchy * **ResponseWithTxParams** -## Index ### Properties -* [raw](#raw) -* [tx](#tx) - -## Properties - -### raw +## raw • **raw**: *string* -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L102)* ___ -### tx +## tx • **tx**: *[PartialTxParams](#interface-partialtxparams)* -*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L103)* +*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L103)*
-> # Interface: SignatureData +# Interface: SignatureData -## Hierarchy +### Hierarchy * **SignatureData** -## Index ### Properties -* [hash](#hash) -* [r](#r) -* [s](#s) -* [v](#v) - -## Properties - -### hash +## hash • **hash**: *string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L72)* ___ -### r +## r • **r**: *string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L73)* ___ -### s +## s • **s**: *string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L74)* ___ -### v +## v • **v**: *number* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L75)*
-> # Interface: TrezorConnectResponse +# Interface: TrezorConnectResponse -## Hierarchy +### Hierarchy * **TrezorConnectResponse** -## Index ### Properties -* [id](#id) -* [payload](#payload) -* [success](#success) - -## Properties - -### id +## id • **id**: *number* -*Defined in [types.ts:175](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L175)* +*Defined in [types.ts:175](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L175)* ___ -### payload +## payload • **payload**: *any* -*Defined in [types.ts:174](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L174)* +*Defined in [types.ts:174](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L174)* ___ -### success +## success • **success**: *boolean* -*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L176)* +*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L176)*
-> # Interface: TrezorGetPublicKeyResponsePayload +# Interface: TrezorGetPublicKeyResponsePayload -## Hierarchy +### Hierarchy * **TrezorGetPublicKeyResponsePayload** -## Index ### Properties -* [chainCode](#chaincode) -* [childNumb](#childnumb) -* [depth](#depth) -* [fingerprint](#fingerprint) -* [path](#path) -* [publicKey](#publickey) -* [serializedPath](#serializedpath) -* [xpub](#xpub) - -## Properties - -### chainCode +## chainCode • **chainCode**: *string* -*Defined in [types.ts:152](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L152)* +*Defined in [types.ts:152](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L152)* ___ -### childNumb +## childNumb • **childNumb**: *number* -*Defined in [types.ts:150](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L150)* +*Defined in [types.ts:150](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L150)* ___ -### depth +## depth • **depth**: *number* -*Defined in [types.ts:155](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L155)* +*Defined in [types.ts:155](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L155)* ___ -### fingerprint +## fingerprint • **fingerprint**: *number* -*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L154)* ___ -### path +## path • **path**: *object* -*Defined in [types.ts:146](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L146)* +*Defined in [types.ts:146](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L146)* #### Type declaration: @@ -2975,160 +2675,135 @@ ___ ___ -### publicKey +## publicKey • **publicKey**: *string* -*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L153)* ___ -### serializedPath +## serializedPath • **serializedPath**: *string* -*Defined in [types.ts:149](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L149)* +*Defined in [types.ts:149](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L149)* ___ -### xpub +## xpub • **xpub**: *string* -*Defined in [types.ts:151](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L151)* +*Defined in [types.ts:151](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L151)*
-> # Interface: TrezorResponseErrorPayload +# Interface: TrezorResponseErrorPayload -## Hierarchy +### Hierarchy * **TrezorResponseErrorPayload** -## Index ### Properties -* [error](#error) - -## Properties - -### error +## error • **error**: *string* -*Defined in [types.ts:170](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L170)* +*Defined in [types.ts:170](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L170)*
-> # Interface: TrezorSignMsgResponsePayload +# Interface: TrezorSignMsgResponsePayload -## Hierarchy +### Hierarchy * **TrezorSignMsgResponsePayload** -## Index ### Properties -* [address](#address) -* [signature](#signature) - -## Properties - -### address +## address • **address**: *string* -*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L165)* ___ -### signature +## signature • **signature**: *string* -*Defined in [types.ts:166](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L166)* +*Defined in [types.ts:166](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L166)*
-> # Interface: TrezorSignTxResponsePayload +# Interface: TrezorSignTxResponsePayload -## Hierarchy +### Hierarchy * **TrezorSignTxResponsePayload** -## Index ### Properties -* [r](#r) -* [s](#s) -* [v](#v) - -## Properties - -### r +## r • **r**: *string* -*Defined in [types.ts:160](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L160)* +*Defined in [types.ts:160](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L160)* ___ -### s +## s • **s**: *string* -*Defined in [types.ts:161](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L161)* +*Defined in [types.ts:161](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L161)* ___ -### v +## v • **v**: *string* -*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L159)* +*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L159)*
-> # Interface: TrezorSubproviderConfig +# Interface: TrezorSubproviderConfig -## Hierarchy +### Hierarchy * **TrezorSubproviderConfig** -## Index ### Properties -* [accountFetchingConfigs](#accountfetchingconfigs) -* [networkId](#networkid) -* [trezorConnectClientApi](#trezorconnectclientapi) - -## Properties - -### accountFetchingConfigs +## accountFetchingConfigs • **accountFetchingConfigs**: *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* -*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L140)* ___ -### networkId +## networkId • **networkId**: *number* -*Defined in [types.ts:142](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L142)* +*Defined in [types.ts:142](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L142)* ___ -### trezorConnectClientApi +## trezorConnectClientApi • **trezorConnectClientApi**: *any* -*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/subproviders/src/types.ts#L141)* +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L141)*
diff --git a/packages/web3-wrapper/docs/reference.mdx b/packages/web3-wrapper/docs/reference.mdx index 93da7491d4..85bbfb9071 100644 --- a/packages/web3-wrapper/docs/reference.mdx +++ b/packages/web3-wrapper/docs/reference.mdx @@ -1,68 +1,19 @@ -> # Class: Web3Wrapper +# Class: Web3Wrapper An alternative to the Web3.js library that provides a consistent, clean, promise-based interface. -## Hierarchy +### Hierarchy * **Web3Wrapper** -## Index ### Constructors -* [constructor](#constructor) - -### Properties - -* [abiDecoder](#abidecoder) -* [isZeroExWeb3Wrapper](#iszeroexweb3wrapper) - -### Methods - -* [awaitTransactionMinedAsync](#awaittransactionminedasync) -* [awaitTransactionSuccessAsync](#awaittransactionsuccessasync) -* [callAsync](#callasync) -* [doesContractExistAtAddressAsync](#doescontractexistataddressasync) -* [estimateGasAsync](#estimategasasync) -* [getAvailableAddressesAsync](#getavailableaddressesasync) -* [getBalanceInWeiAsync](#getbalanceinweiasync) -* [getBlockIfExistsAsync](#getblockifexistsasync) -* [getBlockNumberAsync](#getblocknumberasync) -* [getBlockTimestampAsync](#getblocktimestampasync) -* [getBlockWithTransactionDataAsync](#getblockwithtransactiondataasync) -* [getContractCodeAsync](#getcontractcodeasync) -* [getContractDefaults](#getcontractdefaults) -* [getLogsAsync](#getlogsasync) -* [getNetworkIdAsync](#getnetworkidasync) -* [getNodeTypeAsync](#getnodetypeasync) -* [getNodeVersionAsync](#getnodeversionasync) -* [getProvider](#getprovider) -* [getTransactionByHashAsync](#gettransactionbyhashasync) -* [getTransactionReceiptIfExistsAsync](#gettransactionreceiptifexistsasync) -* [getTransactionTraceAsync](#gettransactiontraceasync) -* [increaseTimeAsync](#increasetimeasync) -* [isSenderAddressAvailableAsync](#issenderaddressavailableasync) -* [mineBlockAsync](#mineblockasync) -* [revertSnapshotAsync](#revertsnapshotasync) -* [sendRawPayloadAsync](#sendrawpayloadasync) -* [sendTransactionAsync](#sendtransactionasync) -* [setHeadAsync](#setheadasync) -* [setProvider](#setprovider) -* [signMessageAsync](#signmessageasync) -* [signTypedDataAsync](#signtypeddataasync) -* [takeSnapshotAsync](#takesnapshotasync) -* [isAddress](#static-isaddress) -* [toBaseUnitAmount](#static-tobaseunitamount) -* [toUnitAmount](#static-tounitamount) -* [toWei](#static-towei) - -## Constructors - -### constructor +## constructer \+ **new Web3Wrapper**(`supportedProvider`: `SupportedProvider`, `callAndTxnDefaults`: `Partial`): *[Web3Wrapper](#class-web3wrapper)* -*Defined in [web3_wrapper.ts:145](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L145)* +*Defined in [web3_wrapper.ts:145](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L145)* Instantiates a new Web3Wrapper. @@ -77,31 +28,31 @@ Name | Type | Default | Description | An instance of the Web3Wrapper class. -## Properties +### Properties -### abiDecoder +## abiDecoder • **abiDecoder**: *`AbiDecoder`* -*Defined in [web3_wrapper.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L54)* +*Defined in [web3_wrapper.ts:54](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L54)* ___ -### isZeroExWeb3Wrapper +## isZeroExWeb3Wrapper • **isZeroExWeb3Wrapper**: *boolean* = true -*Defined in [web3_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L53)* +*Defined in [web3_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L53)* Flag to check if this instance is of type Web3Wrapper -## Methods +### Methods -### awaitTransactionMinedAsync +## awaitTransactionMinedAsync ▸ **awaitTransactionMinedAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* -*Defined in [web3_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L568)* +*Defined in [web3_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L568)* Waits for a transaction to be mined and returns the transaction receipt. Note that just because a transaction was mined does not mean it was @@ -123,11 +74,11 @@ Transaction receipt with decoded log args. ___ -### awaitTransactionSuccessAsync +## awaitTransactionSuccessAsync ▸ **awaitTransactionSuccessAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* -*Defined in [web3_wrapper.ts:643](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L643)* +*Defined in [web3_wrapper.ts:643](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L643)* Waits for a transaction to be mined and returns the transaction receipt. Unlike awaitTransactionMinedAsync, it will throw if the receipt has a @@ -149,11 +100,11 @@ Transaction receipt with decoded log args. ___ -### callAsync +## callAsync ▸ **callAsync**(`callData`: `CallData`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:525](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L525)* +*Defined in [web3_wrapper.ts:525](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L525)* Call a smart contract method at a given block height @@ -170,11 +121,11 @@ The raw call result ___ -### doesContractExistAtAddressAsync +## doesContractExistAtAddressAsync ▸ **doesContractExistAtAddressAsync**(`address`: string): *`Promise`* -*Defined in [web3_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L273)* +*Defined in [web3_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L273)* Check if a contract exists at a given address @@ -190,11 +141,11 @@ Whether or not contract code was found at the supplied address ___ -### estimateGasAsync +## estimateGasAsync ▸ **estimateGasAsync**(`txData`: `Partial`): *`Promise`* -*Defined in [web3_wrapper.ts:508](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L508)* +*Defined in [web3_wrapper.ts:508](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L508)* Calculate the estimated gas cost for a given transaction @@ -210,11 +161,11 @@ Estimated gas cost ___ -### getAvailableAddressesAsync +## getAvailableAddressesAsync ▸ **getAvailableAddressesAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:421](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L421)* +*Defined in [web3_wrapper.ts:421](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L421)* Retrieve the user addresses available through the backing provider @@ -224,11 +175,11 @@ Available user addresses ___ -### getBalanceInWeiAsync +## getBalanceInWeiAsync ▸ **getBalanceInWeiAsync**(`owner`: string, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:254](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L254)* +*Defined in [web3_wrapper.ts:254](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L254)* Retrieves an accounts Ether balance in wei @@ -245,11 +196,11 @@ Balance in wei ___ -### getBlockIfExistsAsync +## getBlockIfExistsAsync ▸ **getBlockIfExistsAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:361](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L361)* +*Defined in [web3_wrapper.ts:361](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L361)* Fetch a specific Ethereum block without transaction data @@ -266,11 +217,11 @@ The requested block without transaction data, or undefined if block was not foun ___ -### getBlockNumberAsync +## getBlockNumberAsync ▸ **getBlockNumberAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:347](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L347)* +*Defined in [web3_wrapper.ts:347](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L347)* Fetches the latest block number @@ -280,11 +231,11 @@ Block number ___ -### getBlockTimestampAsync +## getBlockTimestampAsync ▸ **getBlockTimestampAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L409)* +*Defined in [web3_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L409)* Fetch a block's timestamp @@ -300,11 +251,11 @@ The block's timestamp ___ -### getBlockWithTransactionDataAsync +## getBlockWithTransactionDataAsync ▸ **getBlockWithTransactionDataAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:387](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L387)* +*Defined in [web3_wrapper.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L387)* Fetch a specific Ethereum block with transaction data @@ -320,11 +271,11 @@ The requested block with transaction data ___ -### getContractCodeAsync +## getContractCodeAsync ▸ **getContractCodeAsync**(`address`: string, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:286](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L286)* +*Defined in [web3_wrapper.ts:286](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L286)* Gets the contract code by address @@ -341,11 +292,11 @@ Code of the contract ___ -### getContractDefaults +## getContractDefaults ▸ **getContractDefaults**(): *`Partial` | undefined* -*Defined in [web3_wrapper.ts:164](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L164)* +*Defined in [web3_wrapper.ts:164](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L164)* Get the contract defaults set to the Web3Wrapper instance @@ -355,11 +306,11 @@ CallAndTxnData defaults (e.g gas, gasPrice, nonce, etc...) ___ -### getLogsAsync +## getLogsAsync ▸ **getLogsAsync**(`filter`: `FilterObject`): *`Promise`* -*Defined in [web3_wrapper.ts:475](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L475)* +*Defined in [web3_wrapper.ts:475](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L475)* Retrieve smart contract logs for a given filter @@ -375,11 +326,11 @@ The corresponding log entries ___ -### getNetworkIdAsync +## getNetworkIdAsync ▸ **getNetworkIdAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L207)* +*Defined in [web3_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L207)* Fetches the networkId of the backing Ethereum node @@ -389,11 +340,11 @@ The network id ___ -### getNodeTypeAsync +## getNodeTypeAsync ▸ **getNodeTypeAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:690](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L690)* +*Defined in [web3_wrapper.ts:690](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L690)* Returns either NodeType.Geth or NodeType.Ganache depending on the type of the backing Ethereum node. Throws for any other type of node. @@ -402,11 +353,11 @@ the backing Ethereum node. Throws for any other type of node. ___ -### getNodeVersionAsync +## getNodeVersionAsync ▸ **getNodeVersionAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:199](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L199)* +*Defined in [web3_wrapper.ts:199](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L199)* Fetch the backing Ethereum node's version string (e.g `MetaMask/v4.2.0`) @@ -416,11 +367,11 @@ Ethereum node's version string ___ -### getProvider +## getProvider ▸ **getProvider**(): *`SupportedProvider`* -*Defined in [web3_wrapper.ts:171](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L171)* +*Defined in [web3_wrapper.ts:171](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L171)* Retrieve the Web3 provider @@ -430,11 +381,11 @@ Web3 provider instance ___ -### getTransactionByHashAsync +## getTransactionByHashAsync ▸ **getTransactionByHashAsync**(`txHash`: string): *`Promise`* -*Defined in [web3_wrapper.ts:239](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L239)* +*Defined in [web3_wrapper.ts:239](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L239)* Retrieves the transaction data for a given transaction @@ -450,11 +401,11 @@ The raw transaction data ___ -### getTransactionReceiptIfExistsAsync +## getTransactionReceiptIfExistsAsync ▸ **getTransactionReceiptIfExistsAsync**(`txHash`: string): *`Promise`* -*Defined in [web3_wrapper.ts:217](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L217)* +*Defined in [web3_wrapper.ts:217](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L217)* Retrieves the transaction receipt for a given transaction hash if found @@ -470,11 +421,11 @@ The transaction receipt, including it's status (0: failed, 1: succeeded). Return ___ -### getTransactionTraceAsync +## getTransactionTraceAsync ▸ **getTransactionTraceAsync**(`txHash`: string, `traceParams`: `TraceParams`): *`Promise`* -*Defined in [web3_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L305)* +*Defined in [web3_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L305)* Gets the debug trace of a transaction @@ -491,11 +442,11 @@ Transaction trace ___ -### increaseTimeAsync +## increaseTimeAsync ▸ **increaseTimeAsync**(`timeDelta`: number): *`Promise`* -*Defined in [web3_wrapper.ts:458](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L458)* +*Defined in [web3_wrapper.ts:458](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L458)* Increase the next blocks timestamp on TestRPC/Ganache or Geth local node. Will throw if provider is neither TestRPC/Ganache or Geth. @@ -510,11 +461,11 @@ Name | Type | Description | ___ -### isSenderAddressAvailableAsync +## isSenderAddressAvailableAsync ▸ **isSenderAddressAvailableAsync**(`senderAddress`: string): *`Promise`* -*Defined in [web3_wrapper.ts:189](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L189)* +*Defined in [web3_wrapper.ts:189](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L189)* Check whether an address is available through the backing provider. This can be useful if you want to know whether a user can sign messages or transactions from @@ -532,11 +483,11 @@ Whether the address is available through the provider. ___ -### mineBlockAsync +## mineBlockAsync ▸ **mineBlockAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:450](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L450)* +*Defined in [web3_wrapper.ts:450](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L450)* Mine a block on a TestRPC/Ganache local node @@ -544,11 +495,11 @@ Mine a block on a TestRPC/Ganache local node ___ -### revertSnapshotAsync +## revertSnapshotAsync ▸ **revertSnapshotAsync**(`snapshotId`: number): *`Promise`* -*Defined in [web3_wrapper.ts:442](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L442)* +*Defined in [web3_wrapper.ts:442](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L442)* Revert the blockchain state to a previous snapshot state on TestRPC/Ganache local node @@ -564,11 +515,11 @@ Whether the revert was successful ___ -### sendRawPayloadAsync +## sendRawPayloadAsync ▸ **sendRawPayloadAsync**<**A**>(`payload`: `Partial`): *`Promise`* -*Defined in [web3_wrapper.ts:671](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L671)* +*Defined in [web3_wrapper.ts:671](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L671)* Sends a raw Ethereum JSON RPC payload and returns the response's `result` key @@ -588,11 +539,11 @@ The contents nested under the result key of the response body ___ -### sendTransactionAsync +## sendTransactionAsync ▸ **sendTransactionAsync**(`txData`: `TxData`): *`Promise`* -*Defined in [web3_wrapper.ts:547](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L547)* +*Defined in [web3_wrapper.ts:547](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L547)* Send a transaction @@ -608,11 +559,11 @@ Transaction hash ___ -### setHeadAsync +## setHeadAsync ▸ **setHeadAsync**(`blockNumber`: number): *`Promise`* -*Defined in [web3_wrapper.ts:662](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L662)* +*Defined in [web3_wrapper.ts:662](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L662)* Calls the 'debug_setHead' JSON RPC method, which sets the current head of the local chain by block number. Note, this is a destructive action and @@ -630,11 +581,11 @@ Name | Type | Description | ___ -### setProvider +## setProvider ▸ **setProvider**(`supportedProvider`: `SupportedProvider`): *void* -*Defined in [web3_wrapper.ts:178](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L178)* +*Defined in [web3_wrapper.ts:178](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L178)* Update the used Web3 provider @@ -648,11 +599,11 @@ Name | Type | ___ -### signMessageAsync +## signMessageAsync ▸ **signMessageAsync**(`address`: string, `message`: string): *`Promise`* -*Defined in [web3_wrapper.ts:319](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L319)* +*Defined in [web3_wrapper.ts:319](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L319)* Sign a message with a specific address's private key (`eth_sign`) @@ -669,11 +620,11 @@ Signature string (might be VRS or RSV depending on the Signer) ___ -### signTypedDataAsync +## signTypedDataAsync ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Defined in [web3_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L334)* +*Defined in [web3_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L334)* Sign an EIP712 typed data message with a specific address's private key (`eth_signTypedData`) @@ -690,11 +641,11 @@ Signature string (as RSV) ___ -### takeSnapshotAsync +## takeSnapshotAsync ▸ **takeSnapshotAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:433](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L433)* +*Defined in [web3_wrapper.ts:433](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L433)* Take a snapshot of the blockchain state on a TestRPC/Ganache local node @@ -704,11 +655,11 @@ The snapshot id. This can be used to revert to this snapshot ___ -### `Static` isAddress +## `Static` isAddress ▸ **isAddress**(`address`: string): *boolean* -*Defined in [web3_wrapper.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L65)* +*Defined in [web3_wrapper.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L65)* Check if an address is a valid Ethereum address @@ -724,11 +675,11 @@ Whether the address is a valid Ethereum address ___ -### `Static` toBaseUnitAmount +## `Static` toBaseUnitAmount ▸ **toBaseUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* -*Defined in [web3_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L91)* +*Defined in [web3_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L91)* A baseUnit is defined as the smallest denomination of a token. An amount expressed in baseUnits is the amount expressed in the smallest denomination. @@ -747,11 +698,11 @@ The amount in baseUnits. ___ -### `Static` toUnitAmount +## `Static` toUnitAmount ▸ **toUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* -*Defined in [web3_wrapper.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L76)* +*Defined in [web3_wrapper.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L76)* A unit amount is defined as the amount of a token above the specified decimal places (integer part). E.g: If a currency has 18 decimal places, 1e18 or one quintillion of the currency is equivalent @@ -770,11 +721,11 @@ The amount in units. ___ -### `Static` toWei +## `Static` toWei ▸ **toWei**(`ethAmount`: `BigNumber`): *`BigNumber`* -*Defined in [web3_wrapper.ts:107](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/web3_wrapper.ts#L107)* +*Defined in [web3_wrapper.ts:107](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L107)* Convert an Ether amount from ETH to Wei @@ -790,54 +741,43 @@ Amount in wei
-> # Enumeration: NodeType +# Enumeration: NodeType -## Index ### Enumeration members -* [Ganache](#ganache) -* [Geth](#geth) - -## Enumeration members - -### Ganache +## Ganache • **Ganache**: = "GANACHE" -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L91)* ___ -### Geth +## Geth • **Geth**: = "GETH" -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L90)*
-> # Enumeration: Web3WrapperErrors +# Enumeration: Web3WrapperErrors -## Index ### Enumeration members -* [TransactionMiningTimeout](#transactionminingtimeout) - -## Enumeration members - -### TransactionMiningTimeout +## TransactionMiningTimeout • **TransactionMiningTimeout**: = "TRANSACTION_MINING_TIMEOUT" -*Defined in [types.ts:2](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L2)* +*Defined in [types.ts:2](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L2)*
-> # Interface: AbstractBlockRPC +# Interface: AbstractBlockRPC -## Hierarchy +### Hierarchy * **AbstractBlockRPC** @@ -845,681 +785,605 @@ ___ * [BlockWithTransactionDataRPC](#interface-blockwithtransactiondatarpc) -## Index ### Properties -* [difficulty](#difficulty) -* [extraData](#extradata) -* [gasLimit](#gaslimit) -* [gasUsed](#gasused) -* [hash](#hash) -* [logsBloom](#logsbloom) -* [miner](#miner) -* [nonce](#nonce) -* [number](#number) -* [parentHash](#parenthash) -* [sha3Uncles](#sha3uncles) -* [size](#size) -* [stateRoot](#stateroot) -* [timestamp](#timestamp) -* [totalDifficulty](#totaldifficulty) -* [transactionsRoot](#transactionsroot) -* [uncles](#uncles) - -## Properties - -### difficulty +## difficulty • **difficulty**: *string* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L15)* ___ -### extraData +## extraData • **extraData**: *string* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L17)* ___ -### gasLimit +## gasLimit • **gasLimit**: *string* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L19)* ___ -### gasUsed +## gasUsed • **gasUsed**: *string* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L20)* ___ -### hash +## hash • **hash**: *string | null* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L7)* ___ -### logsBloom +## logsBloom • **logsBloom**: *string | null* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L11)* ___ -### miner +## miner • **miner**: *string* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L14)* ___ -### nonce +## nonce • **nonce**: *string | null* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L9)* ___ -### number +## number • **number**: *string | null* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L6)* ___ -### parentHash +## parentHash • **parentHash**: *string* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L8)* ___ -### sha3Uncles +## sha3Uncles • **sha3Uncles**: *string* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L10)* ___ -### size +## size • **size**: *string* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L18)* ___ -### stateRoot +## stateRoot • **stateRoot**: *string* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L13)* ___ -### timestamp +## timestamp • **timestamp**: *string* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L21)* ___ -### totalDifficulty +## totalDifficulty • **totalDifficulty**: *string* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L16)* ___ -### transactionsRoot +## transactionsRoot • **transactionsRoot**: *string* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L12)* ___ -### uncles +## uncles • **uncles**: *string[]* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L22)*
-> # Interface: BlockWithoutTransactionDataRPC +# Interface: BlockWithoutTransactionDataRPC -## Hierarchy +### Hierarchy * [AbstractBlockRPC](#interface-abstractblockrpc) * **BlockWithoutTransactionDataRPC** -## Index ### Properties -* [difficulty](#difficulty) -* [extraData](#extradata) -* [gasLimit](#gaslimit) -* [gasUsed](#gasused) -* [hash](#hash) -* [logsBloom](#logsbloom) -* [miner](#miner) -* [nonce](#nonce) -* [number](#number) -* [parentHash](#parenthash) -* [sha3Uncles](#sha3uncles) -* [size](#size) -* [stateRoot](#stateroot) -* [timestamp](#timestamp) -* [totalDifficulty](#totaldifficulty) -* [transactions](#transactions) -* [transactionsRoot](#transactionsroot) -* [uncles](#uncles) - -## Properties - -### difficulty +## difficulty • **difficulty**: *string* *Inherited from [AbstractBlockRPC](#difficulty)* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L15)* ___ -### extraData +## extraData • **extraData**: *string* *Inherited from [AbstractBlockRPC](#extradata)* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L17)* ___ -### gasLimit +## gasLimit • **gasLimit**: *string* *Inherited from [AbstractBlockRPC](#gaslimit)* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L19)* ___ -### gasUsed +## gasUsed • **gasUsed**: *string* *Inherited from [AbstractBlockRPC](#gasused)* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L20)* ___ -### hash +## hash • **hash**: *string | null* *Inherited from [AbstractBlockRPC](#hash)* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L7)* ___ -### logsBloom +## logsBloom • **logsBloom**: *string | null* *Inherited from [AbstractBlockRPC](#logsbloom)* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L11)* ___ -### miner +## miner • **miner**: *string* *Inherited from [AbstractBlockRPC](#miner)* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L14)* ___ -### nonce +## nonce • **nonce**: *string | null* *Inherited from [AbstractBlockRPC](#nonce)* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L9)* ___ -### number +## number • **number**: *string | null* *Inherited from [AbstractBlockRPC](#number)* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L6)* ___ -### parentHash +## parentHash • **parentHash**: *string* *Inherited from [AbstractBlockRPC](#parenthash)* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L8)* ___ -### sha3Uncles +## sha3Uncles • **sha3Uncles**: *string* *Inherited from [AbstractBlockRPC](#sha3uncles)* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L10)* ___ -### size +## size • **size**: *string* *Inherited from [AbstractBlockRPC](#size)* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L18)* ___ -### stateRoot +## stateRoot • **stateRoot**: *string* *Inherited from [AbstractBlockRPC](#stateroot)* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L13)* ___ -### timestamp +## timestamp • **timestamp**: *string* *Inherited from [AbstractBlockRPC](#timestamp)* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L21)* ___ -### totalDifficulty +## totalDifficulty • **totalDifficulty**: *string* *Inherited from [AbstractBlockRPC](#totaldifficulty)* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L16)* ___ -### transactions +## transactions • **transactions**: *string[]* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L25)* ___ -### transactionsRoot +## transactionsRoot • **transactionsRoot**: *string* *Inherited from [AbstractBlockRPC](#transactionsroot)* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L12)* ___ -### uncles +## uncles • **uncles**: *string[]* *Inherited from [AbstractBlockRPC](#uncles)* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L22)*
-> # Interface: BlockWithTransactionDataRPC +# Interface: BlockWithTransactionDataRPC -## Hierarchy +### Hierarchy * [AbstractBlockRPC](#interface-abstractblockrpc) * **BlockWithTransactionDataRPC** -## Index ### Properties -* [difficulty](#difficulty) -* [extraData](#extradata) -* [gasLimit](#gaslimit) -* [gasUsed](#gasused) -* [hash](#hash) -* [logsBloom](#logsbloom) -* [miner](#miner) -* [nonce](#nonce) -* [number](#number) -* [parentHash](#parenthash) -* [sha3Uncles](#sha3uncles) -* [size](#size) -* [stateRoot](#stateroot) -* [timestamp](#timestamp) -* [totalDifficulty](#totaldifficulty) -* [transactions](#transactions) -* [transactionsRoot](#transactionsroot) -* [uncles](#uncles) - -## Properties - -### difficulty +## difficulty • **difficulty**: *string* *Inherited from [AbstractBlockRPC](#difficulty)* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L15)* ___ -### extraData +## extraData • **extraData**: *string* *Inherited from [AbstractBlockRPC](#extradata)* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L17)* ___ -### gasLimit +## gasLimit • **gasLimit**: *string* *Inherited from [AbstractBlockRPC](#gaslimit)* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L19)* ___ -### gasUsed +## gasUsed • **gasUsed**: *string* *Inherited from [AbstractBlockRPC](#gasused)* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L20)* ___ -### hash +## hash • **hash**: *string | null* *Inherited from [AbstractBlockRPC](#hash)* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L7)* ___ -### logsBloom +## logsBloom • **logsBloom**: *string | null* *Inherited from [AbstractBlockRPC](#logsbloom)* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L11)* ___ -### miner +## miner • **miner**: *string* *Inherited from [AbstractBlockRPC](#miner)* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L14)* ___ -### nonce +## nonce • **nonce**: *string | null* *Inherited from [AbstractBlockRPC](#nonce)* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L9)* ___ -### number +## number • **number**: *string | null* *Inherited from [AbstractBlockRPC](#number)* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L6)* ___ -### parentHash +## parentHash • **parentHash**: *string* *Inherited from [AbstractBlockRPC](#parenthash)* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L8)* ___ -### sha3Uncles +## sha3Uncles • **sha3Uncles**: *string* *Inherited from [AbstractBlockRPC](#sha3uncles)* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L10)* ___ -### size +## size • **size**: *string* *Inherited from [AbstractBlockRPC](#size)* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L18)* ___ -### stateRoot +## stateRoot • **stateRoot**: *string* *Inherited from [AbstractBlockRPC](#stateroot)* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L13)* ___ -### timestamp +## timestamp • **timestamp**: *string* *Inherited from [AbstractBlockRPC](#timestamp)* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L21)* ___ -### totalDifficulty +## totalDifficulty • **totalDifficulty**: *string* *Inherited from [AbstractBlockRPC](#totaldifficulty)* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L16)* ___ -### transactions +## transactions • **transactions**: *[TransactionRPC](#interface-transactionrpc)[]* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L28)* ___ -### transactionsRoot +## transactionsRoot • **transactionsRoot**: *string* *Inherited from [AbstractBlockRPC](#transactionsroot)* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L12)* ___ -### uncles +## uncles • **uncles**: *string[]* *Inherited from [AbstractBlockRPC](#uncles)* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L22)*
-> # Interface: CallDataRPC +# Interface: CallDataRPC -## Hierarchy +### Hierarchy * [CallTxDataBaseRPC](#interface-calltxdatabaserpc) * **CallDataRPC** -## Index ### Properties -* [data](#optional-data) -* [from](#optional-from) -* [gas](#optional-gas) -* [gasPrice](#optional-gasprice) -* [nonce](#optional-nonce) -* [to](#optional-to) -* [value](#optional-value) - -## Properties - -### `Optional` data +## `Optional` data • **data**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-data)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L76)* ___ -### `Optional` from +## `Optional` from • **from**? : *undefined | string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L85)* ___ -### `Optional` gas +## `Optional` gas • **gas**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-gas)* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L74)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-gasprice)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L75)* ___ -### `Optional` nonce +## `Optional` nonce • **nonce**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-nonce)* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L77)* ___ -### `Optional` to +## `Optional` to • **to**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-to)* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L72)* ___ -### `Optional` value +## `Optional` value • **value**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-value)* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L73)*
-> # Interface: CallTxDataBaseRPC +# Interface: CallTxDataBaseRPC -## Hierarchy +### Hierarchy * **CallTxDataBaseRPC** @@ -1527,463 +1391,400 @@ ___ * [CallDataRPC](#interface-calldatarpc) -## Index ### Properties -* [data](#optional-data) -* [gas](#optional-gas) -* [gasPrice](#optional-gasprice) -* [nonce](#optional-nonce) -* [to](#optional-to) -* [value](#optional-value) - -## Properties - -### `Optional` data +## `Optional` data • **data**? : *undefined | string* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L76)* ___ -### `Optional` gas +## `Optional` gas • **gas**? : *undefined | string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L74)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *undefined | string* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L75)* ___ -### `Optional` nonce +## `Optional` nonce • **nonce**? : *undefined | string* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L77)* ___ -### `Optional` to +## `Optional` to • **to**? : *undefined | string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L72)* ___ -### `Optional` value +## `Optional` value • **value**? : *undefined | string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L73)*
-> # Interface: LogEntryRPC +# Interface: LogEntryRPC -## Hierarchy +### Hierarchy * **LogEntryRPC** -## Index ### Properties -* [address](#address) -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [data](#data) -* [logIndex](#logindex) -* [topics](#topics) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### address +## address • **address**: *string* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L64)* ___ -### blockHash +## blockHash • **blockHash**: *string | null* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L62)* ___ -### blockNumber +## blockNumber • **blockNumber**: *string | null* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L63)* ___ -### data +## data • **data**: *string* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L65)* ___ -### logIndex +## logIndex • **logIndex**: *string | null* -*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L59)* +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L59)* ___ -### topics +## topics • **topics**: *string[]* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L66)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* -*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L61)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L61)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *string | null* -*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L60)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L60)*
-> # Interface: TransactionReceiptRPC +# Interface: TransactionReceiptRPC -## Hierarchy +### Hierarchy * **TransactionReceiptRPC** -## Index ### Properties -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [contractAddress](#contractaddress) -* [cumulativeGasUsed](#cumulativegasused) -* [from](#from) -* [gasUsed](#gasused) -* [logs](#logs) -* [status](#status) -* [to](#to) -* [transactionHash](#transactionhash) -* [transactionIndex](#transactionindex) - -## Properties - -### blockHash +## blockHash • **blockHash**: *string* -*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L45)* ___ -### blockNumber +## blockNumber • **blockNumber**: *string* -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L46)* ___ -### contractAddress +## contractAddress • **contractAddress**: *string | null* -*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L54)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L54)* ___ -### cumulativeGasUsed +## cumulativeGasUsed • **cumulativeGasUsed**: *string* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L52)* ___ -### from +## from • **from**: *string* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L49)* ___ -### gasUsed +## gasUsed • **gasUsed**: *string* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L53)* ___ -### logs +## logs • **logs**: *[LogEntryRPC](#interface-logentryrpc)[]* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L55)* ___ -### status +## status • **status**: *[TransactionReceiptStatusRPC](#transactionreceiptstatusrpc)* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L51)* ___ -### to +## to • **to**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L50)* ___ -### transactionHash +## transactionHash • **transactionHash**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L47)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *string* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L48)*
-> # Interface: TransactionRPC +# Interface: TransactionRPC -## Hierarchy +### Hierarchy * **TransactionRPC** -## Index ### Properties -* [blockHash](#blockhash) -* [blockNumber](#blocknumber) -* [from](#from) -* [gas](#gas) -* [gasPrice](#gasprice) -* [hash](#hash) -* [input](#input) -* [nonce](#nonce) -* [to](#to) -* [transactionIndex](#transactionindex) -* [value](#value) - -## Properties - -### blockHash +## blockHash • **blockHash**: *string | null* -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L33)* ___ -### blockNumber +## blockNumber • **blockNumber**: *string | null* -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L34)* ___ -### from +## from • **from**: *string* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L36)* ___ -### gas +## gas • **gas**: *string* -*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L40)* +*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L40)* ___ -### gasPrice +## gasPrice • **gasPrice**: *string* -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L39)* ___ -### hash +## hash • **hash**: *string* -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L31)* ___ -### input +## input • **input**: *string* -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L41)* ___ -### nonce +## nonce • **nonce**: *string* -*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L32)* ___ -### to +## to • **to**: *string | null* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L37)* ___ -### transactionIndex +## transactionIndex • **transactionIndex**: *string | null* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L35)* ___ -### value +## value • **value**: *string* -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L38)*
-> # Interface: TxDataRPC +# Interface: TxDataRPC -## Hierarchy +### Hierarchy * [CallTxDataBaseRPC](#interface-calltxdatabaserpc) * **TxDataRPC** -## Index ### Properties -* [data](#optional-data) -* [from](#from) -* [gas](#optional-gas) -* [gasPrice](#optional-gasprice) -* [nonce](#optional-nonce) -* [to](#optional-to) -* [value](#optional-value) - -## Properties - -### `Optional` data +## `Optional` data • **data**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-data)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L76)* ___ -### from +## from • **from**: *string* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L81)* ___ -### `Optional` gas +## `Optional` gas • **gas**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-gas)* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L74)* ___ -### `Optional` gasPrice +## `Optional` gasPrice • **gasPrice**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-gasprice)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L75)* ___ -### `Optional` nonce +## `Optional` nonce • **nonce**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-nonce)* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L77)* ___ -### `Optional` to +## `Optional` to • **to**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-to)* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L72)* ___ -### `Optional` value +## `Optional` value • **value**? : *undefined | string* *Inherited from [CallTxDataBaseRPC](#optional-value)* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/b834b7060/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L73)*
From e78288ddfd4d58614f7f39488399414ff970104c Mon Sep 17 00:00:00 2001 From: fabioberger Date: Sun, 25 Aug 2019 22:34:34 +0200 Subject: [PATCH 35/37] Update yarn.lock --- yarn.lock | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/yarn.lock b/yarn.lock index e32cf72f41..199837a12f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -649,13 +649,6 @@ dependencies: "@0x/base-contract" "^4.0.3" -"@0x/abi-gen-wrappers@^5.3.0": - version "5.2.0" - dependencies: - "@0x/base-contract" "^5.3.1" - "@0x/contract-addresses" "^3.0.3" - "@0x/contract-artifacts" "^2.0.4" - "@0x/asset-buyer@6.1.8": version "6.1.8" resolved "https://registry.yarnpkg.com/@0x/asset-buyer/-/asset-buyer-6.1.8.tgz#71f6abb366e89e62457c256644edb37e12113e94" @@ -823,20 +816,6 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.3.0" -"@0x/ts-doc-gen@^0.0.15": - version "0.0.15" - resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.15.tgz#6a4d65faaede1debafd65495a8fe878e36ed7951" - integrity sha512-Sg0zKYYWX0P2UfPOr5DqRw6G8Nd+uXmOFpCNWWIcgrj0COOIYMTwEeZvRN2D9OHVhp8ZWvGPcHomSzo/pvar5A== - dependencies: - "@0x/typescript-typings" "^4.2.2" - "@0x/utils" "^4.3.3" - glob "^7.1.4" - promisify-child-process "^3.1.1" - rimraf "^2.6.3" - typedoc "^0.15.0" - typedoc-plugin-markdown "^2.1.0" - yargs "^10.0.3" - "@0x/ts-doc-gen@^0.0.16": version "0.0.16" resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.16.tgz#9ac03483803c89c5fd774a95d99a4cb0db070f69" From 6474a4e08c10bc90420dfab5f8fe2baec51707c8 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Mon, 26 Aug 2019 07:10:11 +0200 Subject: [PATCH 36/37] Update ts-doc-gen with fix for multi-link lines --- packages/asset-buyer/package.json | 2 +- packages/asset-swapper/package.json | 2 +- packages/connect/package.json | 2 +- packages/contract-wrappers/package.json | 2 +- packages/ethereum-types/package.json | 2 +- packages/json-schemas/package.json | 2 +- packages/migrations/package.json | 2 +- packages/order-utils/package.json | 2 +- packages/sol-compiler/package.json | 2 +- packages/sol-coverage/package.json | 2 +- packages/sol-profiler/package.json | 2 +- packages/sol-trace/package.json | 2 +- packages/subproviders/package.json | 2 +- packages/web3-wrapper/package.json | 2 +- yarn.lock | 8 ++++---- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/asset-buyer/package.json b/packages/asset-buyer/package.json index 5c5503e817..d119edc0f2 100644 --- a/packages/asset-buyer/package.json +++ b/packages/asset-buyer/package.json @@ -54,7 +54,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/asset-swapper/package.json b/packages/asset-swapper/package.json index ca8a5dc9d5..45bd0416b8 100644 --- a/packages/asset-swapper/package.json +++ b/packages/asset-swapper/package.json @@ -58,7 +58,7 @@ "lodash": "^4.17.11" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/packages/connect/package.json b/packages/connect/package.json index b29a402f18..5d102ba647 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -61,7 +61,7 @@ "websocket": "^1.0.26" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/fetch-mock": "^6.0.3", "@types/lodash": "4.14.104", diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json index 765d0320b3..a3c41f426d 100644 --- a/packages/contract-wrappers/package.json +++ b/packages/contract-wrappers/package.json @@ -47,7 +47,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/contract-wrappers/README.md", "devDependencies": { "@0x/assert": "^2.1.4", - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/contracts-test-utils": "^3.1.14", "@0x/coordinator-server": "^0.1.3", "@0x/json-schemas": "^4.0.0", diff --git a/packages/ethereum-types/package.json b/packages/ethereum-types/package.json index bb57bf398b..44e811a380 100644 --- a/packages/ethereum-types/package.json +++ b/packages/ethereum-types/package.json @@ -33,7 +33,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/ethereum-types/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "make-promises-safe": "^1.1.0", "shx": "^0.2.2", diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 7da7382adc..8c31cfb132 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -49,7 +49,7 @@ "lodash.values": "^4.3.0" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@0x/utils": "^4.5.0", "@types/lodash.foreach": "^4.5.3", diff --git a/packages/migrations/package.json b/packages/migrations/package.json index cef363b8e3..e22524c275 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -41,7 +41,7 @@ "license": "Apache-2.0", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@0x/types": "^2.4.1", "@types/yargs": "^11.0.0", diff --git a/packages/order-utils/package.json b/packages/order-utils/package.json index baa3fee37c..ac19c3754c 100644 --- a/packages/order-utils/package.json +++ b/packages/order-utils/package.json @@ -40,7 +40,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/order-utils/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/bn.js": "^4.11.0", "@types/lodash": "4.14.104", diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 83e5f5de51..bf7b8ec3c8 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -47,7 +47,7 @@ "homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-compiler/README.md", "devDependencies": { "@0x/dev-utils": "^2.3.1", - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/mkdirp": "^0.5.2", "@types/mocha": "^5.2.7", diff --git a/packages/sol-coverage/package.json b/packages/sol-coverage/package.json index f74fde575d..425bff08f3 100644 --- a/packages/sol-coverage/package.json +++ b/packages/sol-coverage/package.json @@ -43,7 +43,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-profiler/package.json b/packages/sol-profiler/package.json index 784c9e91e3..90ae42d244 100644 --- a/packages/sol-profiler/package.json +++ b/packages/sol-profiler/package.json @@ -43,7 +43,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/node": "*", "@types/web3-provider-engine": "^14.0.0", diff --git a/packages/sol-trace/package.json b/packages/sol-trace/package.json index ff7e589cc2..eebed769d5 100644 --- a/packages/sol-trace/package.json +++ b/packages/sol-trace/package.json @@ -44,7 +44,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/loglevel": "^1.5.3", "@types/node": "*", diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json index e823e57713..46ca8aadf3 100644 --- a/packages/subproviders/package.json +++ b/packages/subproviders/package.json @@ -55,7 +55,7 @@ "web3-provider-engine": "14.0.6" }, "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/bip39": "^2.4.0", "@types/bn.js": "^4.11.0", diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 6718c0b90b..584424e54c 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -40,7 +40,7 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/web3-wrapper/README.md", "devDependencies": { - "@0x/ts-doc-gen": "^0.0.16", + "@0x/ts-doc-gen": "^0.0.17", "@0x/tslint-config": "^3.0.1", "@types/lodash": "4.14.104", "@types/mocha": "^5.2.7", diff --git a/yarn.lock b/yarn.lock index 199837a12f..a61e331c2b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -816,10 +816,10 @@ optionalDependencies: "@ledgerhq/hw-transport-node-hid" "^4.3.0" -"@0x/ts-doc-gen@^0.0.16": - version "0.0.16" - resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.16.tgz#9ac03483803c89c5fd774a95d99a4cb0db070f69" - integrity sha512-jE2QPR0257Pa7MURN7NFB6F2bnEWvcHvvYTdSzLvFMmibQEa+5b0jron4NaK7TCseWFnKJD/psTbyXMResTnsQ== +"@0x/ts-doc-gen@^0.0.17": + version "0.0.17" + resolved "https://registry.yarnpkg.com/@0x/ts-doc-gen/-/ts-doc-gen-0.0.17.tgz#2c3c8e96aad4476e3a13608d3f1b516b87e17665" + integrity sha512-0+ErnVixm804BkYHt7sYe10rc8w9Nf4qO2Ecp9ljzNliEVgwMV7zBSOFFk1CUSbTPYXqDSLuP79y7CxlWXmxdA== dependencies: "@0x/typescript-typings" "^4.2.2" "@0x/utils" "^4.3.3" From e452cfcd599663aee0d8b9b48d18b3fbcf77fc05 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Mon, 26 Aug 2019 07:11:29 +0200 Subject: [PATCH 37/37] Final docs gen --- packages/asset-buyer/docs/reference.mdx | 132 +- packages/asset-swapper/docs/reference.mdx | 514 ++++---- packages/connect/docs/reference.mdx | 54 +- packages/contract-wrappers/docs/reference.mdx | 278 ++-- packages/ethereum-types/docs/reference.mdx | 1140 ++++++++--------- packages/json-schemas/docs/reference.mdx | 8 +- packages/migrations/docs/reference.mdx | 38 +- packages/order-utils/docs/reference.mdx | 166 +-- packages/sol-compiler/docs/reference.mdx | 40 +- packages/sol-coverage/docs/reference.mdx | 10 +- packages/sol-profiler/docs/reference.mdx | 4 +- packages/sol-trace/docs/reference.mdx | 2 +- packages/subproviders/docs/reference.mdx | 440 +++---- packages/web3-wrapper/docs/reference.mdx | 382 +++--- 14 files changed, 1604 insertions(+), 1604 deletions(-) diff --git a/packages/asset-buyer/docs/reference.mdx b/packages/asset-buyer/docs/reference.mdx index 5428e22d9c..e8f45ebd6b 100644 --- a/packages/asset-buyer/docs/reference.mdx +++ b/packages/asset-buyer/docs/reference.mdx @@ -11,7 +11,7 @@ \+ **new AssetBuyer**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#interface-orderprovider), `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:83](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L83)* +*Defined in [asset_buyer.ts:83](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L83)* Instantiates a new AssetBuyer instance @@ -33,7 +33,7 @@ An instance of AssetBuyer • **expiryBufferSeconds**: *number* -*Defined in [asset_buyer.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L40)* +*Defined in [asset_buyer.ts:40](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L40)* ___ @@ -41,7 +41,7 @@ ___ • **networkId**: *number* -*Defined in [asset_buyer.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L38)* +*Defined in [asset_buyer.ts:38](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L38)* ___ @@ -49,7 +49,7 @@ ___ • **orderProvider**: *[OrderProvider](#interface-orderprovider)* -*Defined in [asset_buyer.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L37)* +*Defined in [asset_buyer.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L37)* ___ @@ -57,7 +57,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [asset_buyer.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L39)* +*Defined in [asset_buyer.ts:39](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L39)* ___ @@ -65,7 +65,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [asset_buyer.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L36)* +*Defined in [asset_buyer.ts:36](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L36)* ### Methods @@ -73,7 +73,7 @@ ___ ▸ **executeBuyQuoteAsync**(`buyQuote`: [BuyQuote](#interface-buyquote), `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L226)* +*Defined in [asset_buyer.ts:226](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L226)* Given a BuyQuote and desired rate, attempt to execute the buy. @@ -94,7 +94,7 @@ ___ ▸ **getAvailableAssetDatasAsync**(): *`Promise`* -*Defined in [asset_buyer.ts:302](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L302)* +*Defined in [asset_buyer.ts:302](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L302)* Get the asset data of all assets that are purchaseable with ether token (wETH) in the order provider passed in at init. @@ -108,7 +108,7 @@ ___ ▸ **getBuyQuoteAsync**(`assetData`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:125](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L125)* +*Defined in [asset_buyer.ts:125](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L125)* Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired assetData. You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. @@ -131,7 +131,7 @@ ___ ▸ **getBuyQuoteForERC20TokenAddressAsync**(`tokenAddress`: string, `assetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:173](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L173)* +*Defined in [asset_buyer.ts:173](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L173)* Get a `BuyQuote` containing all information relevant to fulfilling a buy given a desired ERC20 token address. You can then pass the `BuyQuote` to `executeBuyQuoteAsync` to execute the buy. @@ -154,7 +154,7 @@ ___ ▸ **getLiquidityForAssetDataAsync**(`assetData`: string, `options`: `Partial`): *`Promise`* -*Defined in [asset_buyer.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L192)* +*Defined in [asset_buyer.ts:192](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L192)* Returns information about available liquidity for an asset Does not factor in slippage or fees @@ -176,7 +176,7 @@ ___ ▸ **getOrdersAndFillableAmountsAsync**(`assetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* -*Defined in [asset_buyer.ts:311](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L311)* +*Defined in [asset_buyer.ts:311](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L311)* Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders @@ -195,7 +195,7 @@ ___ ▸ **getAssetBuyerForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L53)* +*Defined in [asset_buyer.ts:53](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L53)* Instantiates a new AssetBuyer instance given existing liquidity in the form of orders and feeOrders. @@ -217,7 +217,7 @@ ___ ▸ **getAssetBuyerForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[AssetBuyer](#class-assetbuyer)* -*Defined in [asset_buyer.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/asset_buyer.ts#L72)* +*Defined in [asset_buyer.ts:72](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/asset_buyer.ts#L72)* Instantiates a new AssetBuyer instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint @@ -252,7 +252,7 @@ Error class representing insufficient asset liquidity \+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/errors.ts#L12)* **Parameters:** @@ -268,7 +268,7 @@ Name | Type | Description | • **amountAvailableToFill**: *`BigNumber`* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/errors.ts#L12)* The amount availabe to fill (in base units) factoring in slippage. @@ -331,7 +331,7 @@ ___ \+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* Instantiates a new BasicOrderProvider instance @@ -351,7 +351,7 @@ An instance of BasicOrderProvider • **orders**: *`SignedOrder`[]* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L9)* ### Methods @@ -359,7 +359,7 @@ An instance of BasicOrderProvider ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L37)* +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L37)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -379,7 +379,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L24)* +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/order_providers/basic_order_provider.ts#L24)* Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -412,7 +412,7 @@ An instance of OrderProviderResponse. See type for more information. \+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L48)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:48](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L48)* Instantiates a new StandardRelayerAPIOrderProvider instance @@ -433,7 +433,7 @@ An instance of StandardRelayerAPIOrderProvider • **apiUrl**: *string* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L17)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:17](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L17)* ___ @@ -441,7 +441,7 @@ ___ • **networkId**: *number* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L18)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L18)* ### Methods @@ -449,7 +449,7 @@ ___ ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L91)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:91](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L91)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -469,7 +469,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L67)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:67](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts#L67)* Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -496,7 +496,7 @@ Possible error messages thrown by an AssetBuyer instance or associated static me • **AssetUnavailable**: = "ASSET_UNAVAILABLE" -*Defined in [types.ts:122](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L122)* +*Defined in [types.ts:122](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L122)* ___ @@ -504,7 +504,7 @@ ___ • **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L118)* ___ @@ -512,7 +512,7 @@ ___ • **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L119)* ___ @@ -520,7 +520,7 @@ ___ • **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" -*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L121)* +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L121)* ___ @@ -528,7 +528,7 @@ ___ • **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L120)* ___ @@ -536,7 +536,7 @@ ___ • **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L115)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L115)* ___ @@ -544,7 +544,7 @@ ___ • **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L116)* ___ @@ -552,7 +552,7 @@ ___ • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:123](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L123)* +*Defined in [types.ts:123](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L123)* ___ @@ -560,7 +560,7 @@ ___ • **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L117)* ___ @@ -568,7 +568,7 @@ ___ • **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" -*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L124)*
@@ -589,7 +589,7 @@ expiryBufferSeconds: The number of seconds to add when calculating whether an or • **expiryBufferSeconds**: *number* -*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L108)* ___ @@ -597,7 +597,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L106)* +*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L106)* ___ @@ -605,7 +605,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L107)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L107)*
@@ -630,7 +630,7 @@ worstCaseQuoteInfo: Info about the worst case price for the asset. • **assetBuyAmount**: *`BigNumber`* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L48)* ___ @@ -638,7 +638,7 @@ ___ • **assetData**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L47)* ___ @@ -646,7 +646,7 @@ ___ • **bestCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L52)* ___ @@ -654,7 +654,7 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L50)* ___ @@ -662,7 +662,7 @@ ___ • **feePercentage**? : *undefined | number* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L51)* ___ @@ -670,7 +670,7 @@ ___ • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L49)* ___ @@ -678,7 +678,7 @@ ___ • **worstCaseQuoteInfo**: *[BuyQuoteInfo](#interface-buyquoteinfo)* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L53)*
@@ -701,7 +701,7 @@ feeRecipient: The address where affiliate fees are sent. Defaults to null addres • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L93)* +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L93)* ___ @@ -709,7 +709,7 @@ ___ • **feeRecipient**: *string* -*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L97)* +*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L97)* ___ @@ -717,7 +717,7 @@ ___ • **gasLimit**? : *undefined | number* -*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L95)* +*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L95)* ___ @@ -725,7 +725,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L96)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L96)* ___ @@ -733,7 +733,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L94)* +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L94)*
@@ -754,7 +754,7 @@ totalEthAmount: The total amount of eth required to complete the buy (filling or • **assetEthAmount**: *`BigNumber`* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L62)* ___ @@ -762,7 +762,7 @@ ___ • **feeEthAmount**: *`BigNumber`* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L63)* ___ @@ -770,7 +770,7 @@ ___ • **totalEthAmount**: *`BigNumber`* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L64)*
@@ -791,7 +791,7 @@ slippagePercentage: The percentage buffer to add to account for slippage. Affect • **feePercentage**: *number* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L73)* ___ @@ -799,7 +799,7 @@ ___ • **shouldForceOrderRefresh**: *boolean* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L74)* ___ @@ -807,7 +807,7 @@ ___ • **slippagePercentage**: *number* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L75)*
@@ -826,7 +826,7 @@ Represents available liquidity for a given assetData • **ethValueAvailableInWei**: *`BigNumber`* -*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L141)* +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L141)* ___ @@ -834,7 +834,7 @@ ___ • **tokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L140)*
@@ -859,7 +859,7 @@ getAvailableMakerAssetDatasAsync: Given a taker asset data string, return all av • **getAvailableMakerAssetDatasAsync**: *function* -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L34)* #### Type declaration: @@ -877,7 +877,7 @@ ___ • **getOrdersAsync**: *function* -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L33)* #### Type declaration: @@ -908,7 +908,7 @@ networkId: The networkId that the desired orders should be for. • **makerAssetData**: *string* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L10)* ___ @@ -916,7 +916,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L11)*
@@ -935,7 +935,7 @@ orders: An array of orders with optional remaining fillable makerAsset amounts. • **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L18)*
@@ -955,7 +955,7 @@ remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed or • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:132](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L132)* +*Defined in [types.ts:132](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L132)* ___ @@ -963,7 +963,7 @@ ___ • **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:133](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L133)* +*Defined in [types.ts:133](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L133)*
@@ -1055,7 +1055,7 @@ ___ • **remainingFillableMakerAssetAmount**? : *`BigNumber`* -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-buyer/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-buyer/src/types.ts#L26)* ___ diff --git a/packages/asset-swapper/docs/reference.mdx b/packages/asset-swapper/docs/reference.mdx index e958082492..e380b16cb2 100644 --- a/packages/asset-swapper/docs/reference.mdx +++ b/packages/asset-swapper/docs/reference.mdx @@ -15,7 +15,7 @@ Error class representing insufficient asset liquidity \+ **new InsufficientAssetLiquidityError**(`amountAvailableToFill`: `BigNumber`): *[InsufficientAssetLiquidityError](#class-insufficientassetliquidityerror)* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/errors.ts#L12)* **Parameters:** @@ -31,7 +31,7 @@ Name | Type | Description | • **amountAvailableToFill**: *`BigNumber`* -*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/errors.ts#L12)* +*Defined in [errors.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/errors.ts#L12)* The amount availabe to fill (in base units) factoring in slippage. @@ -94,7 +94,7 @@ ___ \+ **new BasicOrderProvider**(`orders`: `SignedOrder`[]): *[BasicOrderProvider](#class-basicorderprovider)* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* Instantiates a new BasicOrderProvider instance @@ -114,7 +114,7 @@ An instance of BasicOrderProvider • **orders**: *`SignedOrder`[]* -*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* +*Defined in [order_providers/basic_order_provider.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L9)* ### Methods @@ -122,7 +122,7 @@ An instance of BasicOrderProvider ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L37)* +*Defined in [order_providers/basic_order_provider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L37)* Given a taker asset data string, return all availabled paired maker asset data strings. @@ -142,7 +142,7 @@ ___ ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:46](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L46)* +*Defined in [order_providers/basic_order_provider.ts:46](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L46)* Given a maker asset data string, return all availabled paired taker asset data strings. @@ -162,7 +162,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L24)* +*Defined in [order_providers/basic_order_provider.ts:24](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/basic_order_provider.ts#L24)* Given an object that conforms to OrderFetcherRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -195,7 +195,7 @@ An instance of OrderProviderResponse. See type for more information. \+ **new StandardRelayerAPIOrderProvider**(`apiUrl`: string, `networkId`: number): *[StandardRelayerAPIOrderProvider](#class-standardrelayerapiorderprovider)* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L49)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:49](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L49)* Instantiates a new StandardRelayerAPIOrderProvider instance @@ -216,7 +216,7 @@ An instance of StandardRelayerAPIOrderProvider • **apiUrl**: *string* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L18)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L18)* ___ @@ -224,7 +224,7 @@ ___ • **networkId**: *number* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L19)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L19)* ### Methods @@ -232,7 +232,7 @@ ___ ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:92](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L92)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:92](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L92)* Given a taker asset data string, return all available paired maker asset data strings. @@ -252,7 +252,7 @@ ___ ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L120)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:120](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L120)* Given a maker asset data string, return all availabled paired taker asset data strings. @@ -272,7 +272,7 @@ ___ ▸ **getOrdersAsync**(`orderProviderRequest`: [OrderProviderRequest](#interface-orderproviderrequest)): *`Promise`* -*Defined in [order_providers/standard_relayer_api_order_provider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L68)* +*Defined in [order_providers/standard_relayer_api_order_provider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/order_providers/standard_relayer_api_order_provider.ts#L68)* Given an object that conforms to OrderProviderRequest, return the corresponding OrderProviderResponse that satisfies the request. @@ -296,7 +296,7 @@ An instance of OrderProviderResponse. See type for more information. ### Implements -* [SwapQuoteConsumerBase](#exchangesmartcontractparams)*› +* [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)‹*[ExchangeSmartContractParams](#exchangesmartcontractparams)*› ### Constructors @@ -305,7 +305,7 @@ An instance of OrderProviderResponse. See type for more information. \+ **new ExchangeSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ExchangeSwapQuoteConsumer](#class-exchangeswapquoteconsumer)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L28)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L28)* **Parameters:** @@ -322,7 +322,7 @@ Name | Type | Default | • **networkId**: *number* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L26)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L26)* ___ @@ -330,7 +330,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L25)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L25)* ### Methods @@ -340,7 +340,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:121](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L121)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:121](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L121)* **Parameters:** @@ -359,7 +359,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L42)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:42](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L42)* **Parameters:** @@ -378,7 +378,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L70)* +*Defined in [quote_consumers/exchange_swap_quote_consumer.ts:70](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/exchange_swap_quote_consumer.ts#L70)* **Parameters:** @@ -399,7 +399,7 @@ Name | Type | ### Implements -* [SwapQuoteConsumerBase](#forwardersmartcontractparams)*› +* [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)‹*[ForwarderSmartContractParams](#forwardersmartcontractparams)*› ### Constructors @@ -408,7 +408,7 @@ Name | Type | \+ **new ForwarderSwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[ForwarderSwapQuoteConsumer](#class-forwarderswapquoteconsumer)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L30)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L30)* **Parameters:** @@ -425,7 +425,7 @@ Name | Type | Default | • **networkId**: *number* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L28)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L28)* ___ @@ -433,7 +433,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L27)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:27](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L27)* ### Methods @@ -443,7 +443,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:159](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L159)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:159](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L159)* Given a SwapQuote and desired rate (in Eth), attempt to execute the swap. @@ -464,7 +464,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L49)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:49](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L49)* Given a SwapQuote, returns 'CalldataInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. @@ -485,7 +485,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L81)* +*Defined in [quote_consumers/forwarder_swap_quote_consumer.ts:81](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/forwarder_swap_quote_consumer.ts#L81)* Given a SwapQuote, returns 'SmartContractParamsInfo' for a forwarder extension call. See type definition of CalldataInfo for more information. @@ -508,7 +508,7 @@ Name | Type | Description | ### Implements -* [SwapQuoteConsumerBase](#smartcontractparams)*› +* [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)‹*[SmartContractParams](#smartcontractparams)*› ### Constructors @@ -517,7 +517,7 @@ Name | Type | Description | \+ **new SwapQuoteConsumer**(`supportedProvider`: `SupportedProvider`, `options`: `Partial`): *[SwapQuoteConsumer](#class-swapquoteconsumer)* -*Defined in [quote_consumers/swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L30)* +*Defined in [quote_consumers/swap_quote_consumer.ts:30](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L30)* **Parameters:** @@ -534,7 +534,7 @@ Name | Type | Default | • **networkId**: *number* -*Defined in [quote_consumers/swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L26)* +*Defined in [quote_consumers/swap_quote_consumer.ts:26](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L26)* ___ @@ -542,7 +542,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [quote_consumers/swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L25)* +*Defined in [quote_consumers/swap_quote_consumer.ts:25](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L25)* ### Methods @@ -552,7 +552,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:80](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L80)* +*Defined in [quote_consumers/swap_quote_consumer.ts:80](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L80)* Given a SwapQuote and desired rate (in takerAsset), attempt to execute the swap. @@ -573,7 +573,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L52)* +*Defined in [quote_consumers/swap_quote_consumer.ts:52](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L52)* Given a SwapQuote, returns 'CalldataInfo' for a 0x exchange call. See type definition of CalldataInfo for more information. @@ -594,7 +594,7 @@ ___ *Implementation of [SwapQuoteConsumerBase](#interface-swapquoteconsumerbase)* -*Defined in [quote_consumers/swap_quote_consumer.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L66)* +*Defined in [quote_consumers/swap_quote_consumer.ts:66](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/quote_consumers/swap_quote_consumer.ts#L66)* Given a SwapQuote, returns 'SmartContractParamsInfo' for a 0x exchange call. See type definition of SmartContractParamsInfo for more information. @@ -622,7 +622,7 @@ Name | Type | Description | \+ **new SwapQuoter**(`supportedProvider`: `SupportedProvider`, `orderProvider`: [OrderProvider](#interface-orderprovider), `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:92](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L92)* +*Defined in [swap_quoter.ts:92](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L92)* Instantiates a new SwapQuoter instance @@ -644,7 +644,7 @@ An instance of SwapQuoter • **expiryBufferMs**: *number* -*Defined in [swap_quoter.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L40)* +*Defined in [swap_quoter.ts:40](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L40)* ___ @@ -652,7 +652,7 @@ ___ • **networkId**: *number* -*Defined in [swap_quoter.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L38)* +*Defined in [swap_quoter.ts:38](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L38)* ___ @@ -660,7 +660,7 @@ ___ • **orderProvider**: *[OrderProvider](#interface-orderprovider)* -*Defined in [swap_quoter.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L37)* +*Defined in [swap_quoter.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L37)* ___ @@ -668,7 +668,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [swap_quoter.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L39)* +*Defined in [swap_quoter.ts:39](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L39)* ___ @@ -676,7 +676,7 @@ ___ • **provider**: *`ZeroExProvider`* -*Defined in [swap_quoter.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L36)* +*Defined in [swap_quoter.ts:36](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L36)* ### Methods @@ -684,7 +684,7 @@ ___ ▸ **getAvailableMakerAssetDatasAsync**(`takerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:290](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L290)* +*Defined in [swap_quoter.ts:290](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L290)* Get the asset data of all assets that are purchaseable with takerAssetData in the order provider passed in at init. @@ -704,7 +704,7 @@ ___ ▸ **getAvailableTakerAssetDatasAsync**(`makerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:279](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L279)* +*Defined in [swap_quoter.ts:279](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L279)* Get the asset data of all assets that can be used to purchase makerAssetData in the order provider passed in at init. @@ -724,7 +724,7 @@ ___ ▸ **getLiquidityForMakerTakerAssetDataPairAsync**(`makerAssetData`: string, `takerAssetData`: string, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:245](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L245)* +*Defined in [swap_quoter.ts:245](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L245)* Returns information about available liquidity for an asset Does not factor in slippage or fees @@ -747,7 +747,7 @@ ___ ▸ **getMarketBuySwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:186](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L186)* +*Defined in [swap_quoter.ts:186](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L186)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -771,7 +771,7 @@ ___ ▸ **getMarketBuySwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `makerAssetBuyAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:161](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L161)* +*Defined in [swap_quoter.ts:161](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L161)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -795,7 +795,7 @@ ___ ▸ **getMarketSellSwapQuoteAsync**(`makerTokenAddress`: string, `takerTokenAddress`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:216](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L216)* +*Defined in [swap_quoter.ts:216](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L216)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -819,7 +819,7 @@ ___ ▸ **getMarketSellSwapQuoteForAssetDataAsync**(`makerAssetData`: string, `takerAssetData`: string, `takerAssetSellAmount`: `BigNumber`, `options`: `Partial`): *`Promise`* -*Defined in [swap_quoter.ts:135](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L135)* +*Defined in [swap_quoter.ts:135](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L135)* Get a `SwapQuote` containing all information relevant to fulfilling a swap between a desired ERC20 token address and ERC20 owned by a provided address. You can then pass the `SwapQuote` to a `SwapQuoteConsumer` to execute a buy, or process SwapQuote for on-chain consumption. @@ -843,7 +843,7 @@ ___ ▸ **getOrdersAndFillableAmountsAsync**(`makerAssetData`: string, `takerAssetData`: string, `shouldForceOrderRefresh`: boolean): *`Promise`* -*Defined in [swap_quoter.ts:319](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L319)* +*Defined in [swap_quoter.ts:319](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L319)* Grab orders from the map, if there is a miss or it is time to refresh, fetch and process the orders @@ -863,7 +863,7 @@ ___ ▸ **isTakerAddressAllowanceEnoughForBestAndWorstQuoteInfoAsync**(`swapQuote`: [SwapQuote](#swapquote), `takerAddress`: string): *`Promise<[boolean, boolean]>`* -*Defined in [swap_quoter.ts:380](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L380)* +*Defined in [swap_quoter.ts:380](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L380)* Util function to check if takerAddress's allowance is enough for 0x exchange contracts to conduct the swap specified by the swapQuote. @@ -882,7 +882,7 @@ ___ ▸ **isTakerMakerAssetDataPairAvailableAsync**(`makerAssetData`: string, `takerAssetData`: string): *`Promise`* -*Defined in [swap_quoter.ts:301](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L301)* +*Defined in [swap_quoter.ts:301](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L301)* Validates the taker + maker asset pair is available from the order provider provided to `SwapQuote`. @@ -903,7 +903,7 @@ ___ ▸ **getSwapQuoterForProvidedOrders**(`supportedProvider`: `SupportedProvider`, `orders`: `SignedOrder`[], `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L53)* +*Defined in [swap_quoter.ts:53](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L53)* Instantiates a new SwapQuoter instance given existing liquidity in the form of orders and feeOrders. @@ -925,7 +925,7 @@ ___ ▸ **getSwapQuoterForStandardRelayerAPIUrl**(`supportedProvider`: `SupportedProvider`, `sraApiUrl`: string, `options`: `Partial`): *[SwapQuoter](#class-swapquoter)* -*Defined in [swap_quoter.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/swap_quoter.ts#L73)* +*Defined in [swap_quoter.ts:73](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/swap_quoter.ts#L73)* Instantiates a new SwapQuoter instance given a [Standard Relayer API](https://github.com/0xProject/standard-relayer-api) endpoint @@ -954,7 +954,7 @@ Represents the varying smart contracts that can consume a valid swap quote • **Exchange**: -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L102)* ___ @@ -962,7 +962,7 @@ ___ • **Forwarder**: -*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L101)* +*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L101)*
@@ -977,7 +977,7 @@ Possible error messages thrown by an SwapQuoterConsumer instance or associated s • **InvalidForwarderSwapQuote**: = "INVALID_FORWARDER_SWAP_QUOTE_PROVIDED" -*Defined in [types.ts:304](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L304)* +*Defined in [types.ts:304](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L304)* ___ @@ -985,7 +985,7 @@ ___ • **InvalidMarketSellOrMarketBuySwapQuote**: = "INVALID_MARKET_BUY_SELL_SWAP_QUOTE" -*Defined in [types.ts:303](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L303)* +*Defined in [types.ts:303](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L303)* ___ @@ -993,7 +993,7 @@ ___ • **NoAddressAvailable**: = "NO_ADDRESS_AVAILABLE" -*Defined in [types.ts:305](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L305)* +*Defined in [types.ts:305](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L305)* ___ @@ -1001,7 +1001,7 @@ ___ • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:306](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L306)* +*Defined in [types.ts:306](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L306)* ___ @@ -1009,7 +1009,7 @@ ___ • **TransactionValueTooLow**: = "TRANSACTION_VALUE_TOO_LOW" -*Defined in [types.ts:307](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L307)* +*Defined in [types.ts:307](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L307)*
@@ -1024,7 +1024,7 @@ Possible error messages thrown by an SwapQuoter instance or associated static me • **AssetUnavailable**: = "ASSET_UNAVAILABLE" -*Defined in [types.ts:320](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L320)* +*Defined in [types.ts:320](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L320)* ___ @@ -1032,7 +1032,7 @@ ___ • **InsufficientAssetLiquidity**: = "INSUFFICIENT_ASSET_LIQUIDITY" -*Defined in [types.ts:317](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L317)* +*Defined in [types.ts:317](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L317)* ___ @@ -1040,7 +1040,7 @@ ___ • **InsufficientZrxLiquidity**: = "INSUFFICIENT_ZRX_LIQUIDITY" -*Defined in [types.ts:318](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L318)* +*Defined in [types.ts:318](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L318)* ___ @@ -1048,7 +1048,7 @@ ___ • **InvalidOrderProviderResponse**: = "INVALID_ORDER_PROVIDER_RESPONSE" -*Defined in [types.ts:319](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L319)* +*Defined in [types.ts:319](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L319)* ___ @@ -1056,7 +1056,7 @@ ___ • **NoEtherTokenContractFound**: = "NO_ETHER_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:314](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L314)* +*Defined in [types.ts:314](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L314)* ___ @@ -1064,7 +1064,7 @@ ___ • **NoZrxTokenContractFound**: = "NO_ZRX_TOKEN_CONTRACT_FOUND" -*Defined in [types.ts:315](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L315)* +*Defined in [types.ts:315](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L315)* ___ @@ -1072,7 +1072,7 @@ ___ • **StandardRelayerApiError**: = "STANDARD_RELAYER_API_ERROR" -*Defined in [types.ts:316](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L316)* +*Defined in [types.ts:316](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L316)*
@@ -1095,7 +1095,7 @@ ethAmount: If provided, the eth amount in wei to send with the smart contract ca • **calldataHexString**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L50)* ___ @@ -1103,7 +1103,7 @@ ___ • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L53)* ___ @@ -1111,7 +1111,7 @@ ___ • **methodAbi**: *`MethodAbi`* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L51)* ___ @@ -1119,7 +1119,7 @@ ___ • **toAddress**: *string* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L52)*
@@ -1143,7 +1143,7 @@ type: String specifiying which market operation will be performed with the provi • **makerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L84)* ___ @@ -1151,9 +1151,9 @@ ___ • **orders**: *`SignedOrder`[]* -*Inherited from [SmartContractParamsBase](#orders)* +*Inherited from [SmartContractParamsBase](#interface-smartcontractparamsbase).[orders](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L75)* ___ @@ -1161,9 +1161,9 @@ ___ • **signatures**: *string[]* -*Inherited from [SmartContractParamsBase](#signatures)* +*Inherited from [SmartContractParamsBase](#interface-smartcontractparamsbase).[signatures](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L76)* ___ @@ -1171,7 +1171,7 @@ ___ • **type**: *`Buy`* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L85)*
@@ -1193,9 +1193,9 @@ type: String specifiying which market operation will be performed with the provi • **orders**: *`SignedOrder`[]* -*Inherited from [SmartContractParamsBase](#orders)* +*Inherited from [SmartContractParamsBase](#interface-smartcontractparamsbase).[orders](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L75)* ___ @@ -1203,9 +1203,9 @@ ___ • **signatures**: *string[]* -*Inherited from [SmartContractParamsBase](#signatures)* +*Inherited from [SmartContractParamsBase](#interface-smartcontractparamsbase).[signatures](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L76)* ___ @@ -1213,7 +1213,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L93)* +*Defined in [types.ts:93](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L93)* ___ @@ -1221,7 +1221,7 @@ ___ • **type**: *`Sell`* -*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L94)* +*Defined in [types.ts:94](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L94)*
@@ -1242,9 +1242,9 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Inherited from [ForwarderSmartContractParamsBase](#feeorders)* +*Inherited from [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase).[feeOrders](#feeorders)* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L117)* ___ @@ -1252,9 +1252,9 @@ ___ • **feePercentage**: *`BigNumber`* -*Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* +*Inherited from [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase).[feePercentage](#feepercentage)* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L119)* ___ @@ -1262,9 +1262,9 @@ ___ • **feeRecipient**: *string* -*Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* +*Inherited from [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase).[feeRecipient](#feerecipient)* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L120)* ___ @@ -1272,9 +1272,9 @@ ___ • **feeSignatures**: *string[]* -*Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* +*Inherited from [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase).[feeSignatures](#feesignatures)* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L118)* ___ @@ -1282,9 +1282,9 @@ ___ • **makerAssetFillAmount**: *`BigNumber`* -*Inherited from [ExchangeMarketBuySmartContractParams](#makerassetfillamount)* +*Inherited from [ExchangeMarketBuySmartContractParams](#interface-exchangemarketbuysmartcontractparams).[makerAssetFillAmount](#makerassetfillamount)* -*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L84)* +*Defined in [types.ts:84](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L84)* ___ @@ -1292,9 +1292,9 @@ ___ • **orders**: *`SignedOrder`[]* -*Inherited from [SmartContractParamsBase](#orders)* +*Inherited from [SmartContractParamsBase](#interface-smartcontractparamsbase).[orders](#orders)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L75)* ___ @@ -1302,9 +1302,9 @@ ___ • **signatures**: *string[]* -*Inherited from [SmartContractParamsBase](#signatures)* +*Inherited from [SmartContractParamsBase](#interface-smartcontractparamsbase).[signatures](#signatures)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L76)* ___ @@ -1312,9 +1312,9 @@ ___ • **type**: *`Buy`* -*Inherited from [ExchangeMarketBuySmartContractParams](#type)* +*Inherited from [ExchangeMarketBuySmartContractParams](#interface-exchangemarketbuysmartcontractparams).[type](#type)* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L85)*
@@ -1335,9 +1335,9 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Inherited from [ForwarderSmartContractParamsBase](#feeorders)* +*Inherited from [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase).[feeOrders](#feeorders)* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L117)* ___ @@ -1345,9 +1345,9 @@ ___ • **feePercentage**: *`BigNumber`* -*Inherited from [ForwarderSmartContractParamsBase](#feepercentage)* +*Inherited from [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase).[feePercentage](#feepercentage)* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L119)* ___ @@ -1355,9 +1355,9 @@ ___ • **feeRecipient**: *string* -*Inherited from [ForwarderSmartContractParamsBase](#feerecipient)* +*Inherited from [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase).[feeRecipient](#feerecipient)* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L120)* ___ @@ -1365,9 +1365,9 @@ ___ • **feeSignatures**: *string[]* -*Inherited from [ForwarderSmartContractParamsBase](#feesignatures)* +*Inherited from [ForwarderSmartContractParamsBase](#interface-forwardersmartcontractparamsbase).[feeSignatures](#feesignatures)* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L118)*
@@ -1393,7 +1393,7 @@ feeRecipient: The address where affiliate fees are sent. Defaults to null addres • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L117)* +*Defined in [types.ts:117](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L117)* ___ @@ -1401,7 +1401,7 @@ ___ • **feePercentage**: *`BigNumber`* -*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L119)* +*Defined in [types.ts:119](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L119)* ___ @@ -1409,7 +1409,7 @@ ___ • **feeRecipient**: *string* -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L120)* ___ @@ -1417,7 +1417,7 @@ ___ • **feeSignatures**: *string[]* -*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L118)* +*Defined in [types.ts:118](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L118)*
@@ -1440,9 +1440,9 @@ ___ • **ethAmount**? : *`BigNumber`* -*Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[ethAmount](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L192)* ___ @@ -1450,9 +1450,9 @@ ___ • **feePercentage**: *number* -*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[feePercentage](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L190)* ___ @@ -1460,9 +1460,9 @@ ___ • **feeRecipient**: *string* -*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[feeRecipient](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L191)* ___ @@ -1470,9 +1470,9 @@ ___ • **gasLimit**? : *undefined | number* -*Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* +*Inherited from [SwapQuoteExecutionOptsBase](#interface-swapquoteexecutionoptsbase).[gasLimit](#optional-gaslimit)* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L180)* ___ @@ -1480,9 +1480,9 @@ ___ • **gasPrice**? : *`BigNumber`* -*Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* +*Inherited from [SwapQuoteExecutionOptsBase](#interface-swapquoteexecutionoptsbase).[gasPrice](#optional-gasprice)* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L181)* ___ @@ -1490,9 +1490,9 @@ ___ • **takerAddress**? : *undefined | string* -*Inherited from [SwapQuoteExecutionOptsBase](#optional-takeraddress)* +*Inherited from [SwapQuoteExecutionOptsBase](#interface-swapquoteexecutionoptsbase).[takerAddress](#optional-takeraddress)* -*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L179)*
@@ -1519,7 +1519,7 @@ ethAmount: The amount of eth (in Wei) sent to the forwarder contract. • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L192)* ___ @@ -1527,7 +1527,7 @@ ___ • **feePercentage**: *number* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L190)* ___ @@ -1535,7 +1535,7 @@ ___ • **feeRecipient**: *string* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L191)*
@@ -1554,7 +1554,7 @@ Represents available liquidity for a given assetData • **makerTokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:336](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L336)* +*Defined in [types.ts:336](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L336)* ___ @@ -1562,7 +1562,7 @@ ___ • **takerTokensAvailableInBaseUnits**: *`BigNumber`* -*Defined in [types.ts:337](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L337)* +*Defined in [types.ts:337](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L337)*
@@ -1586,9 +1586,9 @@ type: Specified MarketOperation the SwapQuote is provided for • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Inherited from [SwapQuoteBase](#bestcasequoteinfo)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[bestCaseQuoteInfo](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L226)* ___ @@ -1596,9 +1596,9 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Inherited from [SwapQuoteBase](#feeorders)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[feeOrders](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L225)* ___ @@ -1606,9 +1606,9 @@ ___ • **makerAssetData**: *string* -*Inherited from [SwapQuoteBase](#makerassetdata)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[makerAssetData](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L223)* ___ @@ -1616,7 +1616,7 @@ ___ • **makerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L244)* +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L244)* ___ @@ -1624,9 +1624,9 @@ ___ • **orders**: *`SignedOrder`[]* -*Inherited from [SwapQuoteBase](#orders)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[orders](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L224)* ___ @@ -1634,9 +1634,9 @@ ___ • **takerAssetData**: *string* -*Inherited from [SwapQuoteBase](#takerassetdata)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[takerAssetData](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L222)* ___ @@ -1644,7 +1644,7 @@ ___ • **type**: *`Buy`* -*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L245)* +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L245)* ___ @@ -1652,9 +1652,9 @@ ___ • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Inherited from [SwapQuoteBase](#worstcasequoteinfo)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[worstCaseQuoteInfo](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L227)*
@@ -1675,9 +1675,9 @@ ___ • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Inherited from [SwapQuoteBase](#bestcasequoteinfo)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[bestCaseQuoteInfo](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L226)* ___ @@ -1685,9 +1685,9 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Inherited from [SwapQuoteBase](#feeorders)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[feeOrders](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L225)* ___ @@ -1695,9 +1695,9 @@ ___ • **feePercentage**: *number* -*Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* +*Inherited from [SwapQuoteWithAffiliateFeeBase](#interface-swapquotewithaffiliatefeebase).[feePercentage](#feepercentage)* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L249)* ___ @@ -1705,9 +1705,9 @@ ___ • **makerAssetData**: *string* -*Inherited from [SwapQuoteBase](#makerassetdata)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[makerAssetData](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L223)* ___ @@ -1715,9 +1715,9 @@ ___ • **makerAssetFillAmount**: *`BigNumber`* -*Inherited from [MarketBuySwapQuote](#makerassetfillamount)* +*Inherited from [MarketBuySwapQuote](#interface-marketbuyswapquote).[makerAssetFillAmount](#makerassetfillamount)* -*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L244)* +*Defined in [types.ts:244](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L244)* ___ @@ -1725,9 +1725,9 @@ ___ • **orders**: *`SignedOrder`[]* -*Inherited from [SwapQuoteBase](#orders)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[orders](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L224)* ___ @@ -1735,9 +1735,9 @@ ___ • **takerAssetData**: *string* -*Inherited from [SwapQuoteBase](#takerassetdata)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[takerAssetData](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L222)* ___ @@ -1745,9 +1745,9 @@ ___ • **type**: *`Buy`* -*Inherited from [MarketBuySwapQuote](#type)* +*Inherited from [MarketBuySwapQuote](#interface-marketbuyswapquote).[type](#type)* -*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L245)* +*Defined in [types.ts:245](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L245)* ___ @@ -1755,9 +1755,9 @@ ___ • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Inherited from [SwapQuoteBase](#worstcasequoteinfo)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[worstCaseQuoteInfo](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L227)*
@@ -1781,9 +1781,9 @@ type: Specified MarketOperation the SwapQuote is provided for • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Inherited from [SwapQuoteBase](#bestcasequoteinfo)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[bestCaseQuoteInfo](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L226)* ___ @@ -1791,9 +1791,9 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Inherited from [SwapQuoteBase](#feeorders)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[feeOrders](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L225)* ___ @@ -1801,9 +1801,9 @@ ___ • **makerAssetData**: *string* -*Inherited from [SwapQuoteBase](#makerassetdata)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[makerAssetData](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L223)* ___ @@ -1811,9 +1811,9 @@ ___ • **orders**: *`SignedOrder`[]* -*Inherited from [SwapQuoteBase](#orders)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[orders](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L224)* ___ @@ -1821,9 +1821,9 @@ ___ • **takerAssetData**: *string* -*Inherited from [SwapQuoteBase](#takerassetdata)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[takerAssetData](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L222)* ___ @@ -1831,7 +1831,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L235)* +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L235)* ___ @@ -1839,7 +1839,7 @@ ___ • **type**: *`Sell`* -*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L236)* +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L236)* ___ @@ -1847,9 +1847,9 @@ ___ • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Inherited from [SwapQuoteBase](#worstcasequoteinfo)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[worstCaseQuoteInfo](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L227)*
@@ -1870,9 +1870,9 @@ ___ • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Inherited from [SwapQuoteBase](#bestcasequoteinfo)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[bestCaseQuoteInfo](#bestcasequoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L226)* ___ @@ -1880,9 +1880,9 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Inherited from [SwapQuoteBase](#feeorders)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[feeOrders](#feeorders)* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L225)* ___ @@ -1890,9 +1890,9 @@ ___ • **feePercentage**: *number* -*Inherited from [SwapQuoteWithAffiliateFeeBase](#feepercentage)* +*Inherited from [SwapQuoteWithAffiliateFeeBase](#interface-swapquotewithaffiliatefeebase).[feePercentage](#feepercentage)* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L249)* ___ @@ -1900,9 +1900,9 @@ ___ • **makerAssetData**: *string* -*Inherited from [SwapQuoteBase](#makerassetdata)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[makerAssetData](#makerassetdata)* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L223)* ___ @@ -1910,9 +1910,9 @@ ___ • **orders**: *`SignedOrder`[]* -*Inherited from [SwapQuoteBase](#orders)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[orders](#orders)* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L224)* ___ @@ -1920,9 +1920,9 @@ ___ • **takerAssetData**: *string* -*Inherited from [SwapQuoteBase](#takerassetdata)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[takerAssetData](#takerassetdata)* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L222)* ___ @@ -1930,9 +1930,9 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Inherited from [MarketSellSwapQuote](#takerassetfillamount)* +*Inherited from [MarketSellSwapQuote](#interface-marketsellswapquote).[takerAssetFillAmount](#takerassetfillamount)* -*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L235)* +*Defined in [types.ts:235](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L235)* ___ @@ -1940,9 +1940,9 @@ ___ • **type**: *`Sell`* -*Inherited from [MarketSellSwapQuote](#type)* +*Inherited from [MarketSellSwapQuote](#interface-marketsellswapquote).[type](#type)* -*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L236)* +*Defined in [types.ts:236](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L236)* ___ @@ -1950,9 +1950,9 @@ ___ • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Inherited from [SwapQuoteBase](#worstcasequoteinfo)* +*Inherited from [SwapQuoteBase](#interface-swapquotebase).[worstCaseQuoteInfo](#worstcasequoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L227)*
@@ -1978,7 +1978,7 @@ getAvailableTakerAssetDatasAsync: Given a maker asset data string, return all av • **getAvailableMakerAssetDatasAsync**: *function* -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L38)* #### Type declaration: @@ -1996,7 +1996,7 @@ ___ • **getAvailableTakerAssetDatasAsync**: *function* -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L39)* #### Type declaration: @@ -2014,7 +2014,7 @@ ___ • **getOrdersAsync**: *function* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L37)* #### Type declaration: @@ -2045,7 +2045,7 @@ networkId: The networkId that the desired orders should be for. • **makerAssetData**: *string* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L11)* ___ @@ -2053,7 +2053,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L13)* ___ @@ -2061,7 +2061,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L12)*
@@ -2080,7 +2080,7 @@ orders: An array of orders with optional remaining fillable makerAsset amounts. • **orders**: *[SignedOrderWithRemainingFillableMakerAssetAmount](#interface-signedorderwithremainingfillablemakerassetamount)[]* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L20)*
@@ -2100,7 +2100,7 @@ remainingFillableMakerAssetAmounts: A list of fillable amounts for the signed or • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:328](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L328)* +*Defined in [types.ts:328](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L328)* ___ @@ -2108,7 +2108,7 @@ ___ • **remainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:329](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L329)* +*Defined in [types.ts:329](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L329)*
@@ -2200,7 +2200,7 @@ ___ • **remainingFillableMakerAssetAmount**? : *`BigNumber`* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L28)* ___ @@ -2294,7 +2294,7 @@ signatures: An array of signatures that attest that the maker of the orders in f • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L75)* ___ @@ -2302,7 +2302,7 @@ ___ • **signatures**: *string[]* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L76)*
@@ -2329,7 +2329,7 @@ methodAbi: The ABI of the smart contract method to call with params. • **ethAmount**? : *`BigNumber`* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L66)* ___ @@ -2337,7 +2337,7 @@ ___ • **methodAbi**: *`MethodAbi`* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L67)* ___ @@ -2345,7 +2345,7 @@ ___ • **params**: *`T`* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L64)* ___ @@ -2353,7 +2353,7 @@ ___ • **toAddress**: *string* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L65)*
@@ -2381,7 +2381,7 @@ worstCaseQuoteInfo: Info about the worst case price for the asset. • **bestCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L226)* +*Defined in [types.ts:226](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L226)* ___ @@ -2389,7 +2389,7 @@ ___ • **feeOrders**: *`SignedOrder`[]* -*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L225)* +*Defined in [types.ts:225](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L225)* ___ @@ -2397,7 +2397,7 @@ ___ • **makerAssetData**: *string* -*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L223)* +*Defined in [types.ts:223](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L223)* ___ @@ -2405,7 +2405,7 @@ ___ • **orders**: *`SignedOrder`[]* -*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L224)* +*Defined in [types.ts:224](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L224)* ___ @@ -2413,7 +2413,7 @@ ___ • **takerAssetData**: *string* -*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L222)* +*Defined in [types.ts:222](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L222)* ___ @@ -2421,7 +2421,7 @@ ___ • **worstCaseQuoteInfo**: *[SwapQuoteInfo](#interface-swapquoteinfo)* -*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L227)* +*Defined in [types.ts:227](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L227)*
@@ -2453,7 +2453,7 @@ executeSwapQuoteOrThrowAsync: Executes a web3 transaction to swap for tokens wit ▸ **executeSwapQuoteOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* -*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L158)* +*Defined in [types.ts:158](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L158)* **Parameters:** @@ -2470,7 +2470,7 @@ ___ ▸ **getCalldataOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise`* -*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L153)* **Parameters:** @@ -2487,7 +2487,7 @@ ___ ▸ **getSmartContractParamsOrThrowAsync**(`quote`: [SwapQuote](#swapquote), `opts`: `Partial`): *`Promise>`* -*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L154)* **Parameters:** @@ -2515,7 +2515,7 @@ networkId: The networkId that the desired orders should be for. • **networkId**: *number* -*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L165)*
@@ -2538,11 +2538,11 @@ Represents the options for executing a swap quote with SwapQuoteConsumer • **ethAmount**? : *`BigNumber`* -*Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[ethAmount](#optional-ethamount)* -*Overrides [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* +*Overrides [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[ethAmount](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L192)* ___ @@ -2550,11 +2550,11 @@ ___ • **feePercentage**: *number* -*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[feePercentage](#feepercentage)* -*Overrides [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* +*Overrides [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[feePercentage](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L190)* ___ @@ -2562,11 +2562,11 @@ ___ • **feeRecipient**: *string* -*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[feeRecipient](#feerecipient)* -*Overrides [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* +*Overrides [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[feeRecipient](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L191)* ___ @@ -2574,9 +2574,9 @@ ___ • **gasLimit**? : *undefined | number* -*Inherited from [SwapQuoteExecutionOptsBase](#optional-gaslimit)* +*Inherited from [SwapQuoteExecutionOptsBase](#interface-swapquoteexecutionoptsbase).[gasLimit](#optional-gaslimit)* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L180)* ___ @@ -2584,9 +2584,9 @@ ___ • **gasPrice**? : *`BigNumber`* -*Inherited from [SwapQuoteExecutionOptsBase](#optional-gasprice)* +*Inherited from [SwapQuoteExecutionOptsBase](#interface-swapquoteexecutionoptsbase).[gasPrice](#optional-gasprice)* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L181)* ___ @@ -2594,11 +2594,11 @@ ___ • **takerAddress**? : *undefined | string* -*Inherited from [SwapQuoteGetOutputOpts](#optional-takeraddress)* +*Inherited from [SwapQuoteGetOutputOpts](#interface-swapquotegetoutputopts).[takerAddress](#optional-takeraddress)* -*Overrides [SwapQuoteExecutionOptsBase](#optional-takeraddress)* +*Overrides [SwapQuoteExecutionOptsBase](#interface-swapquoteexecutionoptsbase).[takerAddress](#optional-takeraddress)* -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L202)* +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L202)* ___ @@ -2606,9 +2606,9 @@ ___ • **useConsumerType**? : *[ConsumerType](#enumeration-consumertype)* -*Inherited from [SwapQuoteGetOutputOpts](#optional-useconsumertype)* +*Inherited from [SwapQuoteGetOutputOpts](#interface-swapquotegetoutputopts).[useConsumerType](#optional-useconsumertype)* -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L203)* +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L203)*
@@ -2633,7 +2633,7 @@ gasPrice: Gas price in Wei to use for a transaction • **gasLimit**? : *undefined | number* -*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L180)* +*Defined in [types.ts:180](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L180)* ___ @@ -2641,7 +2641,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L181)* +*Defined in [types.ts:181](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L181)* ___ @@ -2649,7 +2649,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L179)* +*Defined in [types.ts:179](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L179)*
@@ -2673,9 +2673,9 @@ useConsumerType: If provided, defaults the SwapQuoteConsumer to create output co • **ethAmount**? : *`BigNumber`* -*Inherited from [ForwarderSwapQuoteGetOutputOpts](#optional-ethamount)* +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[ethAmount](#optional-ethamount)* -*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L192)* +*Defined in [types.ts:192](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L192)* ___ @@ -2683,9 +2683,9 @@ ___ • **feePercentage**: *number* -*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feepercentage)* +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[feePercentage](#feepercentage)* -*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L190)* +*Defined in [types.ts:190](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L190)* ___ @@ -2693,9 +2693,9 @@ ___ • **feeRecipient**: *string* -*Inherited from [ForwarderSwapQuoteGetOutputOpts](#feerecipient)* +*Inherited from [ForwarderSwapQuoteGetOutputOpts](#interface-forwarderswapquotegetoutputopts).[feeRecipient](#feerecipient)* -*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L191)* +*Defined in [types.ts:191](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L191)* ___ @@ -2703,7 +2703,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L202)* +*Defined in [types.ts:202](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L202)* ___ @@ -2711,7 +2711,7 @@ ___ • **useConsumerType**? : *[ConsumerType](#enumeration-consumertype)* -*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L203)* +*Defined in [types.ts:203](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L203)*
@@ -2747,7 +2747,7 @@ makerTokenAmount: The amount of makerToken that will be acquired through the swa • **feeTakerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:265](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L265)* +*Defined in [types.ts:265](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L265)* ___ @@ -2755,7 +2755,7 @@ ___ • **makerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:268](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L268)* +*Defined in [types.ts:268](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L268)* ___ @@ -2763,7 +2763,7 @@ ___ • **takerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:267](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L267)* +*Defined in [types.ts:267](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L267)* ___ @@ -2771,7 +2771,7 @@ ___ • **totalTakerTokenAmount**: *`BigNumber`* -*Defined in [types.ts:266](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L266)* +*Defined in [types.ts:266](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L266)*
@@ -2792,7 +2792,7 @@ slippagePercentage: The percentage buffer to add to account for slippage. Affect • **shouldDisableRequestingFeeOrders**: *boolean* -*Defined in [types.ts:278](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L278)* +*Defined in [types.ts:278](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L278)* ___ @@ -2800,7 +2800,7 @@ ___ • **shouldForceOrderRefresh**: *boolean* -*Defined in [types.ts:277](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L277)* +*Defined in [types.ts:277](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L277)* ___ @@ -2808,7 +2808,7 @@ ___ • **slippagePercentage**: *number* -*Defined in [types.ts:279](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L279)* +*Defined in [types.ts:279](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L279)*
@@ -2829,7 +2829,7 @@ expiryBufferMs: The number of seconds to add when calculating whether an order i • **expiryBufferMs**: *number* -*Defined in [types.ts:296](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L296)* +*Defined in [types.ts:296](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L296)* ___ @@ -2837,7 +2837,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:294](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L294)* +*Defined in [types.ts:294](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L294)* ___ @@ -2845,7 +2845,7 @@ ___ • **orderRefreshIntervalMs**: *number* -*Defined in [types.ts:295](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L295)* +*Defined in [types.ts:295](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L295)*
@@ -2866,7 +2866,7 @@ ___ • **feePercentage**: *number* -*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/asset-swapper/src/types.ts#L249)* +*Defined in [types.ts:249](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/asset-swapper/src/types.ts#L249)*
diff --git a/packages/connect/docs/reference.mdx b/packages/connect/docs/reference.mdx index e2934f9c68..f0fef23550 100644 --- a/packages/connect/docs/reference.mdx +++ b/packages/connect/docs/reference.mdx @@ -18,7 +18,7 @@ that implement the standard relayer API v2 \+ **new HttpClient**(`url`: string): *[HttpClient](#class-httpclient)* -*Defined in [http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L44)* +*Defined in [http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/http_client.ts#L44)* Instantiates a new HttpClient instance @@ -38,7 +38,7 @@ An instance of HttpClient ▸ **getAssetPairsAsync**(`requestOpts?`: `RequestOpts` & `AssetPairsRequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L59)* +*Defined in [http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/http_client.ts#L59)* Retrieve assetData pair info from the API @@ -58,7 +58,7 @@ ___ ▸ **getFeeRecipientsAsync**(`requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L160)* +*Defined in [http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/http_client.ts#L160)* Retrieve the list of fee recipient addresses used by the relayer. @@ -78,7 +78,7 @@ ___ ▸ **getOrderAsync**(`orderHash`: string, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L99)* +*Defined in [http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/http_client.ts#L99)* Retrieve a specific order from the API @@ -99,7 +99,7 @@ ___ ▸ **getOrderConfigAsync**(`request`: `OrderConfigRequest`, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L139)* +*Defined in [http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/http_client.ts#L139)* Retrieve fee information from the API @@ -120,7 +120,7 @@ ___ ▸ **getOrderbookAsync**(`request`: `OrderbookRequest`, `requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L117)* +*Defined in [http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/http_client.ts#L117)* Retrieve an orderbook from the API @@ -141,7 +141,7 @@ ___ ▸ **getOrdersAsync**(`requestOpts?`: `RequestOpts` & `OrdersRequestOpts` & `PagedRequestOpts`): *`Promise`* -*Defined in [http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L79)* +*Defined in [http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/http_client.ts#L79)* Retrieve orders from the API @@ -161,7 +161,7 @@ ___ ▸ **submitOrderAsync**(`signedOrder`: `SignedOrder`, `requestOpts?`: `RequestOpts`): *`Promise`* -*Defined in [http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/http_client.ts#L177)* +*Defined in [http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/http_client.ts#L177)* Submit a signed order to the API @@ -196,7 +196,7 @@ that implements the standard relayer API v0 \+ **new WebSocketOrdersChannel**(`client`: `w3cwebsocket`, `handler`: [OrdersChannelHandler](#interface-orderschannelhandler)): *[WebSocketOrdersChannel](#class-websocketorderschannel)* -*Defined in [ws_orders_channel.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/ws_orders_channel.ts#L21)* +*Defined in [ws_orders_channel.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/ws_orders_channel.ts#L21)* Instantiates a new WebSocketOrdersChannel instance @@ -217,7 +217,7 @@ An instance of WebSocketOrdersChannel ▸ **close**(): *void* -*Defined in [ws_orders_channel.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/ws_orders_channel.ts#L66)* +*Defined in [ws_orders_channel.ts:66](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/ws_orders_channel.ts#L66)* Close the websocket and stop receiving updates @@ -229,7 +229,7 @@ ___ ▸ **subscribe**(`subscriptionOpts`: `OrdersChannelSubscriptionOpts`): *void* -*Defined in [ws_orders_channel.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/ws_orders_channel.ts#L50)* +*Defined in [ws_orders_channel.ts:50](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/ws_orders_channel.ts#L50)* Subscribe to orderbook snapshots and updates from the websocket @@ -252,7 +252,7 @@ Name | Type | Description | • **Get**: = "GET" -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L46)* ___ @@ -260,7 +260,7 @@ ___ • **Post**: = "POST" -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L47)*
@@ -281,7 +281,7 @@ ___ • **getAssetPairsAsync**: *function* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L18)* #### Type declaration: @@ -299,7 +299,7 @@ ___ • **getFeeRecipientsAsync**: *function* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L25)* #### Type declaration: @@ -317,7 +317,7 @@ ___ • **getOrderAsync**: *function* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L22)* #### Type declaration: @@ -335,7 +335,7 @@ ___ • **getOrderConfigAsync**: *function* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L24)* #### Type declaration: @@ -353,7 +353,7 @@ ___ • **getOrderbookAsync**: *function* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L23)* #### Type declaration: @@ -372,7 +372,7 @@ ___ • **getOrdersAsync**: *function* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L21)* #### Type declaration: @@ -390,7 +390,7 @@ ___ • **submitOrderAsync**: *function* -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L26)* #### Type declaration: @@ -417,7 +417,7 @@ Name | Type | • **params**? : *undefined | object* -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L41)* ___ @@ -425,7 +425,7 @@ ___ • **payload**? : *undefined | object* -*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L42)*
@@ -446,7 +446,7 @@ ___ • **close**: *function* -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L31)* #### Type declaration: @@ -458,7 +458,7 @@ ___ • **subscribe**: *function* -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L30)* #### Type declaration: @@ -485,7 +485,7 @@ Name | Type | • **onClose**: *function* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L37)* #### Type declaration: @@ -503,7 +503,7 @@ ___ • **onError**: *function* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L36)* #### Type declaration: @@ -523,7 +523,7 @@ ___ • **onUpdate**: *function* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/connect/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/connect/src/types.ts#L35)* #### Type declaration: diff --git a/packages/contract-wrappers/docs/reference.mdx b/packages/contract-wrappers/docs/reference.mdx index fe91e0ef15..bf6bac9daa 100644 --- a/packages/contract-wrappers/docs/reference.mdx +++ b/packages/contract-wrappers/docs/reference.mdx @@ -13,7 +13,7 @@ The ContractWrappers class contains smart contract wrappers helpful when buildin \+ **new ContractWrappers**(`supportedProvider`: `SupportedProvider`, `config`: [ContractWrappersConfig](#interface-contractwrappersconfig)): *[ContractWrappers](#class-contractwrappers)* -*Defined in [contract_wrappers.ts:78](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L78)* +*Defined in [contract_wrappers.ts:78](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L78)* Instantiates a new ContractWrappers instance. @@ -34,7 +34,7 @@ An instance of the ContractWrappers class. • **contractAddresses**: *`ContractAddresses`* -*Defined in [contract_wrappers.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L41)* +*Defined in [contract_wrappers.ts:41](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L41)* An index of the default contract addresses for this network. @@ -44,7 +44,7 @@ ___ • **coordinator**: *[CoordinatorWrapper](#class-coordinatorwrapper)* -*Defined in [contract_wrappers.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L76)* +*Defined in [contract_wrappers.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L76)* An instance of the CoordinatorWrapper class containing methods for interacting with the Coordinator extension contract. @@ -54,7 +54,7 @@ ___ • **dutchAuction**: *`DutchAuctionContract`* -*Defined in [contract_wrappers.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L72)* +*Defined in [contract_wrappers.ts:72](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L72)* An instance of the DutchAuctionContract class containing methods for interacting with any DutchAuction smart contract. @@ -64,7 +64,7 @@ ___ • **erc20Proxy**: *`ERC20ProxyContract`* -*Defined in [contract_wrappers.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L50)* +*Defined in [contract_wrappers.ts:50](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L50)* An instance of the ERC20ProxyContract class containing methods for interacting with the erc20Proxy smart contract. @@ -75,7 +75,7 @@ ___ • **erc721Proxy**: *`ERC721ProxyContract`* -*Defined in [contract_wrappers.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L55)* +*Defined in [contract_wrappers.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L55)* An instance of the ERC721ProxyContract class containing methods for interacting with the erc721Proxy smart contract. @@ -86,7 +86,7 @@ ___ • **exchange**: *`ExchangeContract`* -*Defined in [contract_wrappers.ts:45](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L45)* +*Defined in [contract_wrappers.ts:45](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L45)* An instance of the ExchangeContract class containing methods for interacting with the 0x Exchange smart contract. @@ -96,7 +96,7 @@ ___ • **forwarder**: *`ForwarderContract`* -*Defined in [contract_wrappers.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L64)* +*Defined in [contract_wrappers.ts:64](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L64)* An instance of the ForwarderContract class containing methods for interacting with any Forwarder smart contract. @@ -106,7 +106,7 @@ ___ • **orderValidator**: *`OrderValidatorContract`* -*Defined in [contract_wrappers.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L68)* +*Defined in [contract_wrappers.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L68)* An instance of the OrderValidatorContract class containing methods for interacting with any OrderValidator smart contract. @@ -116,7 +116,7 @@ ___ • **weth9**: *`WETH9Contract`* -*Defined in [contract_wrappers.ts:60](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L60)* +*Defined in [contract_wrappers.ts:60](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L60)* An instance of the WETH9Contract class containing methods for interacting with the WETH9 smart contract. @@ -127,7 +127,7 @@ WETH9 smart contract. ▸ **getAbiDecoder**(): *`AbiDecoder`* -*Defined in [contract_wrappers.ts:147](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L147)* +*Defined in [contract_wrappers.ts:147](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L147)* Get the abi decoder instance currently used by contract-wrappers @@ -141,7 +141,7 @@ ___ ▸ **getProvider**(): *`SupportedProvider`* -*Defined in [contract_wrappers.ts:140](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L140)* +*Defined in [contract_wrappers.ts:140](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L140)* Get the provider instance currently used by contract-wrappers @@ -155,7 +155,7 @@ ___ ▸ **unsubscribeAll**(): *void* -*Defined in [contract_wrappers.ts:130](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/contract_wrappers.ts#L130)* +*Defined in [contract_wrappers.ts:130](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/contract_wrappers.ts#L130)* Unsubscribes from all subscriptions for all contracts. @@ -179,7 +179,7 @@ the 0x V2 Coordinator extension contract. \+ **new CoordinatorWrapper**(`web3Wrapper`: `Web3Wrapper`, `networkId`: number, `address?`: undefined | string, `exchangeAddress?`: undefined | string, `registryAddress?`: undefined | string): *[CoordinatorWrapper](#class-coordinatorwrapper)* -*Defined in [coordinator_wrapper.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L43)* +*Defined in [coordinator_wrapper.ts:43](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L43)* Instantiate CoordinatorWrapper @@ -201,7 +201,7 @@ Name | Type | Description | • **abi**: *`ContractAbi`* = Coordinator.compilerOutput.abi -*Defined in [coordinator_wrapper.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L34)* +*Defined in [coordinator_wrapper.ts:34](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L34)* ___ @@ -209,7 +209,7 @@ ___ • **address**: *string* -*Defined in [coordinator_wrapper.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L36)* +*Defined in [coordinator_wrapper.ts:36](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L36)* ___ @@ -217,7 +217,7 @@ ___ • **exchangeAddress**: *string* -*Defined in [coordinator_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L37)* +*Defined in [coordinator_wrapper.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L37)* ___ @@ -225,7 +225,7 @@ ___ • **networkId**: *number* -*Defined in [coordinator_wrapper.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L35)* +*Defined in [coordinator_wrapper.ts:35](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L35)* ___ @@ -233,7 +233,7 @@ ___ • **registryAddress**: *string* -*Defined in [coordinator_wrapper.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L38)* +*Defined in [coordinator_wrapper.ts:38](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L38)* ### Methods @@ -241,7 +241,7 @@ ___ ▸ **assertValidCoordinatorApprovalsOrThrowAsync**(`transaction`: `ZeroExTransaction`, `txOrigin`: string, `transactionSignature`: string, `approvalExpirationTimeSeconds`: `BigNumber`[], `approvalSignatures`: string[]): *`Promise`* -*Defined in [coordinator_wrapper.ts:637](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L637)* +*Defined in [coordinator_wrapper.ts:637](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L637)* Validates that the 0x transaction has been approved by all of the feeRecipients that correspond to each order in the transaction's Exchange calldata. Throws an error if the transaction approvals are not valid. Will not detect failures that would occur when the transaction is executed on the Exchange contract. @@ -264,7 +264,7 @@ ___ ▸ **batchFillOrKillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L273)* +*Defined in [coordinator_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L273)* Batch version of fillOrKillOrderAsync. Executes multiple fills atomically in a single transaction. @@ -287,7 +287,7 @@ ___ ▸ **batchFillOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:203](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L203)* +*Defined in [coordinator_wrapper.ts:203](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L203)* Batch version of fillOrderAsync. Executes multiple fills atomically in a single transaction. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -315,7 +315,7 @@ ___ ▸ **batchFillOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmounts`: `BigNumber`[], `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:238](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L238)* +*Defined in [coordinator_wrapper.ts:238](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L238)* No throw version of batchFillOrdersAsync @@ -338,7 +338,7 @@ ___ ▸ **batchHardCancelOrdersAsync**(`orders`: `SignedOrder`[], `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L568)* +*Defined in [coordinator_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L568)* Batch version of hardCancelOrderAsync. Cancels orders on-chain by submitting an Ethereum transaction. Executes multiple cancels atomically in a single transaction. @@ -360,7 +360,7 @@ ___ ▸ **batchSoftCancelOrdersAsync**(`orders`: `SignedOrder`[]): *`Promise`* -*Defined in [coordinator_wrapper.ts:482](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L482)* +*Defined in [coordinator_wrapper.ts:482](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L482)* Batch version of softCancelOrderAsync. Requests multiple soft cancels @@ -380,7 +380,7 @@ ___ ▸ **fillOrKillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:166](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L166)* +*Defined in [coordinator_wrapper.ts:166](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L166)* Attempts to fill a specific amount of an order. If the entire amount specified cannot be filled, the fill order is abandoned. @@ -404,7 +404,7 @@ ___ ▸ **fillOrderAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:101](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L101)* +*Defined in [coordinator_wrapper.ts:101](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L101)* Fills a signed order with an amount denominated in baseUnits of the taker asset. Under-the-hood, this method uses the `feeRecipientAddress` of the order to look up the coordinator server endpoint registered in the @@ -431,7 +431,7 @@ ___ ▸ **fillOrderNoThrowAsync**(`signedOrder`: `SignedOrder`, `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:133](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L133)* +*Defined in [coordinator_wrapper.ts:133](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L133)* No-throw version of fillOrderAsync. This version will not throw if the fill fails. This allows the caller to save gas at the expense of not knowing the reason the fill failed. @@ -454,7 +454,7 @@ ___ ▸ **getSignerAddressAsync**(`hash`: string, `signature`: string): *`Promise`* -*Defined in [coordinator_wrapper.ts:669](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L669)* +*Defined in [coordinator_wrapper.ts:669](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L669)* Recovers the address of a signer given a hash and signature. @@ -475,7 +475,7 @@ ___ ▸ **hardCancelOrderAsync**(`order`: `Order` | `SignedOrder`, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:536](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L536)* +*Defined in [coordinator_wrapper.ts:536](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L536)* Cancels an order on-chain by submitting an Ethereum transaction. @@ -496,7 +496,7 @@ ___ ▸ **hardCancelOrdersUpToAsync**(`targetOrderEpoch`: `BigNumber`, `senderAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:603](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L603)* +*Defined in [coordinator_wrapper.ts:603](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L603)* Cancels orders on-chain by submitting an Ethereum transaction. Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch @@ -520,7 +520,7 @@ ___ ▸ **marketBuyOrdersAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:313](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L313)* +*Defined in [coordinator_wrapper.ts:313](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L313)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -548,7 +548,7 @@ ___ ▸ **marketBuyOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `makerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:384](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L384)* +*Defined in [coordinator_wrapper.ts:384](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L384)* No throw version of marketBuyOrdersAsync @@ -571,7 +571,7 @@ ___ ▸ **marketSellOrdersAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:351](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L351)* +*Defined in [coordinator_wrapper.ts:351](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L351)* Synchronously executes multiple calls to fillOrder until total amount of makerAsset is bought by taker. Under-the-hood, this method uses the `feeRecipientAddress`s of the orders to looks up the coordinator server endpoints @@ -599,7 +599,7 @@ ___ ▸ **marketSellOrdersNoThrowAsync**(`signedOrders`: `SignedOrder`[], `takerAssetFillAmount`: `BigNumber`, `takerAddress`: string, `orderTransactionOpts`: [OrderTransactionOpts](#interface-ordertransactionopts)): *`Promise`* -*Defined in [coordinator_wrapper.ts:417](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L417)* +*Defined in [coordinator_wrapper.ts:417](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L417)* No throw version of marketSellOrdersAsync @@ -622,7 +622,7 @@ ___ ▸ **softCancelOrderAsync**(`order`: `Order` | `SignedOrder`): *`Promise`* -*Defined in [coordinator_wrapper.ts:447](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/coordinator_wrapper.ts#L447)* +*Defined in [coordinator_wrapper.ts:447](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/coordinator_wrapper.ts#L447)* Soft cancel a given order. Soft cancels are recorded only on coordinator operator servers and do not involve an Ethereum transaction. @@ -657,7 +657,7 @@ CoordinatorServerCancellationResponse. See [Cancellation Response](https://githu *Overrides void* -*Defined in [generated-wrappers/i_wallet.ts:206](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L206)* +*Defined in [generated-wrappers/i_wallet.ts:206](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L206)* **Parameters:** @@ -716,7 +716,7 @@ ___ ▸ **ABI**(): *`ContractAbi`* -*Defined in [generated-wrappers/i_wallet.ts:179](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L179)* +*Defined in [generated-wrappers/i_wallet.ts:179](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L179)* **Returns:** *`ContractAbi`* @@ -728,7 +728,7 @@ ___ ▸ **deployAsync**(`bytecode`: string, `abi`: `ContractAbi`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* -*Defined in [generated-wrappers/i_wallet.ts:137](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L137)* +*Defined in [generated-wrappers/i_wallet.ts:137](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L137)* **Parameters:** @@ -748,7 +748,7 @@ ___ ▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: `SupportedProvider`, `txDefaults`: `Partial`, `logDecodeDependencies`: object): *`Promise`* -*Defined in [generated-wrappers/i_wallet.ts:112](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L112)* +*Defined in [generated-wrappers/i_wallet.ts:112](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L112)* **Parameters:** @@ -786,7 +786,7 @@ Name | Type | ## ▪ **isValidSignature**: *object* -*Defined in [generated-wrappers/i_wallet.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L33)* +*Defined in [generated-wrappers/i_wallet.ts:33](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L33)* Verifies that a signature is valid. @@ -794,7 +794,7 @@ Verifies that a signature is valid. ▸ **callAsync**(`hash`: string, `signature`: string, `callData`: `Partial`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [generated-wrappers/i_wallet.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L42)* +*Defined in [generated-wrappers/i_wallet.ts:42](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L42)* Sends a read-only call to the contract method. Returns the result that would happen if one were to send an Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas @@ -817,7 +817,7 @@ Magic bytes4 value if the signature is valid. Magic value is bytes4(kecc ▸ **getABIDecodedReturnData**(`returnData`: string): *string* -*Defined in [generated-wrappers/i_wallet.ts:104](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L104)* +*Defined in [generated-wrappers/i_wallet.ts:104](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L104)* **Parameters:** @@ -831,7 +831,7 @@ Name | Type | ▸ **getABIDecodedTransactionData**(`callData`: string): *string* -*Defined in [generated-wrappers/i_wallet.ts:97](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L97)* +*Defined in [generated-wrappers/i_wallet.ts:97](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L97)* **Parameters:** @@ -845,7 +845,7 @@ Name | Type | ▸ **getABIEncodedTransactionData**(`hash`: string, `signature`: string): *string* -*Defined in [generated-wrappers/i_wallet.ts:87](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L87)* +*Defined in [generated-wrappers/i_wallet.ts:87](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/generated-wrappers/i_wallet.ts#L87)* Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used @@ -877,7 +877,7 @@ Name | Type | Description | \+ **new CoordinatorServerError**(`message`: [CoordinatorServerErrorMsg](#enumeration-coordinatorservererrormsg), `approvedOrders`: `SignedOrder`[], `cancellations`: [CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[], `errors`: [CoordinatorServerResponse](#interface-coordinatorserverresponse)[]): *[CoordinatorServerError](#class-coordinatorservererror)* -*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* **Parameters:** @@ -896,7 +896,7 @@ Name | Type | • **approvedOrders**? : *`SignedOrder`[]* = [] -*Defined in [utils/coordinator_server_types.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L41)* +*Defined in [utils/coordinator_server_types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L41)* ___ @@ -904,7 +904,7 @@ ___ • **cancellations**? : *[CoordinatorServerCancellationResponse](#interface-coordinatorservercancellationresponse)[]* = [] -*Defined in [utils/coordinator_server_types.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L42)* +*Defined in [utils/coordinator_server_types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L42)* ___ @@ -912,7 +912,7 @@ ___ • **errors**: *[CoordinatorServerResponse](#interface-coordinatorserverresponse)[]* -*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* +*Defined in [utils/coordinator_server_types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L43)* ___ @@ -922,7 +922,7 @@ ___ *Overrides void* -*Defined in [utils/coordinator_server_types.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L40)* +*Defined in [utils/coordinator_server_types.ts:40](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L40)* ___ @@ -965,7 +965,7 @@ ___ • **ContractNotDeployedOnNetwork**: = "CONTRACT_NOT_DEPLOYED_ON_NETWORK" -*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L32)* ___ @@ -973,7 +973,7 @@ ___ • **ERC721NoApproval**: = "ERC_721_NO_APPROVAL" -*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L42)* ___ @@ -981,7 +981,7 @@ ___ • **ERC721OwnerNotFound**: = "ERC_721_OWNER_NOT_FOUND" -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L41)* ___ @@ -989,7 +989,7 @@ ___ • **InsufficientAllowanceForTransfer**: = "INSUFFICIENT_ALLOWANCE_FOR_TRANSFER" -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L33)* ___ @@ -997,7 +997,7 @@ ___ • **InsufficientBalanceForTransfer**: = "INSUFFICIENT_BALANCE_FOR_TRANSFER" -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L34)* ___ @@ -1005,7 +1005,7 @@ ___ • **InsufficientEthBalanceForDeposit**: = "INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT" -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L35)* ___ @@ -1013,7 +1013,7 @@ ___ • **InsufficientWEthBalanceForWithdrawal**: = "INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL" -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L36)* ___ @@ -1021,7 +1021,7 @@ ___ • **InvalidJump**: = "INVALID_JUMP" -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L37)* ___ @@ -1029,7 +1029,7 @@ ___ • **OutOfGas**: = "OUT_OF_GAS" -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L38)* ___ @@ -1037,7 +1037,7 @@ ___ • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L43)* +*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L43)* ___ @@ -1045,7 +1045,7 @@ ___ • **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" -*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L40)* +*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L40)* ___ @@ -1053,7 +1053,7 @@ ___ • **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L39)*
@@ -1066,7 +1066,7 @@ ___ • **CompleteFillFailed**: = "COMPLETE_FILL_FAILED" -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L28)*
@@ -1079,7 +1079,7 @@ ___ • **Cancelled**: -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L91)* ___ @@ -1087,7 +1087,7 @@ ___ • **Expired**: -*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L89)* +*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L89)* ___ @@ -1095,7 +1095,7 @@ ___ • **Fillable**: -*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L88)* +*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L88)* ___ @@ -1103,7 +1103,7 @@ ___ • **FullyFilled**: -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L90)* ___ @@ -1111,7 +1111,7 @@ ___ • **Invalid**: = 0 -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L85)* ___ @@ -1119,7 +1119,7 @@ ___ • **InvalidMakerAssetAmount**: -*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L86)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L86)* ___ @@ -1127,7 +1127,7 @@ ___ • **InvalidTakerAssetAmount**: -*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L87)* +*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L87)*
@@ -1140,7 +1140,7 @@ ___ • **CancellationFailed**: = "Failed to cancel with some coordinator server(s). See errors for more info. See cancellations for successful cancellations." -*Defined in [utils/coordinator_server_types.ts:59](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L59)* +*Defined in [utils/coordinator_server_types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L59)* ___ @@ -1148,7 +1148,7 @@ ___ • **FillFailed**: = "Failed to obtain approval signatures from some coordinator server(s). See errors for more info. Current transaction has been abandoned but you may resubmit with only approvedOrders (a new ZeroEx transaction will have to be signed)." -*Defined in [utils/coordinator_server_types.ts:60](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L60)* +*Defined in [utils/coordinator_server_types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L60)*
@@ -1161,7 +1161,7 @@ ___ • **ContractNotDeployedOnNetwork**: = "CONTRACT_NOT_DEPLOYED_ON_NETWORK" -*Defined in [utils/decorators.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L4)* +*Defined in [utils/decorators.ts:4](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L4)* ___ @@ -1169,7 +1169,7 @@ ___ • **ERC721NoApproval**: = "ERC_721_NO_APPROVAL" -*Defined in [utils/decorators.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L14)* +*Defined in [utils/decorators.ts:14](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L14)* ___ @@ -1177,7 +1177,7 @@ ___ • **ERC721OwnerNotFound**: = "ERC_721_OWNER_NOT_FOUND" -*Defined in [utils/decorators.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L13)* +*Defined in [utils/decorators.ts:13](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L13)* ___ @@ -1185,7 +1185,7 @@ ___ • **InsufficientAllowanceForTransfer**: = "INSUFFICIENT_ALLOWANCE_FOR_TRANSFER" -*Defined in [utils/decorators.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L5)* +*Defined in [utils/decorators.ts:5](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L5)* ___ @@ -1193,7 +1193,7 @@ ___ • **InsufficientBalanceForTransfer**: = "INSUFFICIENT_BALANCE_FOR_TRANSFER" -*Defined in [utils/decorators.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L6)* +*Defined in [utils/decorators.ts:6](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L6)* ___ @@ -1201,7 +1201,7 @@ ___ • **InsufficientEthBalanceForDeposit**: = "INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT" -*Defined in [utils/decorators.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L7)* +*Defined in [utils/decorators.ts:7](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L7)* ___ @@ -1209,7 +1209,7 @@ ___ • **InsufficientWEthBalanceForWithdrawal**: = "INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL" -*Defined in [utils/decorators.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L8)* +*Defined in [utils/decorators.ts:8](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L8)* ___ @@ -1217,7 +1217,7 @@ ___ • **InvalidJump**: = "INVALID_JUMP" -*Defined in [utils/decorators.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L9)* +*Defined in [utils/decorators.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L9)* ___ @@ -1225,7 +1225,7 @@ ___ • **OutOfGas**: = "OUT_OF_GAS" -*Defined in [utils/decorators.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L10)* +*Defined in [utils/decorators.ts:10](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L10)* ___ @@ -1233,7 +1233,7 @@ ___ • **SignatureRequestDenied**: = "SIGNATURE_REQUEST_DENIED" -*Defined in [utils/decorators.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L15)* +*Defined in [utils/decorators.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L15)* ___ @@ -1241,7 +1241,7 @@ ___ • **SubscriptionAlreadyPresent**: = "SUBSCRIPTION_ALREADY_PRESENT" -*Defined in [utils/decorators.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L12)* +*Defined in [utils/decorators.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L12)* ___ @@ -1249,7 +1249,7 @@ ___ • **SubscriptionNotFound**: = "SUBSCRIPTION_NOT_FOUND" -*Defined in [utils/decorators.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/decorators.ts#L11)* +*Defined in [utils/decorators.ts:11](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/decorators.ts#L11)*
@@ -1271,7 +1271,7 @@ blockPollingIntervalMs: The interval to use for block polling in event watching • **blockPollingIntervalMs**? : *undefined | number* -*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L56)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L56)* ___ @@ -1279,7 +1279,7 @@ ___ • **contractAddresses**? : *`ContractAddresses`* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L55)* ___ @@ -1287,7 +1287,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L54)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L54)* ___ @@ -1295,7 +1295,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L53)*
@@ -1312,7 +1312,7 @@ ___ • **data**: *string* -*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L115)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L115)* ___ @@ -1320,7 +1320,7 @@ ___ • **salt**: *`BigNumber`* -*Defined in [types.ts:113](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L113)* +*Defined in [types.ts:113](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L113)* ___ @@ -1328,7 +1328,7 @@ ___ • **signerAddress**: *string* -*Defined in [types.ts:114](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L114)* +*Defined in [types.ts:114](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L114)*
@@ -1349,7 +1349,7 @@ ___ • **isRemoved**: *boolean* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L7)* ___ @@ -1357,7 +1357,7 @@ ___ • **log**: *`LogWithDecodedArgs`* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L8)*
@@ -1379,7 +1379,7 @@ ___ • **orderInfo**: *[OrderInfo](#interface-orderinfo)* -*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L106)* +*Defined in [types.ts:106](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L106)* ___ @@ -1387,7 +1387,7 @@ ___ • **traderInfo**: *[TraderInfo](#interface-traderinfo)* -*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L107)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L107)*
@@ -1404,7 +1404,7 @@ ___ • **orderHash**: *string* -*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L80)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L80)* ___ @@ -1412,7 +1412,7 @@ ___ • **orderStatus**: *[OrderStatus](#enumeration-orderstatus)* -*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L79)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L79)* ___ @@ -1420,7 +1420,7 @@ ___ • **orderTakerAssetFilledAmount**: *`BigNumber`* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L81)*
@@ -1442,9 +1442,9 @@ broadcasting it. For example, order has a valid signature, maker has sufficient • **gasLimit**? : *undefined | number* -*Inherited from [TransactionOpts](#optional-gaslimit)* +*Inherited from [TransactionOpts](#interface-transactionopts).[gasLimit](#optional-gaslimit)* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L66)* ___ @@ -1452,9 +1452,9 @@ ___ • **gasPrice**? : *`BigNumber`* -*Inherited from [TransactionOpts](#optional-gasprice)* +*Inherited from [TransactionOpts](#interface-transactionopts).[gasPrice](#optional-gasprice)* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L65)* ___ @@ -1462,9 +1462,9 @@ ___ • **nonce**? : *undefined | number* -*Inherited from [TransactionOpts](#optional-nonce)* +*Inherited from [TransactionOpts](#interface-transactionopts).[nonce](#optional-nonce)* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L67)* ___ @@ -1472,7 +1472,7 @@ ___ • **shouldValidate**? : *undefined | false | true* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L75)*
@@ -1489,7 +1489,7 @@ ___ • **makerAllowance**: *`BigNumber`* -*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L96)* +*Defined in [types.ts:96](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L96)* ___ @@ -1497,7 +1497,7 @@ ___ • **makerBalance**: *`BigNumber`* -*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L95)* +*Defined in [types.ts:95](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L95)* ___ @@ -1505,7 +1505,7 @@ ___ • **makerZrxAllowance**: *`BigNumber`* -*Defined in [types.ts:100](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L100)* +*Defined in [types.ts:100](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L100)* ___ @@ -1513,7 +1513,7 @@ ___ • **makerZrxBalance**: *`BigNumber`* -*Defined in [types.ts:99](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L99)* +*Defined in [types.ts:99](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L99)* ___ @@ -1521,7 +1521,7 @@ ___ • **takerAllowance**: *`BigNumber`* -*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L98)* +*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L98)* ___ @@ -1529,7 +1529,7 @@ ___ • **takerBalance**: *`BigNumber`* -*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L97)* +*Defined in [types.ts:97](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L97)* ___ @@ -1537,7 +1537,7 @@ ___ • **takerZrxAllowance**: *`BigNumber`* -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L102)* ___ @@ -1545,7 +1545,7 @@ ___ • **takerZrxBalance**: *`BigNumber`* -*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L101)* +*Defined in [types.ts:101](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L101)*
@@ -1568,7 +1568,7 @@ nonce: The nonce to use for a transaction. If not specified, it defaults to the • **gasLimit**? : *undefined | number* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L66)* ___ @@ -1576,7 +1576,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L65)* ___ @@ -1584,7 +1584,7 @@ ___ • **nonce**? : *undefined | number* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L67)*
@@ -1601,7 +1601,7 @@ ___ • **from**: *string* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L17)* ___ @@ -1609,7 +1609,7 @@ ___ • **gas**? : *undefined | number* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L18)* ___ @@ -1617,7 +1617,7 @@ ___ • **gasPrice**? : *`BigNumber`* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L20)* ___ @@ -1625,7 +1625,7 @@ ___ • **value**? : *`BigNumber`* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/types.ts#L19)*
@@ -1642,7 +1642,7 @@ ___ • **approvalSignatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L19)* +*Defined in [utils/coordinator_server_types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L19)* ___ @@ -1650,7 +1650,7 @@ ___ • **expirationTimeSeconds**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L20)* +*Defined in [utils/coordinator_server_types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L20)* ___ @@ -1658,7 +1658,7 @@ ___ • **orderHash**: *string* -*Defined in [utils/coordinator_server_types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L18)* +*Defined in [utils/coordinator_server_types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L18)* ___ @@ -1666,7 +1666,7 @@ ___ • **takerAssetFillAmount**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L21)* +*Defined in [utils/coordinator_server_types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L21)*
@@ -1683,7 +1683,7 @@ ___ • **expirationTimeSeconds**: *`BigNumber`* -*Defined in [utils/coordinator_server_types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L10)* +*Defined in [utils/coordinator_server_types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L10)* ___ @@ -1691,7 +1691,7 @@ ___ • **signatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L9)* +*Defined in [utils/coordinator_server_types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L9)*
@@ -1708,7 +1708,7 @@ ___ • **expirationTimeSeconds**: *`BigNumber`[]* -*Defined in [utils/coordinator_server_types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L6)* +*Defined in [utils/coordinator_server_types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L6)* ___ @@ -1716,7 +1716,7 @@ ___ • **signatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L5)* +*Defined in [utils/coordinator_server_types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L5)*
@@ -1733,7 +1733,7 @@ ___ • **cancellationSignatures**: *string[]* -*Defined in [utils/coordinator_server_types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L15)* +*Defined in [utils/coordinator_server_types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L15)* ___ @@ -1741,7 +1741,7 @@ ___ • **outstandingFillSignatures**: *[CoordinatorOutstandingFillSignatures](#class-coordinatoroutstandingfillsignatures)[]* -*Defined in [utils/coordinator_server_types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L14)* +*Defined in [utils/coordinator_server_types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L14)*
@@ -1758,7 +1758,7 @@ ___ • **signedTransaction**: *`SignedZeroExTransaction`* -*Defined in [utils/coordinator_server_types.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L35)* +*Defined in [utils/coordinator_server_types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L35)* ___ @@ -1766,7 +1766,7 @@ ___ • **txOrigin**: *string* -*Defined in [utils/coordinator_server_types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L36)* +*Defined in [utils/coordinator_server_types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L36)*
@@ -1783,7 +1783,7 @@ ___ • **body**? : *[CoordinatorServerCancellationResponse](_utils_coordinator_server_types_.coordinatorservercancellationresponse.md) | [CoordinatorServerApprovalRawResponse](#class-coordinatorserverapprovalrawresponse)* -*Defined in [utils/coordinator_server_types.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L27)* +*Defined in [utils/coordinator_server_types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L27)* ___ @@ -1791,7 +1791,7 @@ ___ • **coordinatorOperator**: *string* -*Defined in [utils/coordinator_server_types.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L30)* +*Defined in [utils/coordinator_server_types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L30)* ___ @@ -1799,7 +1799,7 @@ ___ • **error**? : *any* -*Defined in [utils/coordinator_server_types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L28)* +*Defined in [utils/coordinator_server_types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L28)* ___ @@ -1807,7 +1807,7 @@ ___ • **isError**: *boolean* -*Defined in [utils/coordinator_server_types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L25)* +*Defined in [utils/coordinator_server_types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L25)* ___ @@ -1815,7 +1815,7 @@ ___ • **orders**? : *`Array`* -*Defined in [utils/coordinator_server_types.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L31)* +*Defined in [utils/coordinator_server_types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L31)* ___ @@ -1823,7 +1823,7 @@ ___ • **request**: *[CoordinatorServerRequest](#class-coordinatorserverrequest)* -*Defined in [utils/coordinator_server_types.ts:29](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L29)* +*Defined in [utils/coordinator_server_types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L29)* ___ @@ -1831,7 +1831,7 @@ ___ • **status**: *number* -*Defined in [utils/coordinator_server_types.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L26)* +*Defined in [utils/coordinator_server_types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/contract-wrappers/src/utils/coordinator_server_types.ts#L26)*
diff --git a/packages/ethereum-types/docs/reference.mdx b/packages/ethereum-types/docs/reference.mdx index 5cf5c69b3a..bc90e24c59 100644 --- a/packages/ethereum-types/docs/reference.mdx +++ b/packages/ethereum-types/docs/reference.mdx @@ -7,7 +7,7 @@ • **Constructor**: = "constructor" -*Defined in [index.ts:455](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L455)* +*Defined in [index.ts:455](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L455)* ___ @@ -15,7 +15,7 @@ ___ • **Event**: = "event" -*Defined in [index.ts:456](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L456)* +*Defined in [index.ts:456](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L456)* ___ @@ -23,7 +23,7 @@ ___ • **Fallback**: = "fallback" -*Defined in [index.ts:457](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L457)* +*Defined in [index.ts:457](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L457)* ___ @@ -31,7 +31,7 @@ ___ • **Function**: = "function" -*Defined in [index.ts:454](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L454)* +*Defined in [index.ts:454](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L454)*
@@ -44,7 +44,7 @@ ___ • **Earliest**: = "earliest" -*Defined in [index.ts:470](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L470)* +*Defined in [index.ts:470](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L470)* ___ @@ -52,7 +52,7 @@ ___ • **Latest**: = "latest" -*Defined in [index.ts:471](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L471)* +*Defined in [index.ts:471](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L471)* ___ @@ -60,7 +60,7 @@ ___ • **Pending**: = "pending" -*Defined in [index.ts:472](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L472)* +*Defined in [index.ts:472](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L472)*
@@ -73,7 +73,7 @@ ___ • **Add**: = "ADD" -*Defined in [index.ts:141](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L141)* +*Defined in [index.ts:141](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L141)* ___ @@ -81,7 +81,7 @@ ___ • **AddMod**: = "ADDMOD" -*Defined in [index.ts:148](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L148)* +*Defined in [index.ts:148](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L148)* ___ @@ -89,7 +89,7 @@ ___ • **Address**: = "ADDRESS" -*Defined in [index.ts:167](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L167)* +*Defined in [index.ts:167](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L167)* ___ @@ -97,7 +97,7 @@ ___ • **And**: = "AND" -*Defined in [index.ts:159](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L159)* +*Defined in [index.ts:159](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L159)* ___ @@ -105,7 +105,7 @@ ___ • **Balance**: = "BALANCE" -*Defined in [index.ts:168](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L168)* +*Defined in [index.ts:168](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L168)* ___ @@ -113,7 +113,7 @@ ___ • **BlockHash**: = "BLOCKHASH" -*Defined in [index.ts:183](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L183)* +*Defined in [index.ts:183](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L183)* ___ @@ -121,7 +121,7 @@ ___ • **Byte**: = "BYTE" -*Defined in [index.ts:163](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L163)* +*Defined in [index.ts:163](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L163)* ___ @@ -129,7 +129,7 @@ ___ • **Call**: = "CALL" -*Defined in [index.ts:276](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L276)* +*Defined in [index.ts:276](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L276)* ___ @@ -137,7 +137,7 @@ ___ • **CallCode**: = "CALLCODE" -*Defined in [index.ts:277](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L277)* +*Defined in [index.ts:277](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L277)* ___ @@ -145,7 +145,7 @@ ___ • **CallDataCopy**: = "CALLDATACOPY" -*Defined in [index.ts:174](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L174)* +*Defined in [index.ts:174](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L174)* ___ @@ -153,7 +153,7 @@ ___ • **CallDataLoad**: = "CALLDATALOAD" -*Defined in [index.ts:172](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L172)* +*Defined in [index.ts:172](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L172)* ___ @@ -161,7 +161,7 @@ ___ • **CallDataSize**: = "CALLDATASIZE" -*Defined in [index.ts:173](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L173)* +*Defined in [index.ts:173](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L173)* ___ @@ -169,7 +169,7 @@ ___ • **CallValue**: = "CALLVALUE" -*Defined in [index.ts:171](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L171)* +*Defined in [index.ts:171](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L171)* ___ @@ -177,7 +177,7 @@ ___ • **Caller**: = "CALLER" -*Defined in [index.ts:170](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L170)* +*Defined in [index.ts:170](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L170)* ___ @@ -185,7 +185,7 @@ ___ • **CodeCopy**: = "CODECOPY" -*Defined in [index.ts:176](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L176)* +*Defined in [index.ts:176](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L176)* ___ @@ -193,7 +193,7 @@ ___ • **CodeSize**: = "CODESIZE" -*Defined in [index.ts:175](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L175)* +*Defined in [index.ts:175](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L175)* ___ @@ -201,7 +201,7 @@ ___ • **Coinbase**: = "COINBASE" -*Defined in [index.ts:184](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L184)* +*Defined in [index.ts:184](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L184)* ___ @@ -209,7 +209,7 @@ ___ • **Create**: = "CREATE" -*Defined in [index.ts:275](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L275)* +*Defined in [index.ts:275](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L275)* ___ @@ -217,7 +217,7 @@ ___ • **DelegateCall**: = "DELEGATECALL" -*Defined in [index.ts:279](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L279)* +*Defined in [index.ts:279](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L279)* ___ @@ -225,7 +225,7 @@ ___ • **Difficulty**: = "DIFFICULTY" -*Defined in [index.ts:187](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L187)* +*Defined in [index.ts:187](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L187)* ___ @@ -233,7 +233,7 @@ ___ • **Div**: = "DIV" -*Defined in [index.ts:144](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L144)* +*Defined in [index.ts:144](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L144)* ___ @@ -241,7 +241,7 @@ ___ • **Dup1**: = "DUP1" -*Defined in [index.ts:236](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L236)* +*Defined in [index.ts:236](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L236)* ___ @@ -249,7 +249,7 @@ ___ • **Dup10**: = "DUP10" -*Defined in [index.ts:245](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L245)* +*Defined in [index.ts:245](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L245)* ___ @@ -257,7 +257,7 @@ ___ • **Dup11**: = "DUP11" -*Defined in [index.ts:246](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L246)* +*Defined in [index.ts:246](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L246)* ___ @@ -265,7 +265,7 @@ ___ • **Dup12**: = "DUP12" -*Defined in [index.ts:247](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L247)* +*Defined in [index.ts:247](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L247)* ___ @@ -273,7 +273,7 @@ ___ • **Dup13**: = "DUP13" -*Defined in [index.ts:248](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L248)* +*Defined in [index.ts:248](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L248)* ___ @@ -281,7 +281,7 @@ ___ • **Dup14**: = "DUP14" -*Defined in [index.ts:249](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L249)* +*Defined in [index.ts:249](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L249)* ___ @@ -289,7 +289,7 @@ ___ • **Dup15**: = "DUP15" -*Defined in [index.ts:250](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L250)* +*Defined in [index.ts:250](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L250)* ___ @@ -297,7 +297,7 @@ ___ • **Dup16**: = "DUP16" -*Defined in [index.ts:251](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L251)* +*Defined in [index.ts:251](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L251)* ___ @@ -305,7 +305,7 @@ ___ • **Dup2**: = "DUP2" -*Defined in [index.ts:237](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L237)* +*Defined in [index.ts:237](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L237)* ___ @@ -313,7 +313,7 @@ ___ • **Dup3**: = "DUP3" -*Defined in [index.ts:238](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L238)* +*Defined in [index.ts:238](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L238)* ___ @@ -321,7 +321,7 @@ ___ • **Dup4**: = "DUP4" -*Defined in [index.ts:239](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L239)* +*Defined in [index.ts:239](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L239)* ___ @@ -329,7 +329,7 @@ ___ • **Dup5**: = "DUP5" -*Defined in [index.ts:240](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L240)* +*Defined in [index.ts:240](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L240)* ___ @@ -337,7 +337,7 @@ ___ • **Dup6**: = "DUP6" -*Defined in [index.ts:241](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L241)* +*Defined in [index.ts:241](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L241)* ___ @@ -345,7 +345,7 @@ ___ • **Dup7**: = "DUP7" -*Defined in [index.ts:242](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L242)* +*Defined in [index.ts:242](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L242)* ___ @@ -353,7 +353,7 @@ ___ • **Dup8**: = "DUP8" -*Defined in [index.ts:243](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L243)* +*Defined in [index.ts:243](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L243)* ___ @@ -361,7 +361,7 @@ ___ • **Dup9**: = "DUP9" -*Defined in [index.ts:244](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L244)* +*Defined in [index.ts:244](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L244)* ___ @@ -369,7 +369,7 @@ ___ • **Eq**: = "EQ" -*Defined in [index.ts:157](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L157)* +*Defined in [index.ts:157](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L157)* ___ @@ -377,7 +377,7 @@ ___ • **Exp**: = "EXP" -*Defined in [index.ts:150](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L150)* +*Defined in [index.ts:150](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L150)* ___ @@ -385,7 +385,7 @@ ___ • **ExtCodeCopy**: = "EXTCODECOPY" -*Defined in [index.ts:179](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L179)* +*Defined in [index.ts:179](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L179)* ___ @@ -393,7 +393,7 @@ ___ • **ExtCodeSize**: = "EXTCODESIZE" -*Defined in [index.ts:178](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L178)* +*Defined in [index.ts:178](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L178)* ___ @@ -401,7 +401,7 @@ ___ • **Gas**: = "GAS" -*Defined in [index.ts:200](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L200)* +*Defined in [index.ts:200](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L200)* ___ @@ -409,7 +409,7 @@ ___ • **GasPrice**: = "GASPRICE" -*Defined in [index.ts:177](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L177)* +*Defined in [index.ts:177](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L177)* ___ @@ -417,7 +417,7 @@ ___ • **Gaslimit**: = "GASLIMIT" -*Defined in [index.ts:188](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L188)* +*Defined in [index.ts:188](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L188)* ___ @@ -425,7 +425,7 @@ ___ • **Gt**: = "GT" -*Defined in [index.ts:154](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L154)* +*Defined in [index.ts:154](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L154)* ___ @@ -433,7 +433,7 @@ ___ • **Invalid**: = "INVALID" -*Defined in [index.ts:282](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L282)* +*Defined in [index.ts:282](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L282)* ___ @@ -441,7 +441,7 @@ ___ • **IsZero**: = "ISZERO" -*Defined in [index.ts:158](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L158)* +*Defined in [index.ts:158](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L158)* ___ @@ -449,7 +449,7 @@ ___ • **Jump**: = "JUMP" -*Defined in [index.ts:196](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L196)* +*Defined in [index.ts:196](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L196)* ___ @@ -457,7 +457,7 @@ ___ • **JumpDest**: = "JUMPDEST" -*Defined in [index.ts:201](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L201)* +*Defined in [index.ts:201](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L201)* ___ @@ -465,7 +465,7 @@ ___ • **Jumpi**: = "JUMPI" -*Defined in [index.ts:197](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L197)* +*Defined in [index.ts:197](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L197)* ___ @@ -473,7 +473,7 @@ ___ • **Log1**: = "LOG1" -*Defined in [index.ts:270](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L270)* +*Defined in [index.ts:270](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L270)* ___ @@ -481,7 +481,7 @@ ___ • **Log2**: = "LOG2" -*Defined in [index.ts:271](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L271)* +*Defined in [index.ts:271](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L271)* ___ @@ -489,7 +489,7 @@ ___ • **Log3**: = "LOG3" -*Defined in [index.ts:272](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L272)* +*Defined in [index.ts:272](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L272)* ___ @@ -497,7 +497,7 @@ ___ • **Log4**: = "LOG4" -*Defined in [index.ts:273](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L273)* +*Defined in [index.ts:273](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L273)* ___ @@ -505,7 +505,7 @@ ___ • **Lt**: = "LT" -*Defined in [index.ts:153](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L153)* +*Defined in [index.ts:153](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L153)* ___ @@ -513,7 +513,7 @@ ___ • **MLoad**: = "MLOAD" -*Defined in [index.ts:191](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L191)* +*Defined in [index.ts:191](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L191)* ___ @@ -521,7 +521,7 @@ ___ • **MSize**: = "MSIZE" -*Defined in [index.ts:199](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L199)* +*Defined in [index.ts:199](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L199)* ___ @@ -529,7 +529,7 @@ ___ • **MStore**: = "MSTORE" -*Defined in [index.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L192)* +*Defined in [index.ts:192](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L192)* ___ @@ -537,7 +537,7 @@ ___ • **MStore8**: = "MSTORE8" -*Defined in [index.ts:193](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L193)* +*Defined in [index.ts:193](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L193)* ___ @@ -545,7 +545,7 @@ ___ • **Mod**: = "MOD" -*Defined in [index.ts:146](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L146)* +*Defined in [index.ts:146](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L146)* ___ @@ -553,7 +553,7 @@ ___ • **Mul**: = "MUL" -*Defined in [index.ts:142](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L142)* +*Defined in [index.ts:142](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L142)* ___ @@ -561,7 +561,7 @@ ___ • **MulMod**: = "MULMOD" -*Defined in [index.ts:149](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L149)* +*Defined in [index.ts:149](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L149)* ___ @@ -569,7 +569,7 @@ ___ • **Not**: = "NOT" -*Defined in [index.ts:162](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L162)* +*Defined in [index.ts:162](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L162)* ___ @@ -577,7 +577,7 @@ ___ • **Number**: = "NUMBER" -*Defined in [index.ts:186](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L186)* +*Defined in [index.ts:186](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L186)* ___ @@ -585,7 +585,7 @@ ___ • **Or**: = "OR" -*Defined in [index.ts:160](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L160)* +*Defined in [index.ts:160](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L160)* ___ @@ -593,7 +593,7 @@ ___ • **Origin**: = "ORIGIN" -*Defined in [index.ts:169](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L169)* +*Defined in [index.ts:169](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L169)* ___ @@ -601,7 +601,7 @@ ___ • **Pc**: = "PC" -*Defined in [index.ts:198](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L198)* +*Defined in [index.ts:198](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L198)* ___ @@ -609,7 +609,7 @@ ___ • **Pop**: = "POP" -*Defined in [index.ts:190](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L190)* +*Defined in [index.ts:190](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L190)* ___ @@ -617,7 +617,7 @@ ___ • **Push1**: = "PUSH1" -*Defined in [index.ts:203](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L203)* +*Defined in [index.ts:203](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L203)* ___ @@ -625,7 +625,7 @@ ___ • **Push10**: = "PUSH10" -*Defined in [index.ts:212](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L212)* +*Defined in [index.ts:212](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L212)* ___ @@ -633,7 +633,7 @@ ___ • **Push11**: = "PUSH11" -*Defined in [index.ts:213](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L213)* +*Defined in [index.ts:213](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L213)* ___ @@ -641,7 +641,7 @@ ___ • **Push12**: = "PUSH12" -*Defined in [index.ts:214](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L214)* +*Defined in [index.ts:214](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L214)* ___ @@ -649,7 +649,7 @@ ___ • **Push13**: = "PUSH13" -*Defined in [index.ts:215](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L215)* +*Defined in [index.ts:215](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L215)* ___ @@ -657,7 +657,7 @@ ___ • **Push14**: = "PUSH14" -*Defined in [index.ts:216](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L216)* +*Defined in [index.ts:216](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L216)* ___ @@ -665,7 +665,7 @@ ___ • **Push15**: = "PUSH15" -*Defined in [index.ts:217](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L217)* +*Defined in [index.ts:217](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L217)* ___ @@ -673,7 +673,7 @@ ___ • **Push16**: = "PUSH16" -*Defined in [index.ts:218](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L218)* +*Defined in [index.ts:218](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L218)* ___ @@ -681,7 +681,7 @@ ___ • **Push17**: = "PUSH17" -*Defined in [index.ts:219](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L219)* +*Defined in [index.ts:219](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L219)* ___ @@ -689,7 +689,7 @@ ___ • **Push18**: = "PUSH18" -*Defined in [index.ts:220](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L220)* +*Defined in [index.ts:220](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L220)* ___ @@ -697,7 +697,7 @@ ___ • **Push19**: = "PUSH19" -*Defined in [index.ts:221](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L221)* +*Defined in [index.ts:221](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L221)* ___ @@ -705,7 +705,7 @@ ___ • **Push2**: = "PUSH2" -*Defined in [index.ts:204](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L204)* +*Defined in [index.ts:204](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L204)* ___ @@ -713,7 +713,7 @@ ___ • **Push20**: = "PUSH20" -*Defined in [index.ts:222](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L222)* +*Defined in [index.ts:222](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L222)* ___ @@ -721,7 +721,7 @@ ___ • **Push21**: = "PUSH21" -*Defined in [index.ts:223](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L223)* +*Defined in [index.ts:223](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L223)* ___ @@ -729,7 +729,7 @@ ___ • **Push22**: = "PUSH22" -*Defined in [index.ts:224](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L224)* +*Defined in [index.ts:224](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L224)* ___ @@ -737,7 +737,7 @@ ___ • **Push23**: = "PUSH23" -*Defined in [index.ts:225](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L225)* +*Defined in [index.ts:225](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L225)* ___ @@ -745,7 +745,7 @@ ___ • **Push24**: = "PUSH24" -*Defined in [index.ts:226](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L226)* +*Defined in [index.ts:226](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L226)* ___ @@ -753,7 +753,7 @@ ___ • **Push25**: = "PUSH25" -*Defined in [index.ts:227](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L227)* +*Defined in [index.ts:227](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L227)* ___ @@ -761,7 +761,7 @@ ___ • **Push26**: = "PUSH26" -*Defined in [index.ts:228](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L228)* +*Defined in [index.ts:228](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L228)* ___ @@ -769,7 +769,7 @@ ___ • **Push27**: = "PUSH27" -*Defined in [index.ts:229](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L229)* +*Defined in [index.ts:229](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L229)* ___ @@ -777,7 +777,7 @@ ___ • **Push28**: = "PUSH28" -*Defined in [index.ts:230](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L230)* +*Defined in [index.ts:230](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L230)* ___ @@ -785,7 +785,7 @@ ___ • **Push29**: = "PUSH29" -*Defined in [index.ts:231](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L231)* +*Defined in [index.ts:231](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L231)* ___ @@ -793,7 +793,7 @@ ___ • **Push3**: = "PUSH3" -*Defined in [index.ts:205](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L205)* +*Defined in [index.ts:205](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L205)* ___ @@ -801,7 +801,7 @@ ___ • **Push30**: = "PUSH30" -*Defined in [index.ts:232](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L232)* +*Defined in [index.ts:232](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L232)* ___ @@ -809,7 +809,7 @@ ___ • **Push31**: = "PUSH31" -*Defined in [index.ts:233](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L233)* +*Defined in [index.ts:233](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L233)* ___ @@ -817,7 +817,7 @@ ___ • **Push32**: = "PUSH32" -*Defined in [index.ts:234](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L234)* +*Defined in [index.ts:234](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L234)* ___ @@ -825,7 +825,7 @@ ___ • **Push4**: = "PUSH4" -*Defined in [index.ts:206](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L206)* +*Defined in [index.ts:206](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L206)* ___ @@ -833,7 +833,7 @@ ___ • **Push5**: = "PUSH5" -*Defined in [index.ts:207](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L207)* +*Defined in [index.ts:207](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L207)* ___ @@ -841,7 +841,7 @@ ___ • **Push6**: = "PUSH6" -*Defined in [index.ts:208](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L208)* +*Defined in [index.ts:208](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L208)* ___ @@ -849,7 +849,7 @@ ___ • **Push7**: = "PUSH7" -*Defined in [index.ts:209](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L209)* +*Defined in [index.ts:209](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L209)* ___ @@ -857,7 +857,7 @@ ___ • **Push8**: = "PUSH8" -*Defined in [index.ts:210](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L210)* +*Defined in [index.ts:210](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L210)* ___ @@ -865,7 +865,7 @@ ___ • **Push9**: = "PUSH9" -*Defined in [index.ts:211](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L211)* +*Defined in [index.ts:211](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L211)* ___ @@ -873,7 +873,7 @@ ___ • **Return**: = "RETURN" -*Defined in [index.ts:278](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L278)* +*Defined in [index.ts:278](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L278)* ___ @@ -881,7 +881,7 @@ ___ • **ReturnDataCopy**: = "RETURNDATACOPY" -*Defined in [index.ts:181](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L181)* +*Defined in [index.ts:181](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L181)* ___ @@ -889,7 +889,7 @@ ___ • **ReturnDataSize**: = "RETURNDATASIZE" -*Defined in [index.ts:180](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L180)* +*Defined in [index.ts:180](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L180)* ___ @@ -897,7 +897,7 @@ ___ • **Revert**: = "REVERT" -*Defined in [index.ts:281](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L281)* +*Defined in [index.ts:281](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L281)* ___ @@ -905,7 +905,7 @@ ___ • **SDiv**: = "SDIV" -*Defined in [index.ts:145](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L145)* +*Defined in [index.ts:145](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L145)* ___ @@ -913,7 +913,7 @@ ___ • **SGt**: = "SGT" -*Defined in [index.ts:156](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L156)* +*Defined in [index.ts:156](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L156)* ___ @@ -921,7 +921,7 @@ ___ • **SLoad**: = "SLOAD" -*Defined in [index.ts:194](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L194)* +*Defined in [index.ts:194](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L194)* ___ @@ -929,7 +929,7 @@ ___ • **SLt**: = "SLT" -*Defined in [index.ts:155](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L155)* +*Defined in [index.ts:155](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L155)* ___ @@ -937,7 +937,7 @@ ___ • **SMod**: = "SMOD" -*Defined in [index.ts:147](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L147)* +*Defined in [index.ts:147](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L147)* ___ @@ -945,7 +945,7 @@ ___ • **SStore**: = "SSTORE" -*Defined in [index.ts:195](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L195)* +*Defined in [index.ts:195](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L195)* ___ @@ -953,7 +953,7 @@ ___ • **SelfDestruct**: = "SELFDESTRUCT" -*Defined in [index.ts:283](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L283)* +*Defined in [index.ts:283](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L283)* ___ @@ -961,7 +961,7 @@ ___ • **Sha3**: = "SHA3" -*Defined in [index.ts:165](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L165)* +*Defined in [index.ts:165](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L165)* ___ @@ -969,7 +969,7 @@ ___ • **SignExtend**: = "SIGNEXTEND" -*Defined in [index.ts:151](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L151)* +*Defined in [index.ts:151](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L151)* ___ @@ -977,7 +977,7 @@ ___ • **StaticCall**: = "STATICCALL" -*Defined in [index.ts:280](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L280)* +*Defined in [index.ts:280](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L280)* ___ @@ -985,7 +985,7 @@ ___ • **Stop**: = "STOP" -*Defined in [index.ts:140](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L140)* +*Defined in [index.ts:140](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L140)* ___ @@ -993,7 +993,7 @@ ___ • **Sub**: = "SUB" -*Defined in [index.ts:143](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L143)* +*Defined in [index.ts:143](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L143)* ___ @@ -1001,7 +1001,7 @@ ___ • **Swap1**: = "SWAP1" -*Defined in [index.ts:253](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L253)* +*Defined in [index.ts:253](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L253)* ___ @@ -1009,7 +1009,7 @@ ___ • **Swap10**: = "SWAP10" -*Defined in [index.ts:262](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L262)* +*Defined in [index.ts:262](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L262)* ___ @@ -1017,7 +1017,7 @@ ___ • **Swap11**: = "SWAP11" -*Defined in [index.ts:263](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L263)* +*Defined in [index.ts:263](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L263)* ___ @@ -1025,7 +1025,7 @@ ___ • **Swap12**: = "SWAP12" -*Defined in [index.ts:264](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L264)* +*Defined in [index.ts:264](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L264)* ___ @@ -1033,7 +1033,7 @@ ___ • **Swap13**: = "SWAP13" -*Defined in [index.ts:265](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L265)* +*Defined in [index.ts:265](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L265)* ___ @@ -1041,7 +1041,7 @@ ___ • **Swap14**: = "SWAP14" -*Defined in [index.ts:266](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L266)* +*Defined in [index.ts:266](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L266)* ___ @@ -1049,7 +1049,7 @@ ___ • **Swap15**: = "SWAP15" -*Defined in [index.ts:267](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L267)* +*Defined in [index.ts:267](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L267)* ___ @@ -1057,7 +1057,7 @@ ___ • **Swap16**: = "SWAP16" -*Defined in [index.ts:268](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L268)* +*Defined in [index.ts:268](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L268)* ___ @@ -1065,7 +1065,7 @@ ___ • **Swap2**: = "SWAP2" -*Defined in [index.ts:254](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L254)* +*Defined in [index.ts:254](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L254)* ___ @@ -1073,7 +1073,7 @@ ___ • **Swap3**: = "SWAP3" -*Defined in [index.ts:255](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L255)* +*Defined in [index.ts:255](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L255)* ___ @@ -1081,7 +1081,7 @@ ___ • **Swap4**: = "SWAP4" -*Defined in [index.ts:256](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L256)* +*Defined in [index.ts:256](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L256)* ___ @@ -1089,7 +1089,7 @@ ___ • **Swap5**: = "SWAP5" -*Defined in [index.ts:257](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L257)* +*Defined in [index.ts:257](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L257)* ___ @@ -1097,7 +1097,7 @@ ___ • **Swap6**: = "SWAP6" -*Defined in [index.ts:258](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L258)* +*Defined in [index.ts:258](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L258)* ___ @@ -1105,7 +1105,7 @@ ___ • **Swap7**: = "SWAP7" -*Defined in [index.ts:259](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L259)* +*Defined in [index.ts:259](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L259)* ___ @@ -1113,7 +1113,7 @@ ___ • **Swap8**: = "SWAP8" -*Defined in [index.ts:260](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L260)* +*Defined in [index.ts:260](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L260)* ___ @@ -1121,7 +1121,7 @@ ___ • **Swap9**: = "SWAP9" -*Defined in [index.ts:261](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L261)* +*Defined in [index.ts:261](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L261)* ___ @@ -1129,7 +1129,7 @@ ___ • **TimeStamp**: = "TimeStamp" -*Defined in [index.ts:185](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L185)* +*Defined in [index.ts:185](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L185)* ___ @@ -1137,7 +1137,7 @@ ___ • **Xor**: = "XOR" -*Defined in [index.ts:161](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L161)* +*Defined in [index.ts:161](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L161)*
@@ -1150,7 +1150,7 @@ ___ • **Address**: = "address" -*Defined in [index.ts:489](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L489)* +*Defined in [index.ts:489](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L489)* ___ @@ -1158,7 +1158,7 @@ ___ • **Bool**: = "bool" -*Defined in [index.ts:490](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L490)* +*Defined in [index.ts:490](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L490)* ___ @@ -1166,7 +1166,7 @@ ___ • **Bytes**: = "bytes" -*Defined in [index.ts:491](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L491)* +*Defined in [index.ts:491](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L491)* ___ @@ -1174,7 +1174,7 @@ ___ • **Int**: = "int" -*Defined in [index.ts:492](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L492)* +*Defined in [index.ts:492](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L492)* ___ @@ -1182,7 +1182,7 @@ ___ • **String**: = "string" -*Defined in [index.ts:493](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L493)* +*Defined in [index.ts:493](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L493)* ___ @@ -1190,7 +1190,7 @@ ___ • **Tuple**: = "tuple" -*Defined in [index.ts:494](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L494)* +*Defined in [index.ts:494](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L494)* ___ @@ -1198,7 +1198,7 @@ ___ • **Uint**: = "uint" -*Defined in [index.ts:497](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L497)* +*Defined in [index.ts:497](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L497)* ___ @@ -1206,7 +1206,7 @@ ___ • **Uint256**: = "uint256" -*Defined in [index.ts:495](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L495)* +*Defined in [index.ts:495](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L495)* ___ @@ -1214,7 +1214,7 @@ ___ • **Uint8**: = "uint8" -*Defined in [index.ts:496](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L496)* +*Defined in [index.ts:496](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L496)*
@@ -1235,7 +1235,7 @@ ___ • **difficulty**: *`BigNumber`* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L350)* ___ @@ -1243,7 +1243,7 @@ ___ • **extraData**: *string* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L352)* ___ @@ -1251,7 +1251,7 @@ ___ • **gasLimit**: *number* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L354)* ___ @@ -1259,7 +1259,7 @@ ___ • **gasUsed**: *number* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L355)* ___ @@ -1267,7 +1267,7 @@ ___ • **hash**: *string | null* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L342)* ___ @@ -1275,7 +1275,7 @@ ___ • **logsBloom**: *string | null* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L346)* ___ @@ -1283,7 +1283,7 @@ ___ • **miner**: *string* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L349)* ___ @@ -1291,7 +1291,7 @@ ___ • **nonce**: *string | null* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L344)* ___ @@ -1299,7 +1299,7 @@ ___ • **number**: *number | null* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L341)* ___ @@ -1307,7 +1307,7 @@ ___ • **parentHash**: *string* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L343)* ___ @@ -1315,7 +1315,7 @@ ___ • **sha3Uncles**: *string* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L345)* ___ @@ -1323,7 +1323,7 @@ ___ • **size**: *number* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L353)* ___ @@ -1331,7 +1331,7 @@ ___ • **stateRoot**: *string* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L348)* ___ @@ -1339,7 +1339,7 @@ ___ • **timestamp**: *number* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L356)* ___ @@ -1347,7 +1347,7 @@ ___ • **totalDifficulty**: *`BigNumber`* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L351)* ___ @@ -1355,7 +1355,7 @@ ___ • **transactionsRoot**: *string* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L347)* ___ @@ -1363,7 +1363,7 @@ ___ • **uncles**: *string[]* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L357)*
@@ -1382,9 +1382,9 @@ ___ • **difficulty**: *`BigNumber`* -*Inherited from [AbstractBlock](#difficulty)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[difficulty](#difficulty)* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L350)* ___ @@ -1392,9 +1392,9 @@ ___ • **extraData**: *string* -*Inherited from [AbstractBlock](#extradata)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[extraData](#extradata)* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L352)* ___ @@ -1402,9 +1402,9 @@ ___ • **gasLimit**: *number* -*Inherited from [AbstractBlock](#gaslimit)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[gasLimit](#gaslimit)* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L354)* ___ @@ -1412,9 +1412,9 @@ ___ • **gasUsed**: *number* -*Inherited from [AbstractBlock](#gasused)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[gasUsed](#gasused)* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L355)* ___ @@ -1422,9 +1422,9 @@ ___ • **hash**: *string | null* -*Inherited from [AbstractBlock](#hash)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[hash](#hash)* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L342)* ___ @@ -1432,9 +1432,9 @@ ___ • **logsBloom**: *string | null* -*Inherited from [AbstractBlock](#logsbloom)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[logsBloom](#logsbloom)* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L346)* ___ @@ -1442,9 +1442,9 @@ ___ • **miner**: *string* -*Inherited from [AbstractBlock](#miner)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[miner](#miner)* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L349)* ___ @@ -1452,9 +1452,9 @@ ___ • **nonce**: *string | null* -*Inherited from [AbstractBlock](#nonce)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[nonce](#nonce)* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L344)* ___ @@ -1462,9 +1462,9 @@ ___ • **number**: *number | null* -*Inherited from [AbstractBlock](#number)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[number](#number)* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L341)* ___ @@ -1472,9 +1472,9 @@ ___ • **parentHash**: *string* -*Inherited from [AbstractBlock](#parenthash)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[parentHash](#parenthash)* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L343)* ___ @@ -1482,9 +1482,9 @@ ___ • **sha3Uncles**: *string* -*Inherited from [AbstractBlock](#sha3uncles)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[sha3Uncles](#sha3uncles)* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L345)* ___ @@ -1492,9 +1492,9 @@ ___ • **size**: *number* -*Inherited from [AbstractBlock](#size)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[size](#size)* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L353)* ___ @@ -1502,9 +1502,9 @@ ___ • **stateRoot**: *string* -*Inherited from [AbstractBlock](#stateroot)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[stateRoot](#stateroot)* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L348)* ___ @@ -1512,9 +1512,9 @@ ___ • **timestamp**: *number* -*Inherited from [AbstractBlock](#timestamp)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[timestamp](#timestamp)* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L356)* ___ @@ -1522,9 +1522,9 @@ ___ • **totalDifficulty**: *`BigNumber`* -*Inherited from [AbstractBlock](#totaldifficulty)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[totalDifficulty](#totaldifficulty)* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L351)* ___ @@ -1532,7 +1532,7 @@ ___ • **transactions**: *string[]* -*Defined in [index.ts:361](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L361)* +*Defined in [index.ts:361](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L361)* ___ @@ -1540,9 +1540,9 @@ ___ • **transactionsRoot**: *string* -*Inherited from [AbstractBlock](#transactionsroot)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[transactionsRoot](#transactionsroot)* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L347)* ___ @@ -1550,9 +1550,9 @@ ___ • **uncles**: *string[]* -*Inherited from [AbstractBlock](#uncles)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[uncles](#uncles)* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L357)*
@@ -1571,9 +1571,9 @@ ___ • **difficulty**: *`BigNumber`* -*Inherited from [AbstractBlock](#difficulty)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[difficulty](#difficulty)* -*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L350)* +*Defined in [index.ts:350](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L350)* ___ @@ -1581,9 +1581,9 @@ ___ • **extraData**: *string* -*Inherited from [AbstractBlock](#extradata)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[extraData](#extradata)* -*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L352)* +*Defined in [index.ts:352](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L352)* ___ @@ -1591,9 +1591,9 @@ ___ • **gasLimit**: *number* -*Inherited from [AbstractBlock](#gaslimit)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[gasLimit](#gaslimit)* -*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L354)* +*Defined in [index.ts:354](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L354)* ___ @@ -1601,9 +1601,9 @@ ___ • **gasUsed**: *number* -*Inherited from [AbstractBlock](#gasused)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[gasUsed](#gasused)* -*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L355)* +*Defined in [index.ts:355](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L355)* ___ @@ -1611,9 +1611,9 @@ ___ • **hash**: *string | null* -*Inherited from [AbstractBlock](#hash)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[hash](#hash)* -*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L342)* +*Defined in [index.ts:342](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L342)* ___ @@ -1621,9 +1621,9 @@ ___ • **logsBloom**: *string | null* -*Inherited from [AbstractBlock](#logsbloom)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[logsBloom](#logsbloom)* -*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L346)* +*Defined in [index.ts:346](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L346)* ___ @@ -1631,9 +1631,9 @@ ___ • **miner**: *string* -*Inherited from [AbstractBlock](#miner)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[miner](#miner)* -*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L349)* +*Defined in [index.ts:349](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L349)* ___ @@ -1641,9 +1641,9 @@ ___ • **nonce**: *string | null* -*Inherited from [AbstractBlock](#nonce)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[nonce](#nonce)* -*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L344)* +*Defined in [index.ts:344](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L344)* ___ @@ -1651,9 +1651,9 @@ ___ • **number**: *number | null* -*Inherited from [AbstractBlock](#number)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[number](#number)* -*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L341)* +*Defined in [index.ts:341](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L341)* ___ @@ -1661,9 +1661,9 @@ ___ • **parentHash**: *string* -*Inherited from [AbstractBlock](#parenthash)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[parentHash](#parenthash)* -*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L343)* +*Defined in [index.ts:343](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L343)* ___ @@ -1671,9 +1671,9 @@ ___ • **sha3Uncles**: *string* -*Inherited from [AbstractBlock](#sha3uncles)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[sha3Uncles](#sha3uncles)* -*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L345)* +*Defined in [index.ts:345](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L345)* ___ @@ -1681,9 +1681,9 @@ ___ • **size**: *number* -*Inherited from [AbstractBlock](#size)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[size](#size)* -*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L353)* +*Defined in [index.ts:353](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L353)* ___ @@ -1691,9 +1691,9 @@ ___ • **stateRoot**: *string* -*Inherited from [AbstractBlock](#stateroot)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[stateRoot](#stateroot)* -*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L348)* +*Defined in [index.ts:348](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L348)* ___ @@ -1701,9 +1701,9 @@ ___ • **timestamp**: *number* -*Inherited from [AbstractBlock](#timestamp)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[timestamp](#timestamp)* -*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L356)* +*Defined in [index.ts:356](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L356)* ___ @@ -1711,9 +1711,9 @@ ___ • **totalDifficulty**: *`BigNumber`* -*Inherited from [AbstractBlock](#totaldifficulty)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[totalDifficulty](#totaldifficulty)* -*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L351)* +*Defined in [index.ts:351](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L351)* ___ @@ -1721,7 +1721,7 @@ ___ • **transactions**: *[Transaction](#class-transaction)[]* -*Defined in [index.ts:365](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L365)* +*Defined in [index.ts:365](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L365)* ___ @@ -1729,9 +1729,9 @@ ___ • **transactionsRoot**: *string* -*Inherited from [AbstractBlock](#transactionsroot)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[transactionsRoot](#transactionsroot)* -*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L347)* +*Defined in [index.ts:347](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L347)* ___ @@ -1739,9 +1739,9 @@ ___ • **uncles**: *string[]* -*Inherited from [AbstractBlock](#uncles)* +*Inherited from [AbstractBlock](_index_.abstractblock.md).[uncles](#uncles)* -*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L357)* +*Defined in [index.ts:357](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L357)*
@@ -1760,9 +1760,9 @@ ___ • **data**? : *undefined | string* -*Inherited from [CallTxDataBase](#optional-data)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[data](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L387)* ___ @@ -1770,7 +1770,7 @@ ___ • **from**? : *undefined | string* -*Defined in [index.ts:396](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L396)* +*Defined in [index.ts:396](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L396)* ___ @@ -1778,9 +1778,9 @@ ___ • **gas**? : *number | string | `BigNumber`* -*Inherited from [CallTxDataBase](#optional-gas)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[gas](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L385)* ___ @@ -1788,9 +1788,9 @@ ___ • **gasPrice**? : *number | string | `BigNumber`* -*Inherited from [CallTxDataBase](#optional-gasprice)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[gasPrice](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L386)* ___ @@ -1798,9 +1798,9 @@ ___ • **nonce**? : *undefined | number* -*Inherited from [CallTxDataBase](#optional-nonce)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[nonce](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L388)* ___ @@ -1808,9 +1808,9 @@ ___ • **to**? : *undefined | string* -*Inherited from [CallTxDataBase](#optional-to)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[to](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L383)* ___ @@ -1818,9 +1818,9 @@ ___ • **value**? : *number | string | `BigNumber`* -*Inherited from [CallTxDataBase](#optional-value)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[value](#optional-value)* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L384)*
@@ -1841,7 +1841,7 @@ ___ • **data**? : *undefined | string* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L387)* ___ @@ -1849,7 +1849,7 @@ ___ • **gas**? : *number | string | `BigNumber`* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L385)* ___ @@ -1857,7 +1857,7 @@ ___ • **gasPrice**? : *number | string | `BigNumber`* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L386)* ___ @@ -1865,7 +1865,7 @@ ___ • **nonce**? : *undefined | number* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L388)* ___ @@ -1873,7 +1873,7 @@ ___ • **to**? : *undefined | string* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L383)* ___ @@ -1881,7 +1881,7 @@ ___ • **value**? : *number | string | `BigNumber`* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L384)*
@@ -1910,7 +1910,7 @@ contracts to compile with the the version specified here. • **artifactsDir**? : *undefined | string* -*Defined in [index.ts:723](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L723)* +*Defined in [index.ts:723](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L723)* ___ @@ -1918,7 +1918,7 @@ ___ • **compilerSettings**? : *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:724](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L724)* +*Defined in [index.ts:724](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L724)* ___ @@ -1926,7 +1926,7 @@ ___ • **contracts**? : *string[] | "*"* -*Defined in [index.ts:725](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L725)* +*Defined in [index.ts:725](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L725)* ___ @@ -1934,7 +1934,7 @@ ___ • **contractsDir**? : *undefined | string* -*Defined in [index.ts:722](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L722)* +*Defined in [index.ts:722](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L722)* ___ @@ -1942,7 +1942,7 @@ ___ • **isOfflineMode**? : *undefined | false | true* -*Defined in [index.ts:727](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L727)* +*Defined in [index.ts:727](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L727)* ___ @@ -1950,7 +1950,7 @@ ___ • **solcVersion**? : *undefined | string* -*Defined in [index.ts:728](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L728)* +*Defined in [index.ts:728](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L728)* ___ @@ -1958,7 +1958,7 @@ ___ • **useDockerisedSolc**? : *undefined | false | true* -*Defined in [index.ts:726](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L726)* +*Defined in [index.ts:726](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L726)*
@@ -1975,7 +1975,7 @@ ___ • **name**: *"solc"* -*Defined in [index.ts:647](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L647)* +*Defined in [index.ts:647](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L647)* ___ @@ -1983,7 +1983,7 @@ ___ • **settings**: *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:649](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L649)* +*Defined in [index.ts:649](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L649)* ___ @@ -1991,7 +1991,7 @@ ___ • **version**: *string* -*Defined in [index.ts:648](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L648)* +*Defined in [index.ts:648](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L648)*
@@ -2008,7 +2008,7 @@ ___ • **evmVersion**? : *"homestead" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople"* -*Defined in [index.ts:681](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L681)* +*Defined in [index.ts:681](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L681)* ___ @@ -2016,7 +2016,7 @@ ___ • **libraries**? : *undefined | object* -*Defined in [index.ts:683](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L683)* +*Defined in [index.ts:683](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L683)* ___ @@ -2024,7 +2024,7 @@ ___ • **metadata**? : *[CompilerSettingsMetadata](#class-compilersettingsmetadata)* -*Defined in [index.ts:682](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L682)* +*Defined in [index.ts:682](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L682)* ___ @@ -2032,7 +2032,7 @@ ___ • **optimizer**? : *[OptimizerSettings](#class-optimizersettings)* -*Defined in [index.ts:680](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L680)* +*Defined in [index.ts:680](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L680)* ___ @@ -2040,7 +2040,7 @@ ___ • **outputSelection**: *object* -*Defined in [index.ts:688](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L688)* +*Defined in [index.ts:688](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L688)* #### Type declaration: @@ -2054,7 +2054,7 @@ ___ • **remappings**? : *string[]* -*Defined in [index.ts:679](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L679)* +*Defined in [index.ts:679](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L679)*
@@ -2071,7 +2071,7 @@ ___ • **useLiteralContent**: *true* -*Defined in [index.ts:696](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L696)* +*Defined in [index.ts:696](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L696)*
@@ -2088,7 +2088,7 @@ ___ • **inputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:103](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L103)* +*Defined in [index.ts:103](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L103)* ___ @@ -2096,7 +2096,7 @@ ___ • **payable**: *boolean* -*Defined in [index.ts:104](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L104)* +*Defined in [index.ts:104](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L104)* ___ @@ -2104,7 +2104,7 @@ ___ • **stateMutability**: *[ConstructorStateMutability](#constructorstatemutability)* -*Defined in [index.ts:105](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L105)* +*Defined in [index.ts:105](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L105)* ___ @@ -2112,7 +2112,7 @@ ___ • **type**: *string* -*Defined in [index.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L102)* +*Defined in [index.ts:102](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L102)*
@@ -2143,9 +2143,9 @@ If any of the sources change, the hash would change notifying us that a re-compi • **compiler**: *[CompilerOpts](#class-compileropts)* -*Inherited from [ContractVersionData](#compiler)* +*Inherited from [ContractVersionData](_index_.contractversiondata.md).[compiler](#compiler)* -*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L633)* +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L633)* ___ @@ -2153,9 +2153,9 @@ ___ • **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)* -*Inherited from [ContractVersionData](#compileroutput)* +*Inherited from [ContractVersionData](_index_.contractversiondata.md).[compilerOutput](#compileroutput)* -*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L643)* +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L643)* ___ @@ -2163,7 +2163,7 @@ ___ • **contractName**: *string* -*Defined in [index.ts:667](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L667)* +*Defined in [index.ts:667](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L667)* ___ @@ -2171,7 +2171,7 @@ ___ • **networks**: *[ContractNetworks](#class-contractnetworks)* -*Defined in [index.ts:668](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L668)* +*Defined in [index.ts:668](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L668)* ___ @@ -2179,7 +2179,7 @@ ___ • **schemaVersion**: *string* -*Defined in [index.ts:666](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L666)* +*Defined in [index.ts:666](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L666)* ___ @@ -2187,9 +2187,9 @@ ___ • **sourceCodes**: *object* -*Inherited from [ContractVersionData](#sourcecodes)* +*Inherited from [ContractVersionData](_index_.contractversiondata.md).[sourceCodes](#sourcecodes)* -*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L639)* +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L639)* #### Type declaration: @@ -2201,9 +2201,9 @@ ___ • **sourceTreeHashHex**: *string* -*Inherited from [ContractVersionData](#sourcetreehashhex)* +*Inherited from [ContractVersionData](_index_.contractversiondata.md).[sourceTreeHashHex](#sourcetreehashhex)* -*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L642)* +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L642)* ___ @@ -2211,9 +2211,9 @@ ___ • **sources**: *object* -*Inherited from [ContractVersionData](#sources)* +*Inherited from [ContractVersionData](_index_.contractversiondata.md).[sources](#sources)* -*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L634)* +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L634)* #### Type declaration: @@ -2234,7 +2234,7 @@ ___ • **address**: *string* -*Defined in [index.ts:546](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L546)* +*Defined in [index.ts:546](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L546)* ___ @@ -2242,7 +2242,7 @@ ___ • **constructorArgs**: *string* -*Defined in [index.ts:550](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L550)* +*Defined in [index.ts:550](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L550)* ___ @@ -2250,7 +2250,7 @@ ___ • **links**: *object* -*Defined in [index.ts:547](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L547)* +*Defined in [index.ts:547](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L547)* #### Type declaration: @@ -2278,7 +2278,7 @@ ___ • **compiler**: *[CompilerOpts](#class-compileropts)* -*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L633)* +*Defined in [index.ts:633](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L633)* ___ @@ -2286,7 +2286,7 @@ ___ • **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)* -*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L643)* +*Defined in [index.ts:643](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L643)* ___ @@ -2294,7 +2294,7 @@ ___ • **sourceCodes**: *object* -*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L639)* +*Defined in [index.ts:639](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L639)* #### Type declaration: @@ -2306,7 +2306,7 @@ ___ • **sourceTreeHashHex**: *string* -*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L642)* +*Defined in [index.ts:642](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L642)* ___ @@ -2314,7 +2314,7 @@ ___ • **sources**: *object* -*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L634)* +*Defined in [index.ts:634](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L634)* #### Type declaration: @@ -2339,7 +2339,7 @@ ___ • **components**? : *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L131)* +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L131)* ___ @@ -2347,7 +2347,7 @@ ___ • **name**: *string* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L129)* ___ @@ -2355,7 +2355,7 @@ ___ • **type**: *string* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L130)*
@@ -2387,9 +2387,9 @@ ___ • **address**: *string* -*Inherited from [LogEntry](#address)* +*Inherited from [LogEntry](_index_.logentry.md).[address](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L428)* ___ @@ -2397,7 +2397,7 @@ ___ • **args**: *`A`* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L411)* ___ @@ -2405,9 +2405,9 @@ ___ • **blockHash**: *string | null* -*Inherited from [LogEntry](#blockhash)* +*Inherited from [LogEntry](_index_.logentry.md).[blockHash](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L426)* ___ @@ -2415,9 +2415,9 @@ ___ • **blockNumber**: *number | null* -*Inherited from [LogEntry](#blocknumber)* +*Inherited from [LogEntry](_index_.logentry.md).[blockNumber](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L427)* ___ @@ -2425,9 +2425,9 @@ ___ • **data**: *string* -*Inherited from [LogEntry](#data)* +*Inherited from [LogEntry](_index_.logentry.md).[data](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L429)* ___ @@ -2435,7 +2435,7 @@ ___ • **event**: *string* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L410)* ___ @@ -2443,9 +2443,9 @@ ___ • **logIndex**: *number | null* -*Inherited from [LogEntry](#logindex)* +*Inherited from [LogEntry](_index_.logentry.md).[logIndex](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L423)* ___ @@ -2453,9 +2453,9 @@ ___ • **topics**: *string[]* -*Inherited from [LogEntry](#topics)* +*Inherited from [LogEntry](_index_.logentry.md).[topics](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L430)* ___ @@ -2463,9 +2463,9 @@ ___ • **transactionHash**: *string* -*Inherited from [LogEntry](#transactionhash)* +*Inherited from [LogEntry](_index_.logentry.md).[transactionHash](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L425)* ___ @@ -2473,9 +2473,9 @@ ___ • **transactionIndex**: *number | null* -*Inherited from [LogEntry](#transactionindex)* +*Inherited from [LogEntry](_index_.logentry.md).[transactionIndex](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L424)*
@@ -2498,9 +2498,9 @@ ___ • **address**: *string* -*Inherited from [LogEntry](#address)* +*Inherited from [LogEntry](_index_.logentry.md).[address](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L428)* ___ @@ -2508,9 +2508,9 @@ ___ • **args**: *`A`* -*Inherited from [DecodedLogEntry](#args)* +*Inherited from [DecodedLogEntry](_index_.decodedlogentry.md).[args](#args)* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L411)* ___ @@ -2518,9 +2518,9 @@ ___ • **blockHash**: *string | null* -*Inherited from [LogEntry](#blockhash)* +*Inherited from [LogEntry](_index_.logentry.md).[blockHash](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L426)* ___ @@ -2528,9 +2528,9 @@ ___ • **blockNumber**: *number | null* -*Inherited from [LogEntry](#blocknumber)* +*Inherited from [LogEntry](_index_.logentry.md).[blockNumber](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L427)* ___ @@ -2538,9 +2538,9 @@ ___ • **data**: *string* -*Inherited from [LogEntry](#data)* +*Inherited from [LogEntry](_index_.logentry.md).[data](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L429)* ___ @@ -2548,9 +2548,9 @@ ___ • **event**: *string* -*Inherited from [DecodedLogEntry](#event)* +*Inherited from [DecodedLogEntry](_index_.decodedlogentry.md).[event](#event)* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L410)* ___ @@ -2558,9 +2558,9 @@ ___ • **logIndex**: *number | null* -*Inherited from [LogEntry](#logindex)* +*Inherited from [LogEntry](_index_.logentry.md).[logIndex](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L423)* ___ @@ -2568,7 +2568,7 @@ ___ • **removed**: *boolean* -*Defined in [index.ts:415](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L415)* +*Defined in [index.ts:415](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L415)* ___ @@ -2576,9 +2576,9 @@ ___ • **topics**: *string[]* -*Inherited from [LogEntry](#topics)* +*Inherited from [LogEntry](_index_.logentry.md).[topics](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L430)* ___ @@ -2586,9 +2586,9 @@ ___ • **transactionHash**: *string* -*Inherited from [LogEntry](#transactionhash)* +*Inherited from [LogEntry](_index_.logentry.md).[transactionHash](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L425)* ___ @@ -2596,9 +2596,9 @@ ___ • **transactionIndex**: *number | null* -*Inherited from [LogEntry](#transactionindex)* +*Inherited from [LogEntry](_index_.logentry.md).[transactionIndex](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L424)*
@@ -2615,7 +2615,7 @@ ___ • **author**? : *undefined | string* -*Defined in [index.ts:620](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L620)* +*Defined in [index.ts:620](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L620)* ___ @@ -2623,7 +2623,7 @@ ___ • **methods**: *object* -*Defined in [index.ts:621](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L621)* +*Defined in [index.ts:621](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L621)* #### Type declaration: @@ -2635,7 +2635,7 @@ ___ • **title**? : *undefined | string* -*Defined in [index.ts:619](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L619)* +*Defined in [index.ts:619](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L619)*
@@ -2652,7 +2652,7 @@ ___ • **isEIP1193**: *boolean* -*Defined in [index.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L73)* +*Defined in [index.ts:73](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L73)* ### Methods @@ -2660,7 +2660,7 @@ ___ ▸ **on**(`event`: [EIP1193Event](#eip1193event), `listener`: function): *this* -*Defined in [index.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L75)* +*Defined in [index.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L75)* **Parameters:** @@ -2684,7 +2684,7 @@ ___ ▸ **send**(`method`: string, `params?`: any[]): *`Promise`* -*Defined in [index.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L74)* +*Defined in [index.ts:74](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L74)* **Parameters:** @@ -2710,7 +2710,7 @@ Name | Type | • **anonymous**: *boolean* -*Defined in [index.ts:125](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L125)* +*Defined in [index.ts:125](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L125)* ___ @@ -2718,7 +2718,7 @@ ___ • **inputs**: *[EventParameter](#class-eventparameter)[]* -*Defined in [index.ts:124](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L124)* +*Defined in [index.ts:124](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L124)* ___ @@ -2726,7 +2726,7 @@ ___ • **name**: *string* -*Defined in [index.ts:123](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L123)* +*Defined in [index.ts:123](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L123)* ___ @@ -2734,7 +2734,7 @@ ___ • **type**: *string* -*Defined in [index.ts:122](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L122)* +*Defined in [index.ts:122](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L122)*
@@ -2753,9 +2753,9 @@ ___ • **components**? : *[DataItem](#class-dataitem)[]* -*Inherited from [DataItem](#optional-components)* +*Inherited from [DataItem](_index_.dataitem.md).[components](#optional-components)* -*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L131)* +*Defined in [index.ts:131](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L131)* ___ @@ -2763,7 +2763,7 @@ ___ • **indexed**: *boolean* -*Defined in [index.ts:116](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L116)* +*Defined in [index.ts:116](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L116)* ___ @@ -2771,9 +2771,9 @@ ___ • **name**: *string* -*Inherited from [DataItem](#name)* +*Inherited from [DataItem](_index_.dataitem.md).[name](#name)* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L129)* ___ @@ -2781,9 +2781,9 @@ ___ • **type**: *string* -*Inherited from [DataItem](#type)* +*Inherited from [DataItem](_index_.dataitem.md).[type](#type)* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L130)*
@@ -2800,7 +2800,7 @@ ___ • **object**: *string* -*Defined in [index.ts:614](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L614)* +*Defined in [index.ts:614](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L614)* ___ @@ -2808,7 +2808,7 @@ ___ • **sourceMap**: *string* -*Defined in [index.ts:615](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L615)* +*Defined in [index.ts:615](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L615)*
@@ -2825,7 +2825,7 @@ ___ • **bytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* -*Defined in [index.ts:609](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L609)* +*Defined in [index.ts:609](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L609)* ___ @@ -2833,7 +2833,7 @@ ___ • **deployedBytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)* -*Defined in [index.ts:610](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L610)* +*Defined in [index.ts:610](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L610)*
@@ -2850,7 +2850,7 @@ ___ • **payable**: *boolean* -*Defined in [index.ts:112](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L112)* +*Defined in [index.ts:112](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L112)* ___ @@ -2858,7 +2858,7 @@ ___ • **type**: *string* -*Defined in [index.ts:111](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L111)* +*Defined in [index.ts:111](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L111)*
@@ -2875,7 +2875,7 @@ ___ • **address**? : *undefined | string* -*Defined in [index.ts:403](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L403)* +*Defined in [index.ts:403](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L403)* ___ @@ -2883,7 +2883,7 @@ ___ • **blockHash**? : *undefined | string* -*Defined in [index.ts:402](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L402)* +*Defined in [index.ts:402](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L402)* ___ @@ -2891,7 +2891,7 @@ ___ • **fromBlock**? : *number | string* -*Defined in [index.ts:400](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L400)* +*Defined in [index.ts:400](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L400)* ___ @@ -2899,7 +2899,7 @@ ___ • **toBlock**? : *number | string* -*Defined in [index.ts:401](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L401)* +*Defined in [index.ts:401](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L401)* ___ @@ -2907,7 +2907,7 @@ ___ • **topics**? : *[LogTopic](#logtopic)[]* -*Defined in [index.ts:404](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L404)* +*Defined in [index.ts:404](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L404)*
@@ -2922,9 +2922,9 @@ ___ ## sendAsync -▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* +▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L14)* +*Defined in [index.ts:14](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L14)* **Parameters:** @@ -2950,7 +2950,7 @@ Name | Type | • **name**: *"solc"* -*Defined in [index.ts:672](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L672)* +*Defined in [index.ts:672](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L672)* ___ @@ -2958,7 +2958,7 @@ ___ • **settings**: *[CompilerSettings](#class-compilersettings)* -*Defined in [index.ts:674](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L674)* +*Defined in [index.ts:674](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L674)* ___ @@ -2966,7 +2966,7 @@ ___ • **version**: *string* -*Defined in [index.ts:673](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L673)* +*Defined in [index.ts:673](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L673)*
@@ -2983,7 +2983,7 @@ ___ • **id**: *number* -*Defined in [index.ts:324](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L324)* +*Defined in [index.ts:324](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L324)* ___ @@ -2991,7 +2991,7 @@ ___ • **jsonrpc**: *string* -*Defined in [index.ts:325](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L325)* +*Defined in [index.ts:325](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L325)* ___ @@ -2999,7 +2999,7 @@ ___ • **method**: *string* -*Defined in [index.ts:323](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L323)* +*Defined in [index.ts:323](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L323)* ___ @@ -3007,7 +3007,7 @@ ___ • **params**: *any[]* -*Defined in [index.ts:322](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L322)* +*Defined in [index.ts:322](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L322)*
@@ -3024,7 +3024,7 @@ ___ • **code**: *number* -*Defined in [index.ts:330](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L330)* +*Defined in [index.ts:330](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L330)* ___ @@ -3032,7 +3032,7 @@ ___ • **message**: *string* -*Defined in [index.ts:329](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L329)* +*Defined in [index.ts:329](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L329)*
@@ -3049,7 +3049,7 @@ ___ • **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)* -*Defined in [index.ts:337](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L337)* +*Defined in [index.ts:337](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L337)* ___ @@ -3057,7 +3057,7 @@ ___ • **id**: *number* -*Defined in [index.ts:335](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L335)* +*Defined in [index.ts:335](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L335)* ___ @@ -3065,7 +3065,7 @@ ___ • **jsonrpc**: *string* -*Defined in [index.ts:336](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L336)* +*Defined in [index.ts:336](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L336)* ___ @@ -3073,7 +3073,7 @@ ___ • **result**: *any* -*Defined in [index.ts:334](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L334)* +*Defined in [index.ts:334](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L334)*
@@ -3094,7 +3094,7 @@ ___ • **address**: *string* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L428)* ___ @@ -3102,7 +3102,7 @@ ___ • **blockHash**: *string | null* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L426)* ___ @@ -3110,7 +3110,7 @@ ___ • **blockNumber**: *number | null* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L427)* ___ @@ -3118,7 +3118,7 @@ ___ • **data**: *string* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L429)* ___ @@ -3126,7 +3126,7 @@ ___ • **logIndex**: *number | null* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L423)* ___ @@ -3134,7 +3134,7 @@ ___ • **topics**: *string[]* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L430)* ___ @@ -3142,7 +3142,7 @@ ___ • **transactionHash**: *string* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L425)* ___ @@ -3150,7 +3150,7 @@ ___ • **transactionIndex**: *number | null* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L424)*
@@ -3169,9 +3169,9 @@ ___ • **address**: *string* -*Inherited from [LogEntry](#address)* +*Inherited from [LogEntry](_index_.logentry.md).[address](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L428)* ___ @@ -3179,9 +3179,9 @@ ___ • **blockHash**: *string | null* -*Inherited from [LogEntry](#blockhash)* +*Inherited from [LogEntry](_index_.logentry.md).[blockHash](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L426)* ___ @@ -3189,9 +3189,9 @@ ___ • **blockNumber**: *number | null* -*Inherited from [LogEntry](#blocknumber)* +*Inherited from [LogEntry](_index_.logentry.md).[blockNumber](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L427)* ___ @@ -3199,9 +3199,9 @@ ___ • **data**: *string* -*Inherited from [LogEntry](#data)* +*Inherited from [LogEntry](_index_.logentry.md).[data](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L429)* ___ @@ -3209,9 +3209,9 @@ ___ • **logIndex**: *number | null* -*Inherited from [LogEntry](#logindex)* +*Inherited from [LogEntry](_index_.logentry.md).[logIndex](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L423)* ___ @@ -3219,7 +3219,7 @@ ___ • **removed**: *boolean* -*Defined in [index.ts:419](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L419)* +*Defined in [index.ts:419](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L419)* ___ @@ -3227,9 +3227,9 @@ ___ • **topics**: *string[]* -*Inherited from [LogEntry](#topics)* +*Inherited from [LogEntry](_index_.logentry.md).[topics](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L430)* ___ @@ -3237,9 +3237,9 @@ ___ • **transactionHash**: *string* -*Inherited from [LogEntry](#transactionhash)* +*Inherited from [LogEntry](_index_.logentry.md).[transactionHash](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L425)* ___ @@ -3247,9 +3247,9 @@ ___ • **transactionIndex**: *number | null* -*Inherited from [LogEntry](#transactionindex)* +*Inherited from [LogEntry](_index_.logentry.md).[transactionIndex](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L424)*
@@ -3272,9 +3272,9 @@ ___ • **address**: *string* -*Inherited from [LogEntry](#address)* +*Inherited from [LogEntry](_index_.logentry.md).[address](#address)* -*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L428)* +*Defined in [index.ts:428](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L428)* ___ @@ -3282,9 +3282,9 @@ ___ • **args**: *`ArgsType`* -*Inherited from [DecodedLogEntry](#args)* +*Inherited from [DecodedLogEntry](_index_.decodedlogentry.md).[args](#args)* -*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L411)* +*Defined in [index.ts:411](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L411)* ___ @@ -3292,9 +3292,9 @@ ___ • **blockHash**: *string | null* -*Inherited from [LogEntry](#blockhash)* +*Inherited from [LogEntry](_index_.logentry.md).[blockHash](#blockhash)* -*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L426)* +*Defined in [index.ts:426](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L426)* ___ @@ -3302,9 +3302,9 @@ ___ • **blockNumber**: *number | null* -*Inherited from [LogEntry](#blocknumber)* +*Inherited from [LogEntry](_index_.logentry.md).[blockNumber](#blocknumber)* -*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L427)* +*Defined in [index.ts:427](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L427)* ___ @@ -3312,9 +3312,9 @@ ___ • **data**: *string* -*Inherited from [LogEntry](#data)* +*Inherited from [LogEntry](_index_.logentry.md).[data](#data)* -*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L429)* +*Defined in [index.ts:429](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L429)* ___ @@ -3322,9 +3322,9 @@ ___ • **event**: *string* -*Inherited from [DecodedLogEntry](#event)* +*Inherited from [DecodedLogEntry](_index_.decodedlogentry.md).[event](#event)* -*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L410)* +*Defined in [index.ts:410](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L410)* ___ @@ -3332,9 +3332,9 @@ ___ • **logIndex**: *number | null* -*Inherited from [LogEntry](#logindex)* +*Inherited from [LogEntry](_index_.logentry.md).[logIndex](#logindex)* -*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L423)* +*Defined in [index.ts:423](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L423)* ___ @@ -3342,9 +3342,9 @@ ___ • **topics**: *string[]* -*Inherited from [LogEntry](#topics)* +*Inherited from [LogEntry](_index_.logentry.md).[topics](#topics)* -*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L430)* +*Defined in [index.ts:430](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L430)* ___ @@ -3352,9 +3352,9 @@ ___ • **transactionHash**: *string* -*Inherited from [LogEntry](#transactionhash)* +*Inherited from [LogEntry](_index_.logentry.md).[transactionHash](#transactionhash)* -*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L425)* +*Defined in [index.ts:425](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L425)* ___ @@ -3362,9 +3362,9 @@ ___ • **transactionIndex**: *number | null* -*Inherited from [LogEntry](#transactionindex)* +*Inherited from [LogEntry](_index_.logentry.md).[transactionIndex](#transactionindex)* -*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L424)* +*Defined in [index.ts:424](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L424)*
@@ -3381,7 +3381,7 @@ ___ • **constant**: *boolean* -*Defined in [index.ts:94](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L94)* +*Defined in [index.ts:94](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L94)* ___ @@ -3389,7 +3389,7 @@ ___ • **inputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:92](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L92)* +*Defined in [index.ts:92](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L92)* ___ @@ -3397,7 +3397,7 @@ ___ • **name**: *string* -*Defined in [index.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L91)* +*Defined in [index.ts:91](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L91)* ___ @@ -3405,7 +3405,7 @@ ___ • **outputs**: *[DataItem](#class-dataitem)[]* -*Defined in [index.ts:93](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L93)* +*Defined in [index.ts:93](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L93)* ___ @@ -3413,7 +3413,7 @@ ___ • **payable**: *boolean* -*Defined in [index.ts:96](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L96)* +*Defined in [index.ts:96](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L96)* ___ @@ -3421,7 +3421,7 @@ ___ • **stateMutability**: *[StateMutability](#statemutability)* -*Defined in [index.ts:95](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L95)* +*Defined in [index.ts:95](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L95)* ___ @@ -3429,7 +3429,7 @@ ___ • **type**: *string* -*Defined in [index.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L90)* +*Defined in [index.ts:90](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L90)*
@@ -3446,7 +3446,7 @@ ___ • **enabled**: *boolean* -*Defined in [index.ts:700](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L700)* +*Defined in [index.ts:700](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L700)* ___ @@ -3454,7 +3454,7 @@ ___ • **runs**? : *undefined | number* -*Defined in [index.ts:701](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L701)* +*Defined in [index.ts:701](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L701)*
@@ -3469,9 +3469,9 @@ ___ ## sendAsync -▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* +▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L20)* +*Defined in [index.ts:20](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L20)* **Parameters:** @@ -3497,7 +3497,7 @@ Name | Type | • **address**: *string* -*Defined in [index.ts:483](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L483)* +*Defined in [index.ts:483](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L483)* ___ @@ -3505,7 +3505,7 @@ ___ • **blockHash**: *string | null* -*Defined in [index.ts:481](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L481)* +*Defined in [index.ts:481](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L481)* ___ @@ -3513,7 +3513,7 @@ ___ • **blockNumber**: *string | null* -*Defined in [index.ts:482](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L482)* +*Defined in [index.ts:482](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L482)* ___ @@ -3521,7 +3521,7 @@ ___ • **data**: *string* -*Defined in [index.ts:484](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L484)* +*Defined in [index.ts:484](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L484)* ___ @@ -3529,7 +3529,7 @@ ___ • **logIndex**: *string | null* -*Defined in [index.ts:478](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L478)* +*Defined in [index.ts:478](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L478)* ___ @@ -3537,7 +3537,7 @@ ___ • **topics**: *string[]* -*Defined in [index.ts:485](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L485)* +*Defined in [index.ts:485](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L485)* ___ @@ -3545,7 +3545,7 @@ ___ • **transactionHash**: *string* -*Defined in [index.ts:480](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L480)* +*Defined in [index.ts:480](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L480)* ___ @@ -3553,7 +3553,7 @@ ___ • **transactionIndex**: *string | null* -*Defined in [index.ts:479](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L479)* +*Defined in [index.ts:479](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L479)*
@@ -3570,7 +3570,7 @@ ___ • **component**: *"general" | "ewasm"* -*Defined in [index.ts:596](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L596)* +*Defined in [index.ts:596](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L596)* ___ @@ -3578,7 +3578,7 @@ ___ • **formattedMessage**? : *undefined | string* -*Defined in [index.ts:599](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L599)* +*Defined in [index.ts:599](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L599)* ___ @@ -3586,7 +3586,7 @@ ___ • **message**: *string* -*Defined in [index.ts:598](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L598)* +*Defined in [index.ts:598](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L598)* ___ @@ -3594,7 +3594,7 @@ ___ • **severity**: *[ErrorSeverity](#errorseverity)* -*Defined in [index.ts:597](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L597)* +*Defined in [index.ts:597](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L597)* ___ @@ -3602,7 +3602,7 @@ ___ • **sourceLocation**? : *[SourceLocation](#class-sourcelocation)* -*Defined in [index.ts:594](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L594)* +*Defined in [index.ts:594](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L594)* ___ @@ -3610,7 +3610,7 @@ ___ • **type**: *[ErrorType](#errortype)* -*Defined in [index.ts:595](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L595)* +*Defined in [index.ts:595](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L595)*
@@ -3627,7 +3627,7 @@ ___ • **id**: *number* -*Defined in [index.ts:705](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L705)* +*Defined in [index.ts:705](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L705)*
@@ -3644,7 +3644,7 @@ ___ • **end**: *number* -*Defined in [index.ts:605](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L605)* +*Defined in [index.ts:605](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L605)* ___ @@ -3652,7 +3652,7 @@ ___ • **file**: *string* -*Defined in [index.ts:603](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L603)* +*Defined in [index.ts:603](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L603)* ___ @@ -3660,7 +3660,7 @@ ___ • **start**: *number* -*Defined in [index.ts:604](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L604)* +*Defined in [index.ts:604](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L604)*
@@ -3677,7 +3677,7 @@ ___ • **abi**: *[ContractAbi](#contractabi)* -*Defined in [index.ts:556](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L556)* +*Defined in [index.ts:556](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L556)* ___ @@ -3685,7 +3685,7 @@ ___ • **devdoc**? : *[DevdocOutput](#class-devdocoutput)* -*Defined in [index.ts:558](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L558)* +*Defined in [index.ts:558](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L558)* ___ @@ -3693,7 +3693,7 @@ ___ • **evm**: *[EvmOutput](#class-evmoutput)* -*Defined in [index.ts:557](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L557)* +*Defined in [index.ts:557](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L557)*
@@ -3710,7 +3710,7 @@ ___ • **contracts**: *object* -*Defined in [index.ts:570](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L570)* +*Defined in [index.ts:570](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L570)* #### Type declaration: @@ -3724,7 +3724,7 @@ ___ • **errors**: *[SolcError](#class-solcerror)[]* -*Defined in [index.ts:562](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L562)* +*Defined in [index.ts:562](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L562)* ___ @@ -3732,7 +3732,7 @@ ___ • **sources**: *object* -*Defined in [index.ts:563](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L563)* +*Defined in [index.ts:563](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L563)* #### Type declaration: @@ -3753,7 +3753,7 @@ ___ • **depth**: *number* -*Defined in [index.ts:287](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L287)* +*Defined in [index.ts:287](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L287)* ___ @@ -3761,7 +3761,7 @@ ___ • **error**: *string* -*Defined in [index.ts:288](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L288)* +*Defined in [index.ts:288](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L288)* ___ @@ -3769,7 +3769,7 @@ ___ • **gas**: *number* -*Defined in [index.ts:289](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L289)* +*Defined in [index.ts:289](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L289)* ___ @@ -3777,7 +3777,7 @@ ___ • **gasCost**: *number* -*Defined in [index.ts:290](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L290)* +*Defined in [index.ts:290](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L290)* ___ @@ -3785,7 +3785,7 @@ ___ • **memory**: *string[]* -*Defined in [index.ts:291](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L291)* +*Defined in [index.ts:291](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L291)* ___ @@ -3793,7 +3793,7 @@ ___ • **op**: *[OpCode](#enumeration-opcode)* -*Defined in [index.ts:292](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L292)* +*Defined in [index.ts:292](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L292)* ___ @@ -3801,7 +3801,7 @@ ___ • **pc**: *number* -*Defined in [index.ts:293](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L293)* +*Defined in [index.ts:293](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L293)* ___ @@ -3809,7 +3809,7 @@ ___ • **stack**: *string[]* -*Defined in [index.ts:294](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L294)* +*Defined in [index.ts:294](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L294)* ___ @@ -3817,7 +3817,7 @@ ___ • **storage**: *object* -*Defined in [index.ts:295](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L295)* +*Defined in [index.ts:295](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L295)* #### Type declaration: @@ -3838,7 +3838,7 @@ ___ • **disableMemory**? : *undefined | false | true* -*Defined in [index.ts:510](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L510)* +*Defined in [index.ts:510](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L510)* ___ @@ -3846,7 +3846,7 @@ ___ • **disableStack**? : *undefined | false | true* -*Defined in [index.ts:511](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L511)* +*Defined in [index.ts:511](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L511)* ___ @@ -3854,7 +3854,7 @@ ___ • **disableStorage**? : *undefined | false | true* -*Defined in [index.ts:512](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L512)* +*Defined in [index.ts:512](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L512)* ___ @@ -3862,7 +3862,7 @@ ___ • **timeout**? : *undefined | string* -*Defined in [index.ts:514](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L514)* +*Defined in [index.ts:514](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L514)* ___ @@ -3870,7 +3870,7 @@ ___ • **tracer**? : *undefined | string* -*Defined in [index.ts:513](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L513)* +*Defined in [index.ts:513](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L513)*
@@ -3887,7 +3887,7 @@ ___ • **blockHash**: *string | null* -*Defined in [index.ts:371](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L371)* +*Defined in [index.ts:371](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L371)* ___ @@ -3895,7 +3895,7 @@ ___ • **blockNumber**: *number | null* -*Defined in [index.ts:372](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L372)* +*Defined in [index.ts:372](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L372)* ___ @@ -3903,7 +3903,7 @@ ___ • **from**: *string* -*Defined in [index.ts:374](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L374)* +*Defined in [index.ts:374](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L374)* ___ @@ -3911,7 +3911,7 @@ ___ • **gas**: *number* -*Defined in [index.ts:378](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L378)* +*Defined in [index.ts:378](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L378)* ___ @@ -3919,7 +3919,7 @@ ___ • **gasPrice**: *`BigNumber`* -*Defined in [index.ts:377](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L377)* +*Defined in [index.ts:377](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L377)* ___ @@ -3927,7 +3927,7 @@ ___ • **hash**: *string* -*Defined in [index.ts:369](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L369)* +*Defined in [index.ts:369](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L369)* ___ @@ -3935,7 +3935,7 @@ ___ • **input**: *string* -*Defined in [index.ts:379](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L379)* +*Defined in [index.ts:379](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L379)* ___ @@ -3943,7 +3943,7 @@ ___ • **nonce**: *number* -*Defined in [index.ts:370](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L370)* +*Defined in [index.ts:370](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L370)* ___ @@ -3951,7 +3951,7 @@ ___ • **to**: *string | null* -*Defined in [index.ts:375](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L375)* +*Defined in [index.ts:375](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L375)* ___ @@ -3959,7 +3959,7 @@ ___ • **transactionIndex**: *number | null* -*Defined in [index.ts:373](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L373)* +*Defined in [index.ts:373](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L373)* ___ @@ -3967,7 +3967,7 @@ ___ • **value**: *`BigNumber`* -*Defined in [index.ts:376](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L376)* +*Defined in [index.ts:376](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L376)*
@@ -3986,7 +3986,7 @@ ___ • **blockHash**: *string* -*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L440)* +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L440)* ___ @@ -3994,7 +3994,7 @@ ___ • **blockNumber**: *number* -*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L441)* +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L441)* ___ @@ -4002,7 +4002,7 @@ ___ • **contractAddress**: *string | null* -*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L449)* +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L449)* ___ @@ -4010,7 +4010,7 @@ ___ • **cumulativeGasUsed**: *number* -*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L447)* +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L447)* ___ @@ -4018,7 +4018,7 @@ ___ • **from**: *string* -*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L444)* +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L444)* ___ @@ -4026,7 +4026,7 @@ ___ • **gasUsed**: *number* -*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L448)* +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L448)* ___ @@ -4034,7 +4034,7 @@ ___ • **logs**: *[LogEntry](#class-logentry)[]* -*Defined in [index.ts:450](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L450)* +*Defined in [index.ts:450](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L450)* ___ @@ -4042,7 +4042,7 @@ ___ • **status**: *[TransactionReceiptStatus](#transactionreceiptstatus)* -*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L446)* +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L446)* ___ @@ -4050,7 +4050,7 @@ ___ • **to**: *string* -*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L445)* +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L445)* ___ @@ -4058,7 +4058,7 @@ ___ • **transactionHash**: *string* -*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L442)* +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L442)* ___ @@ -4066,7 +4066,7 @@ ___ • **transactionIndex**: *number* -*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L443)* +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L443)*
@@ -4089,9 +4089,9 @@ otherwise we don't. • **blockHash**: *string* -*Inherited from [TransactionReceipt](#blockhash)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[blockHash](#blockhash)* -*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L440)* +*Defined in [index.ts:440](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L440)* ___ @@ -4099,9 +4099,9 @@ ___ • **blockNumber**: *number* -*Inherited from [TransactionReceipt](#blocknumber)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[blockNumber](#blocknumber)* -*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L441)* +*Defined in [index.ts:441](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L441)* ___ @@ -4109,9 +4109,9 @@ ___ • **contractAddress**: *string | null* -*Inherited from [TransactionReceipt](#contractaddress)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[contractAddress](#contractaddress)* -*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L449)* +*Defined in [index.ts:449](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L449)* ___ @@ -4119,9 +4119,9 @@ ___ • **cumulativeGasUsed**: *number* -*Inherited from [TransactionReceipt](#cumulativegasused)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[cumulativeGasUsed](#cumulativegasused)* -*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L447)* +*Defined in [index.ts:447](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L447)* ___ @@ -4129,9 +4129,9 @@ ___ • **from**: *string* -*Inherited from [TransactionReceipt](#from)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[from](#from)* -*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L444)* +*Defined in [index.ts:444](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L444)* ___ @@ -4139,9 +4139,9 @@ ___ • **gasUsed**: *number* -*Inherited from [TransactionReceipt](#gasused)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[gasUsed](#gasused)* -*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L448)* +*Defined in [index.ts:448](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L448)* ___ @@ -4149,9 +4149,9 @@ ___ • **logs**: *`Array | LogEntry>`* -*Overrides [TransactionReceipt](#logs)* +*Overrides [TransactionReceipt](_index_.transactionreceipt.md).[logs](#logs)* -*Defined in [index.ts:506](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L506)* +*Defined in [index.ts:506](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L506)* ___ @@ -4159,9 +4159,9 @@ ___ • **status**: *[TransactionReceiptStatus](#transactionreceiptstatus)* -*Inherited from [TransactionReceipt](#status)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[status](#status)* -*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L446)* +*Defined in [index.ts:446](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L446)* ___ @@ -4169,9 +4169,9 @@ ___ • **to**: *string* -*Inherited from [TransactionReceipt](#to)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[to](#to)* -*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L445)* +*Defined in [index.ts:445](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L445)* ___ @@ -4179,9 +4179,9 @@ ___ • **transactionHash**: *string* -*Inherited from [TransactionReceipt](#transactionhash)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[transactionHash](#transactionhash)* -*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L442)* +*Defined in [index.ts:442](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L442)* ___ @@ -4189,9 +4189,9 @@ ___ • **transactionIndex**: *number* -*Inherited from [TransactionReceipt](#transactionindex)* +*Inherited from [TransactionReceipt](_index_.transactionreceipt.md).[transactionIndex](#transactionindex)* -*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L443)* +*Defined in [index.ts:443](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L443)*
@@ -4208,7 +4208,7 @@ ___ • **gas**: *number* -*Defined in [index.ts:299](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L299)* +*Defined in [index.ts:299](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L299)* ___ @@ -4216,7 +4216,7 @@ ___ • **returnValue**: *any* -*Defined in [index.ts:300](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L300)* +*Defined in [index.ts:300](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L300)* ___ @@ -4224,7 +4224,7 @@ ___ • **structLogs**: *[StructLog](#class-structlog)[]* -*Defined in [index.ts:301](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L301)* +*Defined in [index.ts:301](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L301)*
@@ -4243,9 +4243,9 @@ ___ • **components**: *[DataItem](#class-dataitem)[]* -*Overrides [DataItem](#optional-components)* +*Overrides [DataItem](_index_.dataitem.md).[components](#optional-components)* -*Defined in [index.ts:135](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L135)* +*Defined in [index.ts:135](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L135)* ___ @@ -4253,9 +4253,9 @@ ___ • **name**: *string* -*Inherited from [DataItem](#name)* +*Inherited from [DataItem](_index_.dataitem.md).[name](#name)* -*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L129)* +*Defined in [index.ts:129](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L129)* ___ @@ -4263,9 +4263,9 @@ ___ • **type**: *string* -*Inherited from [DataItem](#type)* +*Inherited from [DataItem](_index_.dataitem.md).[type](#type)* -*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L130)* +*Defined in [index.ts:130](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L130)*
@@ -4286,9 +4286,9 @@ ___ • **data**? : *undefined | string* -*Inherited from [CallTxDataBase](#optional-data)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[data](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L387)* ___ @@ -4296,7 +4296,7 @@ ___ • **from**: *string* -*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L392)* +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L392)* ___ @@ -4304,9 +4304,9 @@ ___ • **gas**? : *number | string | `BigNumber`* -*Inherited from [CallTxDataBase](#optional-gas)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[gas](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L385)* ___ @@ -4314,9 +4314,9 @@ ___ • **gasPrice**? : *number | string | `BigNumber`* -*Inherited from [CallTxDataBase](#optional-gasprice)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[gasPrice](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L386)* ___ @@ -4324,9 +4324,9 @@ ___ • **nonce**? : *undefined | number* -*Inherited from [CallTxDataBase](#optional-nonce)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[nonce](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L388)* ___ @@ -4334,9 +4334,9 @@ ___ • **to**? : *undefined | string* -*Inherited from [CallTxDataBase](#optional-to)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[to](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L383)* ___ @@ -4344,9 +4344,9 @@ ___ • **value**? : *number | string | `BigNumber`* -*Inherited from [CallTxDataBase](#optional-value)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[value](#optional-value)* -*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L384)* +*Defined in [index.ts:384](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L384)*
@@ -4365,9 +4365,9 @@ ___ • **data**? : *undefined | string* -*Inherited from [CallTxDataBase](#optional-data)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[data](#optional-data)* -*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L387)* +*Defined in [index.ts:387](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L387)* ___ @@ -4375,9 +4375,9 @@ ___ • **from**: *string* -*Inherited from [TxData](#from)* +*Inherited from [TxData](_index_.txdata.md).[from](#from)* -*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L392)* +*Defined in [index.ts:392](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L392)* ___ @@ -4385,9 +4385,9 @@ ___ • **gas**? : *number | string | `BigNumber`* -*Inherited from [CallTxDataBase](#optional-gas)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[gas](#optional-gas)* -*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L385)* +*Defined in [index.ts:385](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L385)* ___ @@ -4395,9 +4395,9 @@ ___ • **gasPrice**? : *number | string | `BigNumber`* -*Inherited from [CallTxDataBase](#optional-gasprice)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[gasPrice](#optional-gasprice)* -*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L386)* +*Defined in [index.ts:386](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L386)* ___ @@ -4405,9 +4405,9 @@ ___ • **nonce**? : *undefined | number* -*Inherited from [CallTxDataBase](#optional-nonce)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[nonce](#optional-nonce)* -*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L388)* +*Defined in [index.ts:388](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L388)* ___ @@ -4415,9 +4415,9 @@ ___ • **to**? : *undefined | string* -*Inherited from [CallTxDataBase](#optional-to)* +*Inherited from [CallTxDataBase](_index_.calltxdatabase.md).[to](#optional-to)* -*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L383)* +*Defined in [index.ts:383](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L383)* ___ @@ -4425,9 +4425,9 @@ ___ • **value**? : *`BigNumber`* -*Overrides [CallTxDataBase](#optional-value)* +*Overrides [CallTxDataBase](_index_.calltxdatabase.md).[value](#optional-value)* -*Defined in [index.ts:434](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L434)* +*Defined in [index.ts:434](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L434)*
@@ -4448,7 +4448,7 @@ This interface allowed sending synchonous requests, support for which was later ▸ **send**(`payload`: [JSONRPCRequestPayload](_index_.jsonrpcrequestpayload.md)): *[JSONRPCResponsePayload](#class-jsonrpcresponsepayload)* -*Defined in [index.ts:45](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L45)* +*Defined in [index.ts:45](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L45)* **Parameters:** @@ -4462,9 +4462,9 @@ ___ ## sendAsync -▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* +▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:44](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L44)* +*Defined in [index.ts:44](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L44)* **Parameters:** @@ -4492,9 +4492,9 @@ before the first attempts to conform to EIP1193 ## send -▸ **send**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* +▸ **send**(`payload`: [JSONRPCRequestPayload](_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:54](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L54)* +*Defined in [index.ts:54](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L54)* **Parameters:** @@ -4524,7 +4524,7 @@ however it does not conform entirely. ▸ **send**(`method`: string, `params?`: any[]): *`Promise`* -*Defined in [index.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L63)* +*Defined in [index.ts:63](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L63)* **Parameters:** @@ -4554,7 +4554,7 @@ add here • **isMetaMask**? : *undefined | false | true* -*Defined in [index.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L31)* +*Defined in [index.ts:31](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L31)* ___ @@ -4562,7 +4562,7 @@ ___ • **isParity**? : *undefined | false | true* -*Defined in [index.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L32)* +*Defined in [index.ts:32](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L32)* ___ @@ -4570,7 +4570,7 @@ ___ • **isZeroExProvider**? : *undefined | false | true* -*Defined in [index.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L30)* +*Defined in [index.ts:30](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L30)* ### Methods @@ -4578,7 +4578,7 @@ ___ ▸ **enable**(): *`Promise`* -*Defined in [index.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L34)* +*Defined in [index.ts:34](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L34)* **Returns:** *`Promise`* @@ -4586,9 +4586,9 @@ ___ ## sendAsync -▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](#jsonrpcerrorcallback)): *void* +▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void* -*Defined in [index.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L35)* +*Defined in [index.ts:35](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L35)* **Parameters:** @@ -4605,7 +4605,7 @@ ___ ▸ **stop**(): *void* -*Defined in [index.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/ethereum-types/src/index.ts#L33)* +*Defined in [index.ts:33](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/ethereum-types/src/index.ts#L33)* **Returns:** *void* diff --git a/packages/json-schemas/docs/reference.mdx b/packages/json-schemas/docs/reference.mdx index 2dff638921..dcc41e144c 100644 --- a/packages/json-schemas/docs/reference.mdx +++ b/packages/json-schemas/docs/reference.mdx @@ -13,7 +13,7 @@ A validator for [JSON-schemas](http://json-schema.org/) \+ **new SchemaValidator**(): *[SchemaValidator](#class-schemavalidator)* -*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/json-schemas/src/schema_validator.ts#L15)* +*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/json-schemas/src/schema_validator.ts#L15)* Instantiates a SchemaValidator instance @@ -25,7 +25,7 @@ Instantiates a SchemaValidator instance ▸ **addSchema**(`schema`: `Schema`): *void* -*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/json-schemas/src/schema_validator.ts#L32)* +*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/json-schemas/src/schema_validator.ts#L32)* Add a schema to the validator. All schemas and sub-schemas must be added to the validator before the `validate` and `isValid` methods can be called with @@ -45,7 +45,7 @@ ___ ▸ **isValid**(`instance`: any, `schema`: `Schema`): *boolean* -*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/json-schemas/src/schema_validator.ts#L57)* +*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/json-schemas/src/schema_validator.ts#L57)* Check whether an instance properly adheres to a JSON schema @@ -66,7 +66,7 @@ ___ ▸ **validate**(`instance`: any, `schema`: `Schema`): *`ValidatorResult`* -*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/json-schemas/src/schema_validator.ts#L46)* +*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/json-schemas/src/schema_validator.ts#L46)* Validate the JS object conforms to a specific JSON schema diff --git a/packages/migrations/docs/reference.mdx b/packages/migrations/docs/reference.mdx index 81fc131e24..4a9b5848a6 100644 --- a/packages/migrations/docs/reference.mdx +++ b/packages/migrations/docs/reference.mdx @@ -7,7 +7,7 @@ • **AccountLevels**: = "AccountLevels" -*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L26)* +*Defined in [types.ts:26](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L26)* ___ @@ -15,7 +15,7 @@ ___ • **Arbitrage**: = "Arbitrage" -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L28)* ___ @@ -23,7 +23,7 @@ ___ • **DummyToken**: = "DummyToken" -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L23)* ___ @@ -31,7 +31,7 @@ ___ • **EtherDelta**: = "EtherDelta" -*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L27)* +*Defined in [types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L27)* ___ @@ -39,7 +39,7 @@ ___ • **Exchange**: = "Exchange" -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L21)* ___ @@ -47,7 +47,7 @@ ___ • **MultiSigWalletWithTimeLock**: = "MultiSigWalletWithTimeLock" -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L20)* ___ @@ -55,7 +55,7 @@ ___ • **MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress**: = "MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress" -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L25)* ___ @@ -63,7 +63,7 @@ ___ • **TokenRegistry**: = "TokenRegistry" -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L19)* ___ @@ -71,7 +71,7 @@ ___ • **TokenTransferProxy**: = "TokenTransferProxy" -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L18)* ___ @@ -79,7 +79,7 @@ ___ • **WETH9**: = "WETH9" -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L24)* ___ @@ -87,7 +87,7 @@ ___ • **ZRXToken**: = "ZRXToken" -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L22)*
@@ -104,7 +104,7 @@ ___ • **address**? : *undefined | string* -*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L4)* +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L4)* ___ @@ -112,7 +112,7 @@ ___ • **decimals**: *`BigNumber`* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L7)* ___ @@ -120,7 +120,7 @@ ___ • **ipfsHash**: *string* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L8)* ___ @@ -128,7 +128,7 @@ ___ • **name**: *string* -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L5)* ___ @@ -136,7 +136,7 @@ ___ • **swarmHash**: *string* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L9)* ___ @@ -144,7 +144,7 @@ ___ • **symbol**: *string* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L6)*
@@ -161,7 +161,7 @@ ___ • **name**: *string* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L13)* ___ @@ -169,7 +169,7 @@ ___ • **symbol**: *string* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/migrations/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/migrations/src/types.ts#L14)*
diff --git a/packages/order-utils/docs/reference.mdx b/packages/order-utils/docs/reference.mdx index 8501c878cb..ffee8d774b 100644 --- a/packages/order-utils/docs/reference.mdx +++ b/packages/order-utils/docs/reference.mdx @@ -15,7 +15,7 @@ for an Ethereum address and assetData ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L15)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L15)* Get balance of assetData for userAddress @@ -36,7 +36,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L22)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_fetcher.ts#L22)* Get the 0x asset proxy allowance of assetData for userAddress @@ -70,7 +70,7 @@ Allowance amount in base units ▸ **deleteAll**(): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L10)* **Returns:** *void* @@ -80,7 +80,7 @@ ___ ▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L7)* **Parameters:** @@ -97,7 +97,7 @@ ___ ▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L9)* **Parameters:** @@ -114,7 +114,7 @@ ___ ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:4](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L4)* **Parameters:** @@ -131,7 +131,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L5)* **Parameters:** @@ -148,7 +148,7 @@ ___ ▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L6)* **Parameters:** @@ -166,7 +166,7 @@ ___ ▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* -*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* +*Defined in [abstract/abstract_balance_and_proxy_allowance_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_balance_and_proxy_allowance_lazy_store.ts#L8)* **Parameters:** @@ -197,7 +197,7 @@ and whether it's been cancelled. ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L15)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L15)* Get the amount of the order's takerToken amount already filled @@ -217,7 +217,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L22)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L22)* **Returns:** *string* @@ -227,7 +227,7 @@ ___ ▸ **isOrderCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L21)* +*Defined in [abstract/abstract_order_filled_cancelled_fetcher.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts#L21)* Whether an order is cancelled @@ -260,7 +260,7 @@ Whether or not the order is cancelled ▸ **deleteAll**(): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L11)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:11](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L11)* **Returns:** *void* @@ -270,7 +270,7 @@ ___ ▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L8)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:8](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L8)* **Parameters:** @@ -286,7 +286,7 @@ ___ ▸ **deleteIsCancelled**(`orderHash`: string): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L10)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:10](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L10)* **Parameters:** @@ -302,7 +302,7 @@ ___ ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L5)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:5](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L5)* **Parameters:** @@ -318,7 +318,7 @@ ___ ▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L6)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:6](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L6)* **Parameters:** @@ -334,7 +334,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L12)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L12)* **Returns:** *string* @@ -344,7 +344,7 @@ ___ ▸ **setFilledTakerAmount**(`orderHash`: string, `balance`: `BigNumber`): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L7)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:7](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L7)* **Parameters:** @@ -361,7 +361,7 @@ ___ ▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* -*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L9)* +*Defined in [abstract/abstract_order_filled_cancelled_lazy_store.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/abstract/abstract_order_filled_cancelled_lazy_store.ts#L9)* **Parameters:** @@ -390,7 +390,7 @@ An exchange transfer simulator which simulates asset transfers exactly how the \+ **new ExchangeTransferSimulator**(`store`: [AbstractBalanceAndProxyAllowanceLazyStore](_abstract_abstract_balance_and_proxy_allowance_lazy_store_.abstractbalanceandproxyallowancelazystore.md)): *[ExchangeTransferSimulator](#class-exchangetransfersimulator)* -*Defined in [exchange_transfer_simulator.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/exchange_transfer_simulator.ts#L50)* +*Defined in [exchange_transfer_simulator.ts:50](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/exchange_transfer_simulator.ts#L50)* Instantiate a ExchangeTransferSimulator @@ -410,7 +410,7 @@ an instance of ExchangeTransferSimulator ▸ **transferFromAsync**(`assetData`: string, `from`: string, `to`: string, `amountInBaseUnits`: `BigNumber`, `tradeSide`: [TradeSide](#enumeration-tradeside), `transferType`: [TransferType](#enumeration-transfertype)): *`Promise`* -*Defined in [exchange_transfer_simulator.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/exchange_transfer_simulator.ts#L70)* +*Defined in [exchange_transfer_simulator.ts:70](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/exchange_transfer_simulator.ts#L70)* Simulates transferFrom call performed by a proxy @@ -442,7 +442,7 @@ Name | Type | Description | \+ **new OrderStateUtils**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](_abstract_abstract_balance_and_proxy_allowance_fetcher_.abstractbalanceandproxyallowancefetcher.md), `orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](_abstract_abstract_order_filled_cancelled_fetcher_.abstractorderfilledcancelledfetcher.md)): *[OrderStateUtils](#class-orderstateutils)* -*Defined in [order_state_utils.ts:98](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_state_utils.ts#L98)* +*Defined in [order_state_utils.ts:98](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_state_utils.ts#L98)* Instantiate OrderStateUtils @@ -463,7 +463,7 @@ Instance of OrderStateUtils ▸ **getMaxFillableTakerAssetAmountAsync**(`signedOrder`: `SignedOrder`, `takerAddress`: string): *`Promise`* -*Defined in [order_state_utils.ts:192](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_state_utils.ts#L192)* +*Defined in [order_state_utils.ts:192](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_state_utils.ts#L192)* Get the max amount of the supplied order's takerAmount that could still be filled @@ -484,7 +484,7 @@ ___ ▸ **getOpenOrderRelevantStateAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [order_state_utils.ts:162](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_state_utils.ts#L162)* +*Defined in [order_state_utils.ts:162](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_state_utils.ts#L162)* Get state relevant to an order (i.e makerBalance, makerAllowance, filledTakerAssetAmount, etc... @@ -504,7 +504,7 @@ ___ ▸ **getOpenOrderStateAsync**(`signedOrder`: `SignedOrder`, `transactionHash?`: undefined | string): *`Promise`* -*Defined in [order_state_utils.ts:122](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_state_utils.ts#L122)* +*Defined in [order_state_utils.ts:122](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_state_utils.ts#L122)* Get the orderState for an "open" order (i.e where takerAddress=NULL_ADDRESS) This method will only check the maker's balance/allowance to calculate the @@ -539,7 +539,7 @@ A utility class for validating orders \+ **new OrderValidationUtils**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](_abstract_abstract_order_filled_cancelled_fetcher_.abstractorderfilledcancelledfetcher.md), `supportedProvider`: `SupportedProvider`): *[OrderValidationUtils](#class-ordervalidationutils)* -*Defined in [order_validation_utils.ts:159](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L159)* +*Defined in [order_validation_utils.ts:159](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_validation_utils.ts#L159)* Instantiate OrderValidationUtils @@ -560,7 +560,7 @@ An instance of OrderValidationUtils ▸ **validateFillOrderThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `takerAddress`: string, `zrxAssetData`: string): *`Promise`* -*Defined in [order_validation_utils.ts:237](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L237)* +*Defined in [order_validation_utils.ts:237](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_validation_utils.ts#L237)* Validate a call to FillOrder and throw if it wouldn't succeed @@ -583,7 +583,7 @@ ___ ▸ **validateOrderFillableOrThrowAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `zrxAssetData`: string, `expectedFillTakerTokenAmount?`: `BigNumber`): *`Promise`* -*Defined in [order_validation_utils.ts:185](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L185)* +*Defined in [order_validation_utils.ts:185](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_validation_utils.ts#L185)* Validate if the supplied order is fillable, and throw if it isn't @@ -604,7 +604,7 @@ ___ ▸ **isRoundingErrorFloor**(`numerator`: `BigNumber`, `denominator`: `BigNumber`, `target`: `BigNumber`): *boolean* -*Defined in [order_validation_utils.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L34)* +*Defined in [order_validation_utils.ts:34](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_validation_utils.ts#L34)* A Typescript implementation mirroring the implementation of isRoundingError in the Exchange smart contract @@ -625,7 +625,7 @@ ___ ▸ **validateFillOrderBalancesAllowancesThrowIfInvalidAsync**(`exchangeTradeEmulator`: [ExchangeTransferSimulator](#class-exchangetransfersimulator), `signedOrder`: `SignedOrder`, `fillTakerAssetAmount`: `BigNumber`, `senderAddress`: string, `zrxAssetData`: string): *`Promise`* -*Defined in [order_validation_utils.ts:61](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L61)* +*Defined in [order_validation_utils.ts:61](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_validation_utils.ts#L61)* Validate that the maker & taker have sufficient balances/allowances to fill the supplied order to the fillTakerAssetAmount amount @@ -648,7 +648,7 @@ ___ ▸ **validateMakerTransferThrowIfInvalidAsync**(`networkId`: `NetworkId`, `supportedProvider`: `SupportedProvider`, `signedOrder`: `SignedOrder`, `makerAssetAmount`: `BigNumber`, `takerAddress?`: undefined | string): *`Promise`* -*Defined in [order_validation_utils.ts:127](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/order_validation_utils.ts#L127)* +*Defined in [order_validation_utils.ts:127](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/order_validation_utils.ts#L127)* Validate the transfer from the maker to the taker. This is simulated on-chain via an eth_call. If this call fails, the asset is currently nontransferable. @@ -680,7 +680,7 @@ Name | Type | Description | \+ **new RemainingFillableCalculator**(`orderFee`: `BigNumber`, `orderAssetAmount`: `BigNumber`, `isTraderAssetZRX`: boolean, `transferrableAssetAmount`: `BigNumber`, `transferrableFeeAmount`: `BigNumber`, `remainingOrderAssetAmount`: `BigNumber`): *[RemainingFillableCalculator](#class-remainingfillablecalculator)* -*Defined in [remaining_fillable_calculator.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/remaining_fillable_calculator.ts#L11)* +*Defined in [remaining_fillable_calculator.ts:11](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/remaining_fillable_calculator.ts#L11)* **Parameters:** @@ -701,7 +701,7 @@ Name | Type | ▸ **computeRemainingFillable**(): *`BigNumber`* -*Defined in [remaining_fillable_calculator.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/remaining_fillable_calculator.ts#L30)* +*Defined in [remaining_fillable_calculator.ts:30](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/remaining_fillable_calculator.ts#L30)* **Returns:** *`BigNumber`* @@ -726,7 +726,7 @@ Copy on read store for balances/proxyAllowances of tokens/accounts \+ **new BalanceAndProxyAllowanceLazyStore**(`balanceAndProxyAllowanceFetcher`: [AbstractBalanceAndProxyAllowanceFetcher](_abstract_abstract_balance_and_proxy_allowance_fetcher_.abstractbalanceandproxyallowancefetcher.md)): *[BalanceAndProxyAllowanceLazyStore](#class-balanceandproxyallowancelazystore)* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L23)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:23](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L23)* Instantiates a BalanceAndProxyAllowanceLazyStore @@ -746,7 +746,7 @@ Instance of BalanceAndProxyAllowanceLazyStore ▸ **deleteAll**(): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:136](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L136)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:136](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L136)* Delete all balances & allowances @@ -758,7 +758,7 @@ ___ ▸ **deleteAllERC721ProxyAllowance**(`tokenAddress`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:119](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L119)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:119](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L119)* Clear all ERC721 0x proxy allowances a user has on all items of a specific ERC721 contract @@ -777,7 +777,7 @@ ___ ▸ **deleteBalance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L63)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L63)* Clear the balance of an asset for a user @@ -796,7 +796,7 @@ ___ ▸ **deleteProxyAllowance**(`assetData`: string, `userAddress`: string): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:106](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L106)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:106](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L106)* Clear the 0x asset proxy allowance @@ -815,7 +815,7 @@ ___ ▸ **getBalanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L39)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:39](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L39)* Get a users balance of an asset @@ -834,7 +834,7 @@ ___ ▸ **getProxyAllowanceAsync**(`assetData`: string, `userAddress`: string): *`Promise`* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L76)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L76)* Get the 0x asset proxy allowance @@ -853,7 +853,7 @@ ___ ▸ **setBalance**(`assetData`: string, `userAddress`: string, `balance`: `BigNumber`): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L52)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:52](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L52)* Set the balance of an asset for a user @@ -873,7 +873,7 @@ ___ ▸ **setProxyAllowance**(`assetData`: string, `userAddress`: string, `proxyAllowance`: `BigNumber`): *void* -*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:95](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L95)* +*Defined in [store/balance_and_proxy_allowance_lazy_store.ts:95](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/balance_and_proxy_allowance_lazy_store.ts#L95)* Set the 0x asset proxy allowance @@ -908,7 +908,7 @@ Copy on read store for balances/proxyAllowances of tokens/accounts \+ **new OrderFilledCancelledLazyStore**(`orderFilledCancelledFetcher`: [AbstractOrderFilledCancelledFetcher](_abstract_abstract_order_filled_cancelled_fetcher_.abstractorderfilledcancelledfetcher.md)): *[OrderFilledCancelledLazyStore](#class-orderfilledcancelledlazystore)* -*Defined in [store/order_filled_cancelled_lazy_store.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L19)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L19)* Instantiate a OrderFilledCancelledLazyStore @@ -928,7 +928,7 @@ An instance of OrderFilledCancelledLazyStore ▸ **deleteAll**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L90)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:90](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L90)* Clear all filled/cancelled state @@ -940,7 +940,7 @@ ___ ▸ **deleteAllFilled**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:103](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L103)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:103](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L103)* Clear all filled state @@ -952,7 +952,7 @@ ___ ▸ **deleteAllIsCancelled**(): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:97](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L97)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:97](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L97)* Clear all cancelled state @@ -964,7 +964,7 @@ ___ ▸ **deleteFilledTakerAmount**(`orderHash`: string): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L55)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L55)* Clear the filledTakerAssetAmount of an order @@ -982,7 +982,7 @@ ___ ▸ **deleteIsCancelled**(`orderHash`: string): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:84](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L84)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:84](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L84)* Clear whether the order has been cancelled if already set @@ -1000,7 +1000,7 @@ ___ ▸ **getFilledTakerAmountAsync**(`orderHash`: string): *`Promise`* -*Defined in [store/order_filled_cancelled_lazy_store.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L35)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:35](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L35)* Get the filledTakerAssetAmount of an order @@ -1020,7 +1020,7 @@ ___ ▸ **getIsCancelledAsync**(`signedOrder`: `SignedOrder`): *`Promise`* -*Defined in [store/order_filled_cancelled_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L63)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:63](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L63)* Check if an order has been cancelled @@ -1040,7 +1040,7 @@ ___ ▸ **getZRXAssetData**(): *string* -*Defined in [store/order_filled_cancelled_lazy_store.ts:109](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L109)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:109](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L109)* Get the ZRX assetData @@ -1052,7 +1052,7 @@ ___ ▸ **setFilledTakerAmount**(`orderHash`: string, `filledTakerAmount`: `BigNumber`): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L48)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:48](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L48)* Set the filledTakerAssetAmount of an order @@ -1071,7 +1071,7 @@ ___ ▸ **setIsCancelled**(`orderHash`: string, `isCancelled`: boolean): *void* -*Defined in [store/order_filled_cancelled_lazy_store.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L77)* +*Defined in [store/order_filled_cancelled_lazy_store.ts:77](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/store/order_filled_cancelled_lazy_store.ts#L77)* Set whether an order has been cancelled or not @@ -1095,7 +1095,7 @@ Name | Type | Description | • **Maker**: = "maker" -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L9)* ___ @@ -1103,7 +1103,7 @@ ___ • **Taker**: = "taker" -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L10)*
@@ -1116,7 +1116,7 @@ ___ • **Fee**: = "fee" -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L15)* ___ @@ -1124,7 +1124,7 @@ ___ • **Trade**: = "trade" -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L14)*
@@ -1137,7 +1137,7 @@ ___ • **InvalidMetamaskSigner**: = "MetaMask provider must be wrapped in a MetamaskSubprovider (from the '@0x/subproviders' package) in order to work with this method." -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L5)* ___ @@ -1145,7 +1145,7 @@ ___ • **InvalidSignature**: = "INVALID_SIGNATURE" -*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L4)* +*Defined in [types.ts:4](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L4)*
@@ -1162,7 +1162,7 @@ ___ • **expirationTimeSeconds**? : *`BigNumber`* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L25)* ___ @@ -1170,7 +1170,7 @@ ___ • **feeRecipientAddress**? : *undefined | string* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L23)* ___ @@ -1178,7 +1178,7 @@ ___ • **makerFee**? : *`BigNumber`* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L21)* ___ @@ -1186,7 +1186,7 @@ ___ • **salt**? : *`BigNumber`* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L24)* ___ @@ -1194,7 +1194,7 @@ ___ • **senderAddress**? : *undefined | string* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L20)* ___ @@ -1202,7 +1202,7 @@ ___ • **takerAddress**? : *undefined | string* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L19)* ___ @@ -1210,7 +1210,7 @@ ___ • **takerFee**? : *`BigNumber`* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L22)*
@@ -1231,7 +1231,7 @@ ___ • **feeOrdersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L70)* +*Defined in [types.ts:70](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L70)* ___ @@ -1239,7 +1239,7 @@ ___ • **remainingFeeAmount**: *`BigNumber`* -*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L71)* +*Defined in [types.ts:71](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L71)* ___ @@ -1247,7 +1247,7 @@ ___ • **resultFeeOrders**: *`T`[]* -*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L69)* +*Defined in [types.ts:69](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L69)*
@@ -1273,7 +1273,7 @@ Defaults to 0 • **remainingFillableFeeAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L64)* ___ @@ -1281,7 +1281,7 @@ ___ • **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L63)* ___ @@ -1289,7 +1289,7 @@ ___ • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L65)*
@@ -1312,7 +1312,7 @@ Defaults to 0 • **remainingFillableMakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L36)* ___ @@ -1320,7 +1320,7 @@ ___ • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L37)*
@@ -1343,7 +1343,7 @@ Defaults to 0 • **remainingFillableTakerAssetAmounts**? : *`BigNumber`[]* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L48)* ___ @@ -1351,7 +1351,7 @@ ___ • **slippageBufferAmount**? : *`BigNumber`* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L49)*
@@ -1372,7 +1372,7 @@ ___ • **ordersRemainingFillableMakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L76)* ___ @@ -1380,7 +1380,7 @@ ___ • **remainingFillAmount**: *`BigNumber`* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L77)* ___ @@ -1388,7 +1388,7 @@ ___ • **resultOrders**: *`T`[]* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L75)*
@@ -1409,7 +1409,7 @@ ___ • **ordersRemainingFillableTakerAssetAmounts**: *`BigNumber`[]* -*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L82)* +*Defined in [types.ts:82](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L82)* ___ @@ -1417,7 +1417,7 @@ ___ • **remainingFillAmount**: *`BigNumber`* -*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L83)* +*Defined in [types.ts:83](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L83)* ___ @@ -1425,7 +1425,7 @@ ___ • **resultOrders**: *`T`[]* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/order-utils/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/order-utils/src/types.ts#L81)*
diff --git a/packages/sol-compiler/docs/reference.mdx b/packages/sol-compiler/docs/reference.mdx index c52cd121e3..c02d8db9da 100644 --- a/packages/sol-compiler/docs/reference.mdx +++ b/packages/sol-compiler/docs/reference.mdx @@ -14,7 +14,7 @@ to artifact files. \+ **new Compiler**(`opts?`: `CompilerOptions`): *[Compiler](#class-compiler)* -*Defined in [compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/compiler.ts#L94)* +*Defined in [compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/compiler.ts#L94)* Instantiates a new instance of the Compiler class. @@ -34,7 +34,7 @@ An instance of the Compiler class. ▸ **compileAsync**(): *`Promise`* -*Defined in [compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/compiler.ts#L132)* +*Defined in [compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/compiler.ts#L132)* Compiles selected Solidity files found in `contractsDir` and writes JSON artifacts to `artifactsDir`. @@ -46,7 +46,7 @@ ___ ▸ **getCompilerOutputsAsync**(): *`Promise`* -*Defined in [compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/compiler.ts#L145)* +*Defined in [compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/compiler.ts#L145)* Compiles Solidity files specified during instantiation, and returns the compiler output given by solc. Return value is an array of outputs: @@ -63,7 +63,7 @@ ___ ▸ **watchAsync**(): *`Promise`* -*Defined in [compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/compiler.ts#L149)* +*Defined in [compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/compiler.ts#L149)* **Returns:** *`Promise`* @@ -84,7 +84,7 @@ ___ \+ **new CompilationError**(`errorsCount`: number): *[CompilationError](#class-compilationerror)* -*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L39)* +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L39)* **Parameters:** @@ -100,7 +100,7 @@ Name | Type | • **errorsCount**: *number* -*Defined in [utils/types.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L38)* +*Defined in [utils/types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L38)* ___ @@ -140,7 +140,7 @@ ___ • **typeName**: *string* = "CompilationError" -*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L39)* +*Defined in [utils/types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L39)* ___ @@ -161,7 +161,7 @@ ___ • **Constructor**: = "constructor" -*Defined in [utils/types.ts:3](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L3)* +*Defined in [utils/types.ts:3](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L3)* ___ @@ -169,7 +169,7 @@ ___ • **Event**: = "event" -*Defined in [utils/types.ts:4](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L4)* +*Defined in [utils/types.ts:4](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L4)* ___ @@ -177,7 +177,7 @@ ___ • **Fallback**: = "fallback" -*Defined in [utils/types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L5)* +*Defined in [utils/types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L5)* ___ @@ -185,7 +185,7 @@ ___ • **Function**: = "function" -*Defined in [utils/types.ts:2](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L2)* +*Defined in [utils/types.ts:2](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L2)*
@@ -212,7 +212,7 @@ ___ • **solcVersionRange**: *string* -*Defined in [utils/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L21)* +*Defined in [utils/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L21)* ___ @@ -220,7 +220,7 @@ ___ • **sourceHash**: *`Buffer`* -*Defined in [utils/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L22)* +*Defined in [utils/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L22)* ___ @@ -228,7 +228,7 @@ ___ • **sourceTreeHash**: *`Buffer`* -*Defined in [utils/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L23)* +*Defined in [utils/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L23)*
@@ -250,7 +250,7 @@ ___ • **address**? : *undefined | string* -*Defined in [utils/types.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L27)* +*Defined in [utils/types.ts:27](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L27)* ___ @@ -258,7 +258,7 @@ ___ • **decimals**: *number* -*Defined in [utils/types.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L30)* +*Defined in [utils/types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L30)* ___ @@ -266,7 +266,7 @@ ___ • **ipfsHash**: *string* -*Defined in [utils/types.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L31)* +*Defined in [utils/types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L31)* ___ @@ -274,7 +274,7 @@ ___ • **name**: *string* -*Defined in [utils/types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L28)* +*Defined in [utils/types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L28)* ___ @@ -282,7 +282,7 @@ ___ • **swarmHash**: *string* -*Defined in [utils/types.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L32)* +*Defined in [utils/types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L32)* ___ @@ -290,7 +290,7 @@ ___ • **symbol**: *string* -*Defined in [utils/types.ts:29](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-compiler/src/utils/types.ts#L29)* +*Defined in [utils/types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-compiler/src/utils/types.ts#L29)*
diff --git a/packages/sol-coverage/docs/reference.mdx b/packages/sol-coverage/docs/reference.mdx index d80f07ec9c..092736e6da 100644 --- a/packages/sol-coverage/docs/reference.mdx +++ b/packages/sol-coverage/docs/reference.mdx @@ -14,11 +14,11 @@ It's used to compute your code coverage while running solidity tests. ## constructer -\+ **new CoverageSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `partialConfig`: [CoverageSubproviderPartialConfig](#coveragesubproviderpartialconfig)): *[CoverageSubprovider](#class-coveragesubprovider)* +\+ **new CoverageSubprovider**(`artifactAdapter`: `AbstractArtifactAdapter`, `defaultFromAddress`: string, `partialConfig`: [CoverageSubproviderPartialConfig](../modules/_coverage_subprovider_.md#coveragesubproviderpartialconfig)): *[CoverageSubprovider](#class-coveragesubprovider)* *Overrides void* -*Defined in [coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-coverage/src/coverage_subprovider.ts#L44)* +*Defined in [coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-coverage/src/coverage_subprovider.ts#L44)* Instantiates a CoverageSubprovider instance @@ -140,7 +140,7 @@ ___ ▸ **writeCoverageAsync**(): *`Promise`* -*Defined in [coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-coverage/src/coverage_subprovider.ts#L78)* +*Defined in [coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-coverage/src/coverage_subprovider.ts#L78)* Write the test coverage results to a file in Istanbul format. @@ -165,7 +165,7 @@ ignoreFilesGlobs: The list of globs matching the file names of the files we want • **ignoreFilesGlobs**: *string[]* -*Defined in [coverage_subprovider.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-coverage/src/coverage_subprovider.ts#L28)* +*Defined in [coverage_subprovider.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-coverage/src/coverage_subprovider.ts#L28)* ___ @@ -173,7 +173,7 @@ ___ • **isVerbose**: *boolean* -*Defined in [coverage_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-coverage/src/coverage_subprovider.ts#L27)* +*Defined in [coverage_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-coverage/src/coverage_subprovider.ts#L27)*
diff --git a/packages/sol-profiler/docs/reference.mdx b/packages/sol-profiler/docs/reference.mdx index 60dc5215e7..253cab93a3 100644 --- a/packages/sol-profiler/docs/reference.mdx +++ b/packages/sol-profiler/docs/reference.mdx @@ -18,7 +18,7 @@ ProfilerSubprovider is used to profile Solidity code while running tests. *Overrides void* -*Defined in [profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-profiler/src/profiler_subprovider.ts#L30)* +*Defined in [profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-profiler/src/profiler_subprovider.ts#L30)* Instantiates a ProfilerSubprovider instance @@ -140,7 +140,7 @@ ___ ▸ **writeProfilerOutputAsync**(): *`Promise`* -*Defined in [profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-profiler/src/profiler_subprovider.ts#L104)* +*Defined in [profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-profiler/src/profiler_subprovider.ts#L104)* Write the test profiler results to a file in Istanbul format. diff --git a/packages/sol-trace/docs/reference.mdx b/packages/sol-trace/docs/reference.mdx index f4376f182b..4a44034991 100644 --- a/packages/sol-trace/docs/reference.mdx +++ b/packages/sol-trace/docs/reference.mdx @@ -18,7 +18,7 @@ It is used to report call stack traces whenever a revert occurs. *Overrides void* -*Defined in [revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/sol-trace/src/revert_trace_subprovider.ts#L27)* +*Defined in [revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/sol-trace/src/revert_trace_subprovider.ts#L27)* Instantiates a RevertTraceSubprovider instance diff --git a/packages/subproviders/docs/reference.mdx b/packages/subproviders/docs/reference.mdx index ee01f86f1d..fb895d2ce3 100644 --- a/packages/subproviders/docs/reference.mdx +++ b/packages/subproviders/docs/reference.mdx @@ -21,9 +21,9 @@ ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -45,7 +45,7 @@ ___ ▸ **getAccountsAsync**(): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L23)* +*Defined in [subproviders/base_wallet_subprovider.ts:23](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L23)* **Returns:** *`Promise`* @@ -53,11 +53,11 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -79,9 +79,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -101,7 +101,7 @@ ___ ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L25)* +*Defined in [subproviders/base_wallet_subprovider.ts:25](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L25)* **Parameters:** @@ -118,7 +118,7 @@ ___ ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L24)* +*Defined in [subproviders/base_wallet_subprovider.ts:24](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L24)* **Parameters:** @@ -134,7 +134,7 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Defined in [subproviders/base_wallet_subprovider.ts:26](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L26)* +*Defined in [subproviders/base_wallet_subprovider.ts:26](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L26)* **Parameters:** @@ -165,9 +165,9 @@ It intercepts the `eth_accounts` JSON RPC requests and never returns any address ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -187,11 +187,11 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/empty_wallet_subprovider.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/empty_wallet_subprovider.ts#L21)* +*Defined in [subproviders/empty_wallet_subprovider.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/empty_wallet_subprovider.ts#L21)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -213,9 +213,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -249,7 +249,7 @@ It intercepts the `eth_estimateGas` JSON RPC call and always returns a constant \+ **new FakeGasEstimateSubprovider**(`constantGasAmount`: number): *[FakeGasEstimateSubprovider](#class-fakegasestimatesubprovider)* -*Defined in [subproviders/fake_gas_estimate_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L17)* +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L17)* Instantiates an instance of the FakeGasEstimateSubprovider @@ -267,9 +267,9 @@ Name | Type | Description | ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -289,11 +289,11 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/fake_gas_estimate_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L35)* +*Defined in [subproviders/fake_gas_estimate_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/fake_gas_estimate_subprovider.ts#L35)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -315,9 +315,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -351,7 +351,7 @@ It intercepts all JSON RPC requests and relays them to an in-process ganache ins \+ **new GanacheSubprovider**(`opts`: `GanacheOpts`): *[GanacheSubprovider](#class-ganachesubprovider)* -*Defined in [subproviders/ganache.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ganache.ts#L13)* +*Defined in [subproviders/ganache.ts:13](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/ganache.ts#L13)* Instantiates a GanacheSubprovider @@ -369,9 +369,9 @@ Name | Type | Description | ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -391,11 +391,11 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `_next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `_next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/ganache.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ganache.ts#L31)* +*Defined in [subproviders/ganache.ts:31](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/ganache.ts#L31)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -417,9 +417,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -454,7 +454,7 @@ re-routes them to a Ledger device plugged into the users computer. \+ **new LedgerSubprovider**(`config`: [LedgerSubproviderConfigs](#interface-ledgersubproviderconfigs)): *[LedgerSubprovider](#class-ledgersubprovider)* -*Defined in [subproviders/ledger.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L41)* +*Defined in [subproviders/ledger.ts:41](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/ledger.ts#L41)* Instantiates a LedgerSubprovider. Defaults to derivationPath set to `44'/60'/0'`. TestRPC/Ganache defaults to `m/44'/60'/0'/0`, so set this in the configs if desired. @@ -475,9 +475,9 @@ LedgerSubprovider instance ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -499,9 +499,9 @@ ___ ▸ **getAccountsAsync**(`numberOfAccounts`: number): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[getAccountsAsync](#abstract-getaccountsasync)* -*Defined in [subproviders/ledger.ts:87](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L87)* +*Defined in [subproviders/ledger.ts:87](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/ledger.ts#L87)* Retrieve a users Ledger accounts. The accounts are derived from the derivationPath, master public key and chain code. Because of this, you can request as many accounts @@ -525,7 +525,7 @@ ___ ▸ **getPath**(): *string* -*Defined in [subproviders/ledger.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L68)* +*Defined in [subproviders/ledger.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/ledger.ts#L68)* Retrieve the set derivation path @@ -537,13 +537,13 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Inherited from [BaseWalletSubprovider](#handlerequest)* +*Inherited from [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[handleRequest](#handlerequest)* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -565,9 +565,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -587,7 +587,7 @@ ___ ▸ **setPath**(`basDerivationPath`: string): *void* -*Defined in [subproviders/ledger.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L75)* +*Defined in [subproviders/ledger.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/ledger.ts#L75)* Set a desired derivation path when computing the available user addresses @@ -605,9 +605,9 @@ ___ ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signPersonalMessageAsync](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/ledger.ts:158](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L158)* +*Defined in [subproviders/ledger.ts:158](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/ledger.ts#L158)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. @@ -633,9 +633,9 @@ ___ ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signTransactionAsync](#abstract-signtransactionasync)* -*Defined in [subproviders/ledger.ts:101](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L101)* +*Defined in [subproviders/ledger.ts:101](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/ledger.ts#L101)* Signs a transaction on the Ledger with the account specificed by the `from` field in txParams. If you've added the LedgerSubprovider to your app's provider, you can simply send an `eth_sendTransaction` @@ -658,9 +658,9 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signTypedDataAsync](#abstract-signtypeddataasync)* -*Defined in [subproviders/ledger.ts:196](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/ledger.ts#L196)* +*Defined in [subproviders/ledger.ts:196](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/ledger.ts#L196)* eth_signTypedData is currently not supported on Ledger devices. @@ -699,7 +699,7 @@ are passed onwards for subsequent subproviders to handle. \+ **new MetamaskSubprovider**(`supportedProvider`: `SupportedProvider`): *[MetamaskSubprovider](#class-metamasksubprovider)* -*Defined in [subproviders/metamask_subprovider.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/metamask_subprovider.ts#L19)* +*Defined in [subproviders/metamask_subprovider.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/metamask_subprovider.ts#L19)* Instantiates a new MetamaskSubprovider @@ -717,9 +717,9 @@ Name | Type | Description | ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -739,11 +739,11 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/metamask_subprovider.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/metamask_subprovider.ts#L39)* +*Defined in [subproviders/metamask_subprovider.ts:39](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/metamask_subprovider.ts#L39)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -765,7 +765,7 @@ ___ ▸ **sendAsync**(`payload`: `JSONRPCRequestPayload`, `callback`: [ErrorCallback](#errorcallback)): *void* -*Defined in [subproviders/metamask_subprovider.ts:117](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/metamask_subprovider.ts#L117)* +*Defined in [subproviders/metamask_subprovider.ts:117](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/metamask_subprovider.ts#L117)* This method conforms to the provider sendAsync interface. Allowing the MetamaskSubprovider to be used as a generic provider (outside of Web3ProviderEngine) with the @@ -788,9 +788,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -825,7 +825,7 @@ all requests with accounts derived from the supplied mnemonic. \+ **new MnemonicWalletSubprovider**(`config`: [MnemonicWalletSubproviderConfigs](#interface-mnemonicwalletsubproviderconfigs)): *[MnemonicWalletSubprovider](#class-mnemonicwalletsubprovider)* -*Defined in [subproviders/mnemonic_wallet.ts:27](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L27)* +*Defined in [subproviders/mnemonic_wallet.ts:27](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L27)* Instantiates a MnemonicWalletSubprovider. Defaults to baseDerivationPath set to `44'/60'/0'/0`. This is the default in TestRPC/Ganache, it can be overridden if desired. @@ -846,9 +846,9 @@ MnemonicWalletSubprovider instance ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -870,9 +870,9 @@ ___ ▸ **getAccountsAsync**(`numberOfAccounts`: number): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[getAccountsAsync](#abstract-getaccountsasync)* -*Defined in [subproviders/mnemonic_wallet.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L70)* +*Defined in [subproviders/mnemonic_wallet.ts:70](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L70)* Retrieve the accounts associated with the mnemonic. This method is implicitly called when issuing a `eth_accounts` JSON RPC request @@ -894,7 +894,7 @@ ___ ▸ **getPath**(): *string* -*Defined in [subproviders/mnemonic_wallet.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L52)* +*Defined in [subproviders/mnemonic_wallet.ts:52](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L52)* Retrieve the set derivation path @@ -906,13 +906,13 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Inherited from [BaseWalletSubprovider](#handlerequest)* +*Inherited from [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[handleRequest](#handlerequest)* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -934,9 +934,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -956,7 +956,7 @@ ___ ▸ **setPath**(`baseDerivationPath`: string): *void* -*Defined in [subproviders/mnemonic_wallet.ts:59](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L59)* +*Defined in [subproviders/mnemonic_wallet.ts:59](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L59)* Set a desired derivation path when computing the available user addresses @@ -974,9 +974,9 @@ ___ ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signPersonalMessageAsync](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/mnemonic_wallet.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L102)* +*Defined in [subproviders/mnemonic_wallet.ts:102](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L102)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. If you've added the MnemonicWalletSubprovider to @@ -1001,9 +1001,9 @@ ___ ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signTransactionAsync](#abstract-signtransactionasync)* -*Defined in [subproviders/mnemonic_wallet.ts:84](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L84)* +*Defined in [subproviders/mnemonic_wallet.ts:84](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L84)* Signs a transaction with the account specificed by the `from` field in txParams. If you've added this Subprovider to your app's provider, you can simply send @@ -1026,9 +1026,9 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: `EIP712TypedData`): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signTypedDataAsync](#abstract-signtypeddataasync)* -*Defined in [subproviders/mnemonic_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L122)* +*Defined in [subproviders/mnemonic_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/mnemonic_wallet.ts#L122)* Sign an EIP712 Typed Data message. The signing account will be the account associated with the provided address. If you've added this MnemonicWalletSubprovider to @@ -1068,9 +1068,9 @@ We added the additional feature of clearing the cached nonce value when a `nonce ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1090,11 +1090,11 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [NextCallback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [NextCallback](../modules/_types_.md#nextcallback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/nonce_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/nonce_tracker.ts#L57)* +*Defined in [subproviders/nonce_tracker.ts:57](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/nonce_tracker.ts#L57)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1116,9 +1116,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1153,7 +1153,7 @@ all requests with the supplied Ethereum private key. \+ **new PrivateKeyWalletSubprovider**(`privateKey`: string): *[PrivateKeyWalletSubprovider](#class-privatekeywalletsubprovider)* -*Defined in [subproviders/private_key_wallet.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L19)* +*Defined in [subproviders/private_key_wallet.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/private_key_wallet.ts#L19)* Instantiates a PrivateKeyWalletSubprovider. @@ -1173,9 +1173,9 @@ PrivateKeyWalletSubprovider instance ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1197,9 +1197,9 @@ ___ ▸ **getAccountsAsync**(): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[getAccountsAsync](#abstract-getaccountsasync)* -*Defined in [subproviders/private_key_wallet.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L37)* +*Defined in [subproviders/private_key_wallet.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/private_key_wallet.ts#L37)* Retrieve the account associated with the supplied private key. This method is implicitly called when issuing a `eth_accounts` JSON RPC request @@ -1213,13 +1213,13 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Inherited from [BaseWalletSubprovider](#handlerequest)* +*Inherited from [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[handleRequest](#handlerequest)* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1241,9 +1241,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1263,9 +1263,9 @@ ___ ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signPersonalMessageAsync](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/private_key_wallet.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L72)* +*Defined in [subproviders/private_key_wallet.ts:72](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/private_key_wallet.ts#L72)* Sign a personal Ethereum signed message. The signing address will be calculated from the private key. The address must be provided it must match the address calculated from the private key. @@ -1290,9 +1290,9 @@ ___ ▸ **signTransactionAsync**(`txParams`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signTransactionAsync](#abstract-signtransactionasync)* -*Defined in [subproviders/private_key_wallet.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L48)* +*Defined in [subproviders/private_key_wallet.ts:48](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/private_key_wallet.ts#L48)* Sign a transaction with the private key. If you've added this Subprovider to your app's provider, you can simply send an `eth_sendTransaction` JSON RPC request, and @@ -1315,9 +1315,9 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: `EIP712TypedData`): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signTypedDataAsync](#abstract-signtypeddataasync)* -*Defined in [subproviders/private_key_wallet.ts:99](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/private_key_wallet.ts#L99)* +*Defined in [subproviders/private_key_wallet.ts:99](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/private_key_wallet.ts#L99)* Sign an EIP712 Typed Data message. The signing address will be calculated from the private key. The address must be provided it must match the address calculated from the private key. @@ -1357,7 +1357,7 @@ set of JSON RPC endpoints. \+ **new RedundantSubprovider**(`subproviders`: [Subprovider](_subproviders_subprovider_.subprovider.md)[]): *[RedundantSubprovider](#class-redundantsubprovider)* -*Defined in [subproviders/redundant_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/redundant_subprovider.ts#L33)* +*Defined in [subproviders/redundant_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/redundant_subprovider.ts#L33)* Instantiates a new RedundantSubprovider @@ -1375,9 +1375,9 @@ Name | Type | Description | ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1399,9 +1399,9 @@ ___ ▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#callback), `end`: function): *`Promise`* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/redundant_subprovider.ts:51](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/redundant_subprovider.ts#L51)* +*Defined in [subproviders/redundant_subprovider.ts:51](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/redundant_subprovider.ts#L51)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1438,9 +1438,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1474,7 +1474,7 @@ It forwards on JSON RPC requests to the supplied `rpcUrl` endpoint \+ **new RPCSubprovider**(`rpcUrl`: string, `requestTimeoutMs`: number): *[RPCSubprovider](#class-rpcsubprovider)* -*Defined in [subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)* +*Defined in [subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)* **Parameters:** @@ -1491,9 +1491,9 @@ Name | Type | Default | Description | ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1513,11 +1513,11 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `_next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `_next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)* +*Defined in [subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1539,9 +1539,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1577,7 +1577,7 @@ are passed onwards for subsequent subproviders to handle. \+ **new SignerSubprovider**(`supportedProvider`: `SupportedProvider`): *[SignerSubprovider](#class-signersubprovider)* -*Defined in [subproviders/signer.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/signer.ts#L15)* +*Defined in [subproviders/signer.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/signer.ts#L15)* Instantiates a new SignerSubprovider. @@ -1595,9 +1595,9 @@ Name | Type | Description | ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1617,11 +1617,11 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/signer.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/signer.ts#L33)* +*Defined in [subproviders/signer.ts:33](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/signer.ts#L33)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1643,9 +1643,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1695,7 +1695,7 @@ This one has an async/await `emitPayloadAsync` and also defined types. ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1715,9 +1715,9 @@ ___ ## `Abstract` handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Defined in [subproviders/subprovider.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L42)* +*Defined in [subproviders/subprovider.ts:42](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L42)* **Parameters:** @@ -1735,7 +1735,7 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1766,7 +1766,7 @@ Name | Type | Description | \+ **new TrezorSubprovider**(`config`: [TrezorSubproviderConfig](#interface-trezorsubproviderconfig)): *[TrezorSubprovider](#class-trezorsubprovider)* -*Defined in [subproviders/trezor.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L32)* +*Defined in [subproviders/trezor.ts:32](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/trezor.ts#L32)* Instantiates a TrezorSubprovider. Defaults to private key path set to `44'/60'/0'/0/`. Must be initialized with trezor-connect API module https://github.com/trezor/connect. @@ -1787,9 +1787,9 @@ TrezorSubprovider instance ▸ **emitPayloadAsync**(`payload`: `Partial`): *`Promise`* -*Inherited from [Subprovider](#emitpayloadasync)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[emitPayloadAsync](#emitpayloadasync)* -*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L55)* +*Defined in [subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L55)* Emits a JSON RPC payload that will then be handled by the ProviderEngine instance this subprovider is a part of. The payload will cascade down the subprovider middleware @@ -1811,9 +1811,9 @@ ___ ▸ **getAccountsAsync**(`numberOfAccounts`: number): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-getaccountsasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[getAccountsAsync](#abstract-getaccountsasync)* -*Defined in [subproviders/trezor.ts:56](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L56)* +*Defined in [subproviders/trezor.ts:56](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/trezor.ts#L56)* Retrieve a users Trezor account. This method is automatically called when issuing a `eth_accounts` JSON RPC request via your providerEngine @@ -1833,13 +1833,13 @@ ___ ## handleRequest -▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#errorcallback)): *`Promise`* +▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](../modules/_types_.md#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise`* -*Inherited from [BaseWalletSubprovider](#handlerequest)* +*Inherited from [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[handleRequest](#handlerequest)* -*Overrides [Subprovider](#abstract-handlerequest)* +*Overrides [Subprovider](_subproviders_subprovider_.subprovider.md).[handleRequest](#abstract-handlerequest)* -*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* +*Defined in [subproviders/base_wallet_subprovider.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/base_wallet_subprovider.ts#L37)* This method conforms to the web3-provider-engine interface. It is called internally by the ProviderEngine when it is this subproviders @@ -1861,9 +1861,9 @@ ___ ▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void* -*Inherited from [Subprovider](#setengine)* +*Inherited from [Subprovider](_subproviders_subprovider_.subprovider.md).[setEngine](#setengine)* -*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/subprovider.ts#L68)* +*Defined in [subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/subprovider.ts#L68)* Set's the subprovider's engine to the ProviderEngine it is added to. This is only called within the ProviderEngine source code, do not call @@ -1883,9 +1883,9 @@ ___ ▸ **signPersonalMessageAsync**(`data`: string, `address`: string): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signpersonalmessageasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signPersonalMessageAsync](#abstract-signpersonalmessageasync)* -*Defined in [subproviders/trezor.ts:129](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L129)* +*Defined in [subproviders/trezor.ts:129](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/trezor.ts#L129)* Sign a personal Ethereum signed message. The signing account will be the account associated with the provided address. If you've added the TrezorSubprovider to @@ -1910,9 +1910,9 @@ ___ ▸ **signTransactionAsync**(`txData`: [PartialTxParams](#interface-partialtxparams)): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signtransactionasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signTransactionAsync](#abstract-signtransactionasync)* -*Defined in [subproviders/trezor.ts:70](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L70)* +*Defined in [subproviders/trezor.ts:70](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/trezor.ts#L70)* Signs a transaction on the Trezor with the account specificed by the `from` field in txParams. If you've added the TrezorSubprovider to your app's provider, you can simply send an `eth_sendTransaction` @@ -1935,9 +1935,9 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Overrides [BaseWalletSubprovider](#abstract-signtypeddataasync)* +*Overrides [BaseWalletSubprovider](_subproviders_base_wallet_subprovider_.basewalletsubprovider.md).[signTypedDataAsync](#abstract-signtypeddataasync)* -*Defined in [subproviders/trezor.ts:161](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/subproviders/trezor.ts#L161)* +*Defined in [subproviders/trezor.ts:161](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/subproviders/trezor.ts#L161)* TODO:: eth_signTypedData is currently not supported on Trezor devices. @@ -1963,7 +1963,7 @@ Signature hex string (order: rsv) • **MultipleOpenConnectionsDisallowed**: = "MULTIPLE_OPEN_CONNECTIONS_DISALLOWED" -*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L116)* +*Defined in [types.ts:116](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L116)* ___ @@ -1971,7 +1971,7 @@ ___ • **TooOldLedgerFirmware**: = "TOO_OLD_LEDGER_FIRMWARE" -*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L115)* +*Defined in [types.ts:115](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L115)*
@@ -1984,7 +1984,7 @@ ___ • **CannotDetermineAddressFromPayload**: = "CANNOT_DETERMINE_ADDRESS_FROM_PAYLOAD" -*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L121)* +*Defined in [types.ts:121](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L121)* ___ @@ -1992,7 +1992,7 @@ ___ • **EmptyParametersFound**: = "EMPTY_PARAMETERS_FOUND" -*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L120)* +*Defined in [types.ts:120](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L120)*
@@ -2005,7 +2005,7 @@ ___ • **AddressNotFound**: = "ADDRESS_NOT_FOUND" -*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L107)* +*Defined in [types.ts:107](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L107)* ___ @@ -2013,7 +2013,7 @@ ___ • **DataMissingForSignPersonalMessage**: = "DATA_MISSING_FOR_SIGN_PERSONAL_MESSAGE" -*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L108)* +*Defined in [types.ts:108](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L108)* ___ @@ -2021,7 +2021,7 @@ ___ • **DataMissingForSignTypedData**: = "DATA_MISSING_FOR_SIGN_TYPED_DATA" -*Defined in [types.ts:109](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L109)* +*Defined in [types.ts:109](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L109)* ___ @@ -2029,7 +2029,7 @@ ___ • **FromAddressMissingOrInvalid**: = "FROM_ADDRESS_MISSING_OR_INVALID" -*Defined in [types.ts:111](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L111)* +*Defined in [types.ts:111](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L111)* ___ @@ -2037,7 +2037,7 @@ ___ • **MethodNotSupported**: = "METHOD_NOT_SUPPORTED" -*Defined in [types.ts:112](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L112)* +*Defined in [types.ts:112](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L112)* ___ @@ -2045,7 +2045,7 @@ ___ • **SenderInvalidOrNotSupplied**: = "SENDER_INVALID_OR_NOT_SUPPLIED" -*Defined in [types.ts:110](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L110)* +*Defined in [types.ts:110](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L110)*
@@ -2067,7 +2067,7 @@ shouldAskForOnDeviceConfirmation: Whether you wish to prompt the user on their L • **addressSearchLimit**? : *undefined | number* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L55)* ___ @@ -2075,7 +2075,7 @@ ___ • **numAddressesToReturn**? : *undefined | number* -*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L56)* +*Defined in [types.ts:56](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L56)* ___ @@ -2083,7 +2083,7 @@ ___ • **shouldAskForOnDeviceConfirmation**? : *undefined | false | true* -*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L57)* +*Defined in [types.ts:57](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L57)*
@@ -2100,7 +2100,7 @@ ___ • **address**: *string* -*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L124)* +*Defined in [types.ts:124](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L124)* ___ @@ -2108,7 +2108,7 @@ ___ • **baseDerivationPath**: *string* -*Defined in [types.ts:125](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L125)* +*Defined in [types.ts:125](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L125)* ___ @@ -2116,7 +2116,7 @@ ___ • **derivationPath**: *string* -*Defined in [types.ts:126](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L126)* +*Defined in [types.ts:126](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L126)* ___ @@ -2124,7 +2124,7 @@ ___ • **hdKey**: *`HDNode`* -*Defined in [types.ts:127](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L127)* +*Defined in [types.ts:127](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L127)*
@@ -2141,7 +2141,7 @@ ___ • **r**: *string* -*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L29)* +*Defined in [types.ts:29](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L29)* ___ @@ -2149,7 +2149,7 @@ ___ • **s**: *string* -*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L30)* +*Defined in [types.ts:30](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L30)* ___ @@ -2157,7 +2157,7 @@ ___ • **v**: *string* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L28)*
@@ -2198,7 +2198,7 @@ ___ *Overrides void* -*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L136)* +*Defined in [types.ts:136](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L136)* ___ @@ -2225,7 +2225,7 @@ ___ • **close_async**: *function* -*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L98)* +*Defined in [types.ts:98](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L98)* #### Type declaration: @@ -2246,7 +2246,7 @@ ___ • **close**: *function* -*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L5)* +*Defined in [types.ts:5](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L5)* #### Type declaration: @@ -2272,7 +2272,7 @@ NodeJs and Browser communication are supported. • **getAddress**: *function* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L17)* #### Type declaration: @@ -2292,7 +2292,7 @@ ___ • **signPersonalMessage**: *function* -*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L23)* +*Defined in [types.ts:23](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L23)* #### Type declaration: @@ -2311,7 +2311,7 @@ ___ • **signTransaction**: *function* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L22)* #### Type declaration: @@ -2330,7 +2330,7 @@ ___ • **transport**: *[LedgerCommunicationClient](#interface-ledgercommunicationclient)* -*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L24)* +*Defined in [types.ts:24](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L24)*
@@ -2347,7 +2347,7 @@ ___ • **address**: *string* -*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L79)* +*Defined in [types.ts:79](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L79)* ___ @@ -2355,7 +2355,7 @@ ___ • **chainCode**: *string* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L81)* ___ @@ -2363,7 +2363,7 @@ ___ • **publicKey**: *string* -*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L80)* +*Defined in [types.ts:80](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L80)*
@@ -2385,7 +2385,7 @@ accountFetchingConfigs: configs related to fetching accounts from a Ledger • **accountFetchingConfigs**? : *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* -*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L45)* ___ @@ -2393,7 +2393,7 @@ ___ • **baseDerivationPath**? : *undefined | string* -*Defined in [types.ts:44](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L44)* +*Defined in [types.ts:44](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L44)* ___ @@ -2401,7 +2401,7 @@ ___ • **ledgerEthereumClientFactoryAsync**: *[LedgerEthereumClientFactoryAsync](#ledgerethereumclientfactoryasync)* -*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L43)* +*Defined in [types.ts:43](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L43)* ___ @@ -2409,7 +2409,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L42)* +*Defined in [types.ts:42](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L42)*
@@ -2430,7 +2430,7 @@ baseDerivationPath: The base derivation path (e.g 44'/60'/0'/0) • **addressSearchLimit**? : *undefined | number* -*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L67)* +*Defined in [types.ts:67](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L67)* ___ @@ -2438,7 +2438,7 @@ ___ • **baseDerivationPath**? : *undefined | string* -*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L68)* +*Defined in [types.ts:68](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L68)* ___ @@ -2446,7 +2446,7 @@ ___ • **mnemonic**: *string* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L66)*
@@ -2463,7 +2463,7 @@ ___ • **chainId**: *number* -*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L92)* +*Defined in [types.ts:92](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L92)* ___ @@ -2471,7 +2471,7 @@ ___ • **data**? : *undefined | string* -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L91)* ___ @@ -2479,7 +2479,7 @@ ___ • **from**: *string* -*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L89)* +*Defined in [types.ts:89](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L89)* ___ @@ -2487,7 +2487,7 @@ ___ • **gas**: *string* -*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L87)* +*Defined in [types.ts:87](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L87)* ___ @@ -2495,7 +2495,7 @@ ___ • **gasPrice**? : *undefined | string* -*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L86)* +*Defined in [types.ts:86](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L86)* ___ @@ -2503,7 +2503,7 @@ ___ • **nonce**: *string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L85)* ___ @@ -2511,7 +2511,7 @@ ___ • **to**: *string* -*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L88)* +*Defined in [types.ts:88](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L88)* ___ @@ -2519,7 +2519,7 @@ ___ • **value**? : *undefined | string* -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L90)*
@@ -2536,7 +2536,7 @@ ___ • **raw**: *string* -*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L102)* +*Defined in [types.ts:102](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L102)* ___ @@ -2544,7 +2544,7 @@ ___ • **tx**: *[PartialTxParams](#interface-partialtxparams)* -*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L103)* +*Defined in [types.ts:103](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L103)*
@@ -2561,7 +2561,7 @@ ___ • **hash**: *string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L72)* ___ @@ -2569,7 +2569,7 @@ ___ • **r**: *string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L73)* ___ @@ -2577,7 +2577,7 @@ ___ • **s**: *string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L74)* ___ @@ -2585,7 +2585,7 @@ ___ • **v**: *number* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L75)*
@@ -2602,7 +2602,7 @@ ___ • **id**: *number* -*Defined in [types.ts:175](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L175)* +*Defined in [types.ts:175](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L175)* ___ @@ -2610,7 +2610,7 @@ ___ • **payload**: *any* -*Defined in [types.ts:174](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L174)* +*Defined in [types.ts:174](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L174)* ___ @@ -2618,7 +2618,7 @@ ___ • **success**: *boolean* -*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L176)* +*Defined in [types.ts:176](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L176)*
@@ -2635,7 +2635,7 @@ ___ • **chainCode**: *string* -*Defined in [types.ts:152](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L152)* +*Defined in [types.ts:152](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L152)* ___ @@ -2643,7 +2643,7 @@ ___ • **childNumb**: *number* -*Defined in [types.ts:150](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L150)* +*Defined in [types.ts:150](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L150)* ___ @@ -2651,7 +2651,7 @@ ___ • **depth**: *number* -*Defined in [types.ts:155](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L155)* +*Defined in [types.ts:155](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L155)* ___ @@ -2659,7 +2659,7 @@ ___ • **fingerprint**: *number* -*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L154)* +*Defined in [types.ts:154](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L154)* ___ @@ -2667,7 +2667,7 @@ ___ • **path**: *object* -*Defined in [types.ts:146](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L146)* +*Defined in [types.ts:146](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L146)* #### Type declaration: @@ -2679,7 +2679,7 @@ ___ • **publicKey**: *string* -*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L153)* +*Defined in [types.ts:153](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L153)* ___ @@ -2687,7 +2687,7 @@ ___ • **serializedPath**: *string* -*Defined in [types.ts:149](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L149)* +*Defined in [types.ts:149](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L149)* ___ @@ -2695,7 +2695,7 @@ ___ • **xpub**: *string* -*Defined in [types.ts:151](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L151)* +*Defined in [types.ts:151](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L151)*
@@ -2712,7 +2712,7 @@ ___ • **error**: *string* -*Defined in [types.ts:170](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L170)* +*Defined in [types.ts:170](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L170)*
@@ -2729,7 +2729,7 @@ ___ • **address**: *string* -*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L165)* +*Defined in [types.ts:165](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L165)* ___ @@ -2737,7 +2737,7 @@ ___ • **signature**: *string* -*Defined in [types.ts:166](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L166)* +*Defined in [types.ts:166](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L166)*
@@ -2754,7 +2754,7 @@ ___ • **r**: *string* -*Defined in [types.ts:160](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L160)* +*Defined in [types.ts:160](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L160)* ___ @@ -2762,7 +2762,7 @@ ___ • **s**: *string* -*Defined in [types.ts:161](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L161)* +*Defined in [types.ts:161](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L161)* ___ @@ -2770,7 +2770,7 @@ ___ • **v**: *string* -*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L159)* +*Defined in [types.ts:159](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L159)*
@@ -2787,7 +2787,7 @@ ___ • **accountFetchingConfigs**: *[AccountFetchingConfigs](#interface-accountfetchingconfigs)* -*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L140)* +*Defined in [types.ts:140](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L140)* ___ @@ -2795,7 +2795,7 @@ ___ • **networkId**: *number* -*Defined in [types.ts:142](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L142)* +*Defined in [types.ts:142](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L142)* ___ @@ -2803,7 +2803,7 @@ ___ • **trezorConnectClientApi**: *any* -*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/subproviders/src/types.ts#L141)* +*Defined in [types.ts:141](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/subproviders/src/types.ts#L141)*
diff --git a/packages/web3-wrapper/docs/reference.mdx b/packages/web3-wrapper/docs/reference.mdx index 85bbfb9071..ccc5fd7243 100644 --- a/packages/web3-wrapper/docs/reference.mdx +++ b/packages/web3-wrapper/docs/reference.mdx @@ -13,7 +13,7 @@ An alternative to the Web3.js library that provides a consistent, clean, promise \+ **new Web3Wrapper**(`supportedProvider`: `SupportedProvider`, `callAndTxnDefaults`: `Partial`): *[Web3Wrapper](#class-web3wrapper)* -*Defined in [web3_wrapper.ts:145](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L145)* +*Defined in [web3_wrapper.ts:145](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L145)* Instantiates a new Web3Wrapper. @@ -34,7 +34,7 @@ An instance of the Web3Wrapper class. • **abiDecoder**: *`AbiDecoder`* -*Defined in [web3_wrapper.ts:54](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L54)* +*Defined in [web3_wrapper.ts:54](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L54)* ___ @@ -42,7 +42,7 @@ ___ • **isZeroExWeb3Wrapper**: *boolean* = true -*Defined in [web3_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L53)* +*Defined in [web3_wrapper.ts:53](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L53)* Flag to check if this instance is of type Web3Wrapper @@ -52,7 +52,7 @@ Flag to check if this instance is of type Web3Wrapper ▸ **awaitTransactionMinedAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* -*Defined in [web3_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L568)* +*Defined in [web3_wrapper.ts:568](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L568)* Waits for a transaction to be mined and returns the transaction receipt. Note that just because a transaction was mined does not mean it was @@ -78,7 +78,7 @@ ___ ▸ **awaitTransactionSuccessAsync**(`txHash`: string, `pollingIntervalMs`: number, `timeoutMs?`: undefined | number): *`Promise`* -*Defined in [web3_wrapper.ts:643](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L643)* +*Defined in [web3_wrapper.ts:643](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L643)* Waits for a transaction to be mined and returns the transaction receipt. Unlike awaitTransactionMinedAsync, it will throw if the receipt has a @@ -104,7 +104,7 @@ ___ ▸ **callAsync**(`callData`: `CallData`, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:525](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L525)* +*Defined in [web3_wrapper.ts:525](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L525)* Call a smart contract method at a given block height @@ -125,7 +125,7 @@ ___ ▸ **doesContractExistAtAddressAsync**(`address`: string): *`Promise`* -*Defined in [web3_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L273)* +*Defined in [web3_wrapper.ts:273](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L273)* Check if a contract exists at a given address @@ -145,7 +145,7 @@ ___ ▸ **estimateGasAsync**(`txData`: `Partial`): *`Promise`* -*Defined in [web3_wrapper.ts:508](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L508)* +*Defined in [web3_wrapper.ts:508](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L508)* Calculate the estimated gas cost for a given transaction @@ -165,7 +165,7 @@ ___ ▸ **getAvailableAddressesAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:421](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L421)* +*Defined in [web3_wrapper.ts:421](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L421)* Retrieve the user addresses available through the backing provider @@ -179,7 +179,7 @@ ___ ▸ **getBalanceInWeiAsync**(`owner`: string, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:254](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L254)* +*Defined in [web3_wrapper.ts:254](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L254)* Retrieves an accounts Ether balance in wei @@ -200,7 +200,7 @@ ___ ▸ **getBlockIfExistsAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:361](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L361)* +*Defined in [web3_wrapper.ts:361](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L361)* Fetch a specific Ethereum block without transaction data @@ -221,7 +221,7 @@ ___ ▸ **getBlockNumberAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:347](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L347)* +*Defined in [web3_wrapper.ts:347](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L347)* Fetches the latest block number @@ -235,7 +235,7 @@ ___ ▸ **getBlockTimestampAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L409)* +*Defined in [web3_wrapper.ts:409](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L409)* Fetch a block's timestamp @@ -255,7 +255,7 @@ ___ ▸ **getBlockWithTransactionDataAsync**(`blockParam`: string | `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:387](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L387)* +*Defined in [web3_wrapper.ts:387](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L387)* Fetch a specific Ethereum block with transaction data @@ -275,7 +275,7 @@ ___ ▸ **getContractCodeAsync**(`address`: string, `defaultBlock?`: `BlockParam`): *`Promise`* -*Defined in [web3_wrapper.ts:286](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L286)* +*Defined in [web3_wrapper.ts:286](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L286)* Gets the contract code by address @@ -296,7 +296,7 @@ ___ ▸ **getContractDefaults**(): *`Partial` | undefined* -*Defined in [web3_wrapper.ts:164](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L164)* +*Defined in [web3_wrapper.ts:164](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L164)* Get the contract defaults set to the Web3Wrapper instance @@ -310,7 +310,7 @@ ___ ▸ **getLogsAsync**(`filter`: `FilterObject`): *`Promise`* -*Defined in [web3_wrapper.ts:475](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L475)* +*Defined in [web3_wrapper.ts:475](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L475)* Retrieve smart contract logs for a given filter @@ -330,7 +330,7 @@ ___ ▸ **getNetworkIdAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L207)* +*Defined in [web3_wrapper.ts:207](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L207)* Fetches the networkId of the backing Ethereum node @@ -344,7 +344,7 @@ ___ ▸ **getNodeTypeAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:690](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L690)* +*Defined in [web3_wrapper.ts:690](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L690)* Returns either NodeType.Geth or NodeType.Ganache depending on the type of the backing Ethereum node. Throws for any other type of node. @@ -357,7 +357,7 @@ ___ ▸ **getNodeVersionAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:199](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L199)* +*Defined in [web3_wrapper.ts:199](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L199)* Fetch the backing Ethereum node's version string (e.g `MetaMask/v4.2.0`) @@ -371,7 +371,7 @@ ___ ▸ **getProvider**(): *`SupportedProvider`* -*Defined in [web3_wrapper.ts:171](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L171)* +*Defined in [web3_wrapper.ts:171](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L171)* Retrieve the Web3 provider @@ -385,7 +385,7 @@ ___ ▸ **getTransactionByHashAsync**(`txHash`: string): *`Promise`* -*Defined in [web3_wrapper.ts:239](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L239)* +*Defined in [web3_wrapper.ts:239](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L239)* Retrieves the transaction data for a given transaction @@ -405,7 +405,7 @@ ___ ▸ **getTransactionReceiptIfExistsAsync**(`txHash`: string): *`Promise`* -*Defined in [web3_wrapper.ts:217](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L217)* +*Defined in [web3_wrapper.ts:217](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L217)* Retrieves the transaction receipt for a given transaction hash if found @@ -425,7 +425,7 @@ ___ ▸ **getTransactionTraceAsync**(`txHash`: string, `traceParams`: `TraceParams`): *`Promise`* -*Defined in [web3_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L305)* +*Defined in [web3_wrapper.ts:305](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L305)* Gets the debug trace of a transaction @@ -446,7 +446,7 @@ ___ ▸ **increaseTimeAsync**(`timeDelta`: number): *`Promise`* -*Defined in [web3_wrapper.ts:458](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L458)* +*Defined in [web3_wrapper.ts:458](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L458)* Increase the next blocks timestamp on TestRPC/Ganache or Geth local node. Will throw if provider is neither TestRPC/Ganache or Geth. @@ -465,7 +465,7 @@ ___ ▸ **isSenderAddressAvailableAsync**(`senderAddress`: string): *`Promise`* -*Defined in [web3_wrapper.ts:189](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L189)* +*Defined in [web3_wrapper.ts:189](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L189)* Check whether an address is available through the backing provider. This can be useful if you want to know whether a user can sign messages or transactions from @@ -487,7 +487,7 @@ ___ ▸ **mineBlockAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:450](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L450)* +*Defined in [web3_wrapper.ts:450](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L450)* Mine a block on a TestRPC/Ganache local node @@ -499,7 +499,7 @@ ___ ▸ **revertSnapshotAsync**(`snapshotId`: number): *`Promise`* -*Defined in [web3_wrapper.ts:442](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L442)* +*Defined in [web3_wrapper.ts:442](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L442)* Revert the blockchain state to a previous snapshot state on TestRPC/Ganache local node @@ -519,7 +519,7 @@ ___ ▸ **sendRawPayloadAsync**<**A**>(`payload`: `Partial`): *`Promise
`* -*Defined in [web3_wrapper.ts:671](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L671)* +*Defined in [web3_wrapper.ts:671](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L671)* Sends a raw Ethereum JSON RPC payload and returns the response's `result` key @@ -543,7 +543,7 @@ ___ ▸ **sendTransactionAsync**(`txData`: `TxData`): *`Promise`* -*Defined in [web3_wrapper.ts:547](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L547)* +*Defined in [web3_wrapper.ts:547](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L547)* Send a transaction @@ -563,7 +563,7 @@ ___ ▸ **setHeadAsync**(`blockNumber`: number): *`Promise`* -*Defined in [web3_wrapper.ts:662](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L662)* +*Defined in [web3_wrapper.ts:662](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L662)* Calls the 'debug_setHead' JSON RPC method, which sets the current head of the local chain by block number. Note, this is a destructive action and @@ -585,7 +585,7 @@ ___ ▸ **setProvider**(`supportedProvider`: `SupportedProvider`): *void* -*Defined in [web3_wrapper.ts:178](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L178)* +*Defined in [web3_wrapper.ts:178](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L178)* Update the used Web3 provider @@ -603,7 +603,7 @@ ___ ▸ **signMessageAsync**(`address`: string, `message`: string): *`Promise`* -*Defined in [web3_wrapper.ts:319](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L319)* +*Defined in [web3_wrapper.ts:319](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L319)* Sign a message with a specific address's private key (`eth_sign`) @@ -624,7 +624,7 @@ ___ ▸ **signTypedDataAsync**(`address`: string, `typedData`: any): *`Promise`* -*Defined in [web3_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L334)* +*Defined in [web3_wrapper.ts:334](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L334)* Sign an EIP712 typed data message with a specific address's private key (`eth_signTypedData`) @@ -645,7 +645,7 @@ ___ ▸ **takeSnapshotAsync**(): *`Promise`* -*Defined in [web3_wrapper.ts:433](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L433)* +*Defined in [web3_wrapper.ts:433](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L433)* Take a snapshot of the blockchain state on a TestRPC/Ganache local node @@ -659,7 +659,7 @@ ___ ▸ **isAddress**(`address`: string): *boolean* -*Defined in [web3_wrapper.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L65)* +*Defined in [web3_wrapper.ts:65](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L65)* Check if an address is a valid Ethereum address @@ -679,7 +679,7 @@ ___ ▸ **toBaseUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* -*Defined in [web3_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L91)* +*Defined in [web3_wrapper.ts:91](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L91)* A baseUnit is defined as the smallest denomination of a token. An amount expressed in baseUnits is the amount expressed in the smallest denomination. @@ -702,7 +702,7 @@ ___ ▸ **toUnitAmount**(`amount`: `BigNumber`, `decimals`: number): *`BigNumber`* -*Defined in [web3_wrapper.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L76)* +*Defined in [web3_wrapper.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L76)* A unit amount is defined as the amount of a token above the specified decimal places (integer part). E.g: If a currency has 18 decimal places, 1e18 or one quintillion of the currency is equivalent @@ -725,7 +725,7 @@ ___ ▸ **toWei**(`ethAmount`: `BigNumber`): *`BigNumber`* -*Defined in [web3_wrapper.ts:107](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/web3_wrapper.ts#L107)* +*Defined in [web3_wrapper.ts:107](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/web3_wrapper.ts#L107)* Convert an Ether amount from ETH to Wei @@ -750,7 +750,7 @@ Amount in wei • **Ganache**: = "GANACHE" -*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L91)* +*Defined in [types.ts:91](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L91)* ___ @@ -758,7 +758,7 @@ ___ • **Geth**: = "GETH" -*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L90)* +*Defined in [types.ts:90](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L90)*
@@ -771,7 +771,7 @@ ___ • **TransactionMiningTimeout**: = "TRANSACTION_MINING_TIMEOUT" -*Defined in [types.ts:2](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L2)* +*Defined in [types.ts:2](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L2)*
@@ -792,7 +792,7 @@ ___ • **difficulty**: *string* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L15)* ___ @@ -800,7 +800,7 @@ ___ • **extraData**: *string* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L17)* ___ @@ -808,7 +808,7 @@ ___ • **gasLimit**: *string* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L19)* ___ @@ -816,7 +816,7 @@ ___ • **gasUsed**: *string* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L20)* ___ @@ -824,7 +824,7 @@ ___ • **hash**: *string | null* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L7)* ___ @@ -832,7 +832,7 @@ ___ • **logsBloom**: *string | null* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L11)* ___ @@ -840,7 +840,7 @@ ___ • **miner**: *string* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L14)* ___ @@ -848,7 +848,7 @@ ___ • **nonce**: *string | null* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L9)* ___ @@ -856,7 +856,7 @@ ___ • **number**: *string | null* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L6)* ___ @@ -864,7 +864,7 @@ ___ • **parentHash**: *string* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L8)* ___ @@ -872,7 +872,7 @@ ___ • **sha3Uncles**: *string* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L10)* ___ @@ -880,7 +880,7 @@ ___ • **size**: *string* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L18)* ___ @@ -888,7 +888,7 @@ ___ • **stateRoot**: *string* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L13)* ___ @@ -896,7 +896,7 @@ ___ • **timestamp**: *string* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L21)* ___ @@ -904,7 +904,7 @@ ___ • **totalDifficulty**: *string* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L16)* ___ @@ -912,7 +912,7 @@ ___ • **transactionsRoot**: *string* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L12)* ___ @@ -920,7 +920,7 @@ ___ • **uncles**: *string[]* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L22)*
@@ -939,9 +939,9 @@ ___ • **difficulty**: *string* -*Inherited from [AbstractBlockRPC](#difficulty)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[difficulty](#difficulty)* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L15)* ___ @@ -949,9 +949,9 @@ ___ • **extraData**: *string* -*Inherited from [AbstractBlockRPC](#extradata)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[extraData](#extradata)* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L17)* ___ @@ -959,9 +959,9 @@ ___ • **gasLimit**: *string* -*Inherited from [AbstractBlockRPC](#gaslimit)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[gasLimit](#gaslimit)* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L19)* ___ @@ -969,9 +969,9 @@ ___ • **gasUsed**: *string* -*Inherited from [AbstractBlockRPC](#gasused)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[gasUsed](#gasused)* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L20)* ___ @@ -979,9 +979,9 @@ ___ • **hash**: *string | null* -*Inherited from [AbstractBlockRPC](#hash)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[hash](#hash)* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L7)* ___ @@ -989,9 +989,9 @@ ___ • **logsBloom**: *string | null* -*Inherited from [AbstractBlockRPC](#logsbloom)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[logsBloom](#logsbloom)* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L11)* ___ @@ -999,9 +999,9 @@ ___ • **miner**: *string* -*Inherited from [AbstractBlockRPC](#miner)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[miner](#miner)* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L14)* ___ @@ -1009,9 +1009,9 @@ ___ • **nonce**: *string | null* -*Inherited from [AbstractBlockRPC](#nonce)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[nonce](#nonce)* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L9)* ___ @@ -1019,9 +1019,9 @@ ___ • **number**: *string | null* -*Inherited from [AbstractBlockRPC](#number)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[number](#number)* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L6)* ___ @@ -1029,9 +1029,9 @@ ___ • **parentHash**: *string* -*Inherited from [AbstractBlockRPC](#parenthash)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[parentHash](#parenthash)* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L8)* ___ @@ -1039,9 +1039,9 @@ ___ • **sha3Uncles**: *string* -*Inherited from [AbstractBlockRPC](#sha3uncles)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[sha3Uncles](#sha3uncles)* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L10)* ___ @@ -1049,9 +1049,9 @@ ___ • **size**: *string* -*Inherited from [AbstractBlockRPC](#size)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[size](#size)* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L18)* ___ @@ -1059,9 +1059,9 @@ ___ • **stateRoot**: *string* -*Inherited from [AbstractBlockRPC](#stateroot)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[stateRoot](#stateroot)* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L13)* ___ @@ -1069,9 +1069,9 @@ ___ • **timestamp**: *string* -*Inherited from [AbstractBlockRPC](#timestamp)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[timestamp](#timestamp)* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L21)* ___ @@ -1079,9 +1079,9 @@ ___ • **totalDifficulty**: *string* -*Inherited from [AbstractBlockRPC](#totaldifficulty)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[totalDifficulty](#totaldifficulty)* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L16)* ___ @@ -1089,7 +1089,7 @@ ___ • **transactions**: *string[]* -*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L25)* +*Defined in [types.ts:25](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L25)* ___ @@ -1097,9 +1097,9 @@ ___ • **transactionsRoot**: *string* -*Inherited from [AbstractBlockRPC](#transactionsroot)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[transactionsRoot](#transactionsroot)* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L12)* ___ @@ -1107,9 +1107,9 @@ ___ • **uncles**: *string[]* -*Inherited from [AbstractBlockRPC](#uncles)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[uncles](#uncles)* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L22)*
@@ -1128,9 +1128,9 @@ ___ • **difficulty**: *string* -*Inherited from [AbstractBlockRPC](#difficulty)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[difficulty](#difficulty)* -*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L15)* +*Defined in [types.ts:15](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L15)* ___ @@ -1138,9 +1138,9 @@ ___ • **extraData**: *string* -*Inherited from [AbstractBlockRPC](#extradata)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[extraData](#extradata)* -*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L17)* +*Defined in [types.ts:17](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L17)* ___ @@ -1148,9 +1148,9 @@ ___ • **gasLimit**: *string* -*Inherited from [AbstractBlockRPC](#gaslimit)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[gasLimit](#gaslimit)* -*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L19)* +*Defined in [types.ts:19](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L19)* ___ @@ -1158,9 +1158,9 @@ ___ • **gasUsed**: *string* -*Inherited from [AbstractBlockRPC](#gasused)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[gasUsed](#gasused)* -*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L20)* +*Defined in [types.ts:20](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L20)* ___ @@ -1168,9 +1168,9 @@ ___ • **hash**: *string | null* -*Inherited from [AbstractBlockRPC](#hash)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[hash](#hash)* -*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L7)* +*Defined in [types.ts:7](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L7)* ___ @@ -1178,9 +1178,9 @@ ___ • **logsBloom**: *string | null* -*Inherited from [AbstractBlockRPC](#logsbloom)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[logsBloom](#logsbloom)* -*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L11)* +*Defined in [types.ts:11](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L11)* ___ @@ -1188,9 +1188,9 @@ ___ • **miner**: *string* -*Inherited from [AbstractBlockRPC](#miner)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[miner](#miner)* -*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L14)* +*Defined in [types.ts:14](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L14)* ___ @@ -1198,9 +1198,9 @@ ___ • **nonce**: *string | null* -*Inherited from [AbstractBlockRPC](#nonce)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[nonce](#nonce)* -*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L9)* +*Defined in [types.ts:9](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L9)* ___ @@ -1208,9 +1208,9 @@ ___ • **number**: *string | null* -*Inherited from [AbstractBlockRPC](#number)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[number](#number)* -*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L6)* +*Defined in [types.ts:6](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L6)* ___ @@ -1218,9 +1218,9 @@ ___ • **parentHash**: *string* -*Inherited from [AbstractBlockRPC](#parenthash)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[parentHash](#parenthash)* -*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L8)* +*Defined in [types.ts:8](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L8)* ___ @@ -1228,9 +1228,9 @@ ___ • **sha3Uncles**: *string* -*Inherited from [AbstractBlockRPC](#sha3uncles)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[sha3Uncles](#sha3uncles)* -*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L10)* +*Defined in [types.ts:10](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L10)* ___ @@ -1238,9 +1238,9 @@ ___ • **size**: *string* -*Inherited from [AbstractBlockRPC](#size)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[size](#size)* -*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L18)* +*Defined in [types.ts:18](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L18)* ___ @@ -1248,9 +1248,9 @@ ___ • **stateRoot**: *string* -*Inherited from [AbstractBlockRPC](#stateroot)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[stateRoot](#stateroot)* -*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L13)* +*Defined in [types.ts:13](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L13)* ___ @@ -1258,9 +1258,9 @@ ___ • **timestamp**: *string* -*Inherited from [AbstractBlockRPC](#timestamp)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[timestamp](#timestamp)* -*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L21)* +*Defined in [types.ts:21](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L21)* ___ @@ -1268,9 +1268,9 @@ ___ • **totalDifficulty**: *string* -*Inherited from [AbstractBlockRPC](#totaldifficulty)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[totalDifficulty](#totaldifficulty)* -*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L16)* +*Defined in [types.ts:16](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L16)* ___ @@ -1278,7 +1278,7 @@ ___ • **transactions**: *[TransactionRPC](#interface-transactionrpc)[]* -*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L28)* +*Defined in [types.ts:28](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L28)* ___ @@ -1286,9 +1286,9 @@ ___ • **transactionsRoot**: *string* -*Inherited from [AbstractBlockRPC](#transactionsroot)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[transactionsRoot](#transactionsroot)* -*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L12)* +*Defined in [types.ts:12](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L12)* ___ @@ -1296,9 +1296,9 @@ ___ • **uncles**: *string[]* -*Inherited from [AbstractBlockRPC](#uncles)* +*Inherited from [AbstractBlockRPC](#interface-abstractblockrpc).[uncles](#uncles)* -*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L22)* +*Defined in [types.ts:22](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L22)*
@@ -1317,9 +1317,9 @@ ___ • **data**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-data)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[data](#optional-data)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L76)* ___ @@ -1327,7 +1327,7 @@ ___ • **from**? : *undefined | string* -*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L85)* +*Defined in [types.ts:85](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L85)* ___ @@ -1335,9 +1335,9 @@ ___ • **gas**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-gas)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[gas](#optional-gas)* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L74)* ___ @@ -1345,9 +1345,9 @@ ___ • **gasPrice**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-gasprice)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[gasPrice](#optional-gasprice)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L75)* ___ @@ -1355,9 +1355,9 @@ ___ • **nonce**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-nonce)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[nonce](#optional-nonce)* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L77)* ___ @@ -1365,9 +1365,9 @@ ___ • **to**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-to)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[to](#optional-to)* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L72)* ___ @@ -1375,9 +1375,9 @@ ___ • **value**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-value)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[value](#optional-value)* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L73)*
@@ -1398,7 +1398,7 @@ ___ • **data**? : *undefined | string* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L76)* ___ @@ -1406,7 +1406,7 @@ ___ • **gas**? : *undefined | string* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L74)* ___ @@ -1414,7 +1414,7 @@ ___ • **gasPrice**? : *undefined | string* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L75)* ___ @@ -1422,7 +1422,7 @@ ___ • **nonce**? : *undefined | string* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L77)* ___ @@ -1430,7 +1430,7 @@ ___ • **to**? : *undefined | string* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L72)* ___ @@ -1438,7 +1438,7 @@ ___ • **value**? : *undefined | string* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L73)*
@@ -1455,7 +1455,7 @@ ___ • **address**: *string* -*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L64)* +*Defined in [types.ts:64](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L64)* ___ @@ -1463,7 +1463,7 @@ ___ • **blockHash**: *string | null* -*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L62)* +*Defined in [types.ts:62](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L62)* ___ @@ -1471,7 +1471,7 @@ ___ • **blockNumber**: *string | null* -*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L63)* +*Defined in [types.ts:63](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L63)* ___ @@ -1479,7 +1479,7 @@ ___ • **data**: *string* -*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L65)* +*Defined in [types.ts:65](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L65)* ___ @@ -1487,7 +1487,7 @@ ___ • **logIndex**: *string | null* -*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L59)* +*Defined in [types.ts:59](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L59)* ___ @@ -1495,7 +1495,7 @@ ___ • **topics**: *string[]* -*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L66)* +*Defined in [types.ts:66](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L66)* ___ @@ -1503,7 +1503,7 @@ ___ • **transactionHash**: *string* -*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L61)* +*Defined in [types.ts:61](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L61)* ___ @@ -1511,7 +1511,7 @@ ___ • **transactionIndex**: *string | null* -*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L60)* +*Defined in [types.ts:60](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L60)*
@@ -1528,7 +1528,7 @@ ___ • **blockHash**: *string* -*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L45)* +*Defined in [types.ts:45](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L45)* ___ @@ -1536,7 +1536,7 @@ ___ • **blockNumber**: *string* -*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L46)* +*Defined in [types.ts:46](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L46)* ___ @@ -1544,7 +1544,7 @@ ___ • **contractAddress**: *string | null* -*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L54)* +*Defined in [types.ts:54](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L54)* ___ @@ -1552,7 +1552,7 @@ ___ • **cumulativeGasUsed**: *string* -*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L52)* +*Defined in [types.ts:52](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L52)* ___ @@ -1560,7 +1560,7 @@ ___ • **from**: *string* -*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L49)* +*Defined in [types.ts:49](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L49)* ___ @@ -1568,7 +1568,7 @@ ___ • **gasUsed**: *string* -*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L53)* +*Defined in [types.ts:53](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L53)* ___ @@ -1576,7 +1576,7 @@ ___ • **logs**: *[LogEntryRPC](#interface-logentryrpc)[]* -*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L55)* +*Defined in [types.ts:55](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L55)* ___ @@ -1584,7 +1584,7 @@ ___ • **status**: *[TransactionReceiptStatusRPC](#transactionreceiptstatusrpc)* -*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L51)* +*Defined in [types.ts:51](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L51)* ___ @@ -1592,7 +1592,7 @@ ___ • **to**: *string* -*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L50)* +*Defined in [types.ts:50](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L50)* ___ @@ -1600,7 +1600,7 @@ ___ • **transactionHash**: *string* -*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L47)* +*Defined in [types.ts:47](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L47)* ___ @@ -1608,7 +1608,7 @@ ___ • **transactionIndex**: *string* -*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L48)* +*Defined in [types.ts:48](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L48)*
@@ -1625,7 +1625,7 @@ ___ • **blockHash**: *string | null* -*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L33)* +*Defined in [types.ts:33](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L33)* ___ @@ -1633,7 +1633,7 @@ ___ • **blockNumber**: *string | null* -*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L34)* +*Defined in [types.ts:34](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L34)* ___ @@ -1641,7 +1641,7 @@ ___ • **from**: *string* -*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L36)* +*Defined in [types.ts:36](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L36)* ___ @@ -1649,7 +1649,7 @@ ___ • **gas**: *string* -*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L40)* +*Defined in [types.ts:40](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L40)* ___ @@ -1657,7 +1657,7 @@ ___ • **gasPrice**: *string* -*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L39)* +*Defined in [types.ts:39](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L39)* ___ @@ -1665,7 +1665,7 @@ ___ • **hash**: *string* -*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L31)* +*Defined in [types.ts:31](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L31)* ___ @@ -1673,7 +1673,7 @@ ___ • **input**: *string* -*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L41)* +*Defined in [types.ts:41](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L41)* ___ @@ -1681,7 +1681,7 @@ ___ • **nonce**: *string* -*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L32)* +*Defined in [types.ts:32](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L32)* ___ @@ -1689,7 +1689,7 @@ ___ • **to**: *string | null* -*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L37)* +*Defined in [types.ts:37](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L37)* ___ @@ -1697,7 +1697,7 @@ ___ • **transactionIndex**: *string | null* -*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L35)* +*Defined in [types.ts:35](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L35)* ___ @@ -1705,7 +1705,7 @@ ___ • **value**: *string* -*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L38)* +*Defined in [types.ts:38](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L38)*
@@ -1724,9 +1724,9 @@ ___ • **data**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-data)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[data](#optional-data)* -*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L76)* +*Defined in [types.ts:76](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L76)* ___ @@ -1734,7 +1734,7 @@ ___ • **from**: *string* -*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L81)* +*Defined in [types.ts:81](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L81)* ___ @@ -1742,9 +1742,9 @@ ___ • **gas**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-gas)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[gas](#optional-gas)* -*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L74)* +*Defined in [types.ts:74](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L74)* ___ @@ -1752,9 +1752,9 @@ ___ • **gasPrice**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-gasprice)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[gasPrice](#optional-gasprice)* -*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L75)* +*Defined in [types.ts:75](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L75)* ___ @@ -1762,9 +1762,9 @@ ___ • **nonce**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-nonce)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[nonce](#optional-nonce)* -*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L77)* +*Defined in [types.ts:77](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L77)* ___ @@ -1772,9 +1772,9 @@ ___ • **to**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-to)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[to](#optional-to)* -*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L72)* +*Defined in [types.ts:72](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L72)* ___ @@ -1782,9 +1782,9 @@ ___ • **value**? : *undefined | string* -*Inherited from [CallTxDataBaseRPC](#optional-value)* +*Inherited from [CallTxDataBaseRPC](#interface-calltxdatabaserpc).[value](#optional-value)* -*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/bfbc78c95/packages/web3-wrapper/src/types.ts#L73)* +*Defined in [types.ts:73](https://github.com/0xProject/0x-monorepo/blob/6474a4e08/packages/web3-wrapper/src/types.ts#L73)*