Updated CHANGELOGS & MD docs

This commit is contained in:
Jacob Evans 2019-10-03 14:10:00 -07:00
parent 9fe6c196ad
commit 501f5ad3de
No known key found for this signature in database
GPG Key ID: 2036DA2ADDFB0842
141 changed files with 44382 additions and 23662 deletions

View File

@ -26,7 +26,8 @@
"note": "Add `Eth2DaiBridge`",
"pr": 2221
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,15 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.3.0-beta.0 - _October 3, 2019_
* Disallow the zero address from being made an authorized address in MixinAuthorizable, and created an archive directory that includes an old version of Ownable (#2019)
* Remove `LibAssetProxyIds` contract (#2055)
* Compile and export all contracts, artifacts, and wrappers by default (#2055)
* Remove unused dependency on IAuthorizable in IAssetProxy (#1910)
* Add `ERC20BridgeProxy` (#2220)
* Add `Eth2DaiBridge` (#2221)
## v2.2.8 - _September 17, 2019_
* Dependencies updated
@ -58,6 +67,9 @@ CHANGELOG
## v2.1.2 - _May 10, 2019_
* Update tests to use contract-built-in `awaitTransactionSuccessAsync` (#1797)
* Make `ERC721Wrapper.setApprovalForAll()` take an owner address instead of a token ID (#1819)
* Automatically set unlimited proxy allowances in `ERC721.setBalancesAndAllowancesAsync()` (#1819)
* Add `setProxyAllowanceForAllAsync()` to `ERC1155ProxyWrapper`. (#1819)
## v2.1.1 - _April 11, 2019_

View File

@ -42,7 +42,8 @@
"note": "Compile and export all contracts, artifacts, and wrappers by default",
"pr": 2055
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,19 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.1.0-beta.0 - _October 3, 2019_
* Add chainId to domain separator (#1742)
* Inherit Exchange domain constants from `exchange-libs` to reduce code duplication (#1742)
* Update domain separator (#1742)
* Refactor contract to use new ITransactions interface (#1753)
* Add verifyingContractIfExists arg to LibEIP712CoordinatorDomain constructor (#1753)
* Remove LibZeroExTransaction contract (#1753)
* Update tests for arbitrary fee tokens (ZEIP-28). (#1819)
* Update for new `marketXOrders` consolidation. (#2042)
* Use built in selectors instead of hard coded constants (#2055)
* Compile and export all contracts, artifacts, and wrappers by default (#2055)
## v2.0.13 - _September 17, 2019_
* Dependencies updated

View File

@ -18,7 +18,8 @@
"note": "`run_mocha` package script runs with `UNLIMITED_CONTRACT_SIZE=true` environment variable.",
"pr": 2075
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,13 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v0.1.0-beta.0 - _October 3, 2019_
* Use built in selectors instead of hard coded constants (#2055)
* Compile and export all contracts, artifacts, and wrappers by default (#2055)
* Add `marketBuy/SellOrdersNoThrow` and `marketBuy/SellOrdersFillOrKill` to `LibTransactionDecoder`. (#2075)
* `run_mocha` package script runs with `UNLIMITED_CONTRACT_SIZE=true` environment variable. (#2075)
## v0.0.10 - _September 17, 2019_
* Dependencies updated
@ -53,3 +60,5 @@ CHANGELOG
* Refactor `LibAssetData` balance/allowance checks to never revert (#1848)
* Refactor `OrderValidationUtils` to calculate `fillableTakerAssetAmount` (#1848)
* Add support for StaticCallProxy (#1863)
* Add `OrderTransferSimulationUtils` contract for simulating order transfers on-chain (#1868)
* Updated to use the new rich error pattern from @0x/contracts-exchange (#1913)

View File

@ -6,7 +6,8 @@
"note": "Add `mintKnownFungibleTokensAsync()`, `isNonFungibleItemAsync()`, `isFungibleItemAsync()`, `getOwnerOfAsync()`, `getBalanceAsync()` to `Erc1155Wrapper`.",
"pr": 1819
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v1.2.0-beta.0 - _October 3, 2019_
* Add `mintKnownFungibleTokensAsync()`, `isNonFungibleItemAsync()`, `isFungibleItemAsync()`, `getOwnerOfAsync()`, `getBalanceAsync()` to `Erc1155Wrapper`. (#1819)
## v1.1.15 - _September 17, 2019_
* Dependencies updated

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.3.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v2.2.14 - _September 17, 2019_
* Dependencies updated

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.2.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v2.1.15 - _September 17, 2019_
* Dependencies updated

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v3.1.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v3.0.12 - _September 17, 2019_
* Dependencies updated

View File

@ -106,7 +106,8 @@
"note": "Update `IncompleteFillError` to take an `errorCode`, `expectedAssetFillAmount`, and `actualAssetFillAmount` fields.",
"pr": 2075
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,35 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v3.1.0-beta.0 - _October 3, 2019_
* Break up `LibEIP712` into reusable components (#1742)
* Add `chainId` to EIP712 domain schema (#1742)
* Rename `verifyingContract` to `verifyingContractAddress` in domain schema (#1742)
* Add LibZeroExTransaction contract (#1753)
* Add verifyingContractIfExists arg to LibEIP712ExchangeDomain constructor (#1753)
* Remove LibEIP712ExchangeDomainConstants and LibEIP712 contracts (#1753)
* Add `LibExchangeRichErrorDecoder` contract. (#1790)
* Break out types/interaces from `MExchangeRichErrors` into `MExchangeRichErrorTypes`. (#1790)
* Reorder some revert error parameters for consistency (#1790)
* Add new `Order` fields for arbitrary fee tokens (ZEIP-28). (#1819)
* Remove `LibAbiEncoder` and `LibConstants`. (#1819)
* Add `generate-exchange-selectors` package script. (#1819)
* Add `expirationTimeSeconds` to `ZeroExTransaction` struct (#1823)
* Add reference functions for `LibMath` and `LibFillResults` (#2031)
* Move in revamped `LibMath` tests from the `contracts-exchange` package. (#2031)
* Move in revamped `LibFillResults` tests from the `contracts-exchange` package. (#2031)
* Remove unecessary zero-denominator checks in `LibMath`. (#2031)
* Fix coverage hooks. (#2031)
* Regenerate selectors. (#2042)
* Convert `LibFillResults`, `LibOrder`, `LibZeroExTransaction`, and `LibMath` to libraries (#2055)
* Remove `LibExchangeSelectors` (#2055)
* Add `LibExchangeRichErrors` (#2055)
* Add `calculateFillResults` and `calculateMatchedFillResults` to `LibFillResults` (#2055)
* Remove `_hashEIP712ExchangeMessage` from `LibEIP712ExchangeDomain` (#2055)
* Compile and export all contracts, artifacts, and wrappers by default (#2055)
* Update `IncompleteFillError` to take an `errorCode`, `expectedAssetFillAmount`, and `actualAssetFillAmount` fields. (#2075)
## v3.0.8 - _September 17, 2019_
* Dependencies updated

View File

@ -190,7 +190,8 @@
"note": "Overridden functions in `ReentrancyTester` now return sane values.",
"pr": 2075
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,56 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.2.0-beta.0 - _October 3, 2019_
* Use new/cheaper reentrancy guard/mutex (#1699)
* Update domain separator (#1742)
* Refactor `executeTransaction` to take `ZeroExTransaction` struct as input (#1753)
* Refactor example contracts that use `executeTransaction` (#1753)
* Upgrade all string reverts to rich reverts (#1761)
* Add support for `SignatureType.OrderValidator` for orders (#1774)
* Add support for `SignatureType.WalletOrderValidator` for orders (#1774)
* Add a `bytes` return value to `executeTransaction`, which is equal to the encoded return data of the underlying Exchange function call (#1793)
* Implement `batchExecuteTransactions` (#1793)
* Refactor preSign to be compatible with `executeTransaction` (#1793)
* Remove ZRX fees in lieu of arbitrary maker and taker fee tokens. (#1819)
* Incorporate Multi-asset and ERC1155 tests into `fillOrder` and `matchOrders` tests (#1819)
* Swap fill order from maker -> taker to taker -> maker (#1819)
* Avoid redundant transfer in `fillOrder()` and `matchOrders()` when maker/taker is the same as feeRecipient and assets are the same (#1819)
* Implement `cancelOrderNoThrow` and `batchCancelOrdersNoThrow` functions (#1827)
* `executeTransaction` will now revert if the input transaction is expired (#1832)
* Log an `TransactionExecuted` event when an `executeTransaction` call is successful (#1832)
* Return a FillResults array for batch fill variants (#1834)
* Add `MixinTransferSimulator` contract for simulating multiple transfers on-chain (#1868)
* Add `EIP1271Wallet` signature type (#1885)
* Remove `WalletOrderValidator` and `OrderValidator` signature types (#1885)
* Make the regular `Validator` signature type have EIP1271 behavior (#1885)
* Always check signature types that are validated via contract (not just on first fill). (#1885)
* Remove unecessary rich revert error types. (#1885)
* Add `IEIP1271Wallet` interface (#1885)
* Add `validatorAddress` field to `SignatureValidatorError` rich reverts (#1885)
* Make `calculateMatchedFillResults` public (#1885)
* Updated RichErrors to the library pattern (#1913)
* Rewrote _dispatchTransferFrom in Solidity (#2020)
* Add `TestIsolatedExchange` contract and `IsolatedExchangeWrapper` test class (#2031)
* Add `ReferenceFunctions` as package export. (#2031)
* Remove `TestExchangeMath.sol`. Exchange math functions are now tested in the `exchange-libs` package and reference implementations are available there as well. (#2031)
* Remove functions from `TestExchangeInternals.sol` that are no longer tested in this package. (#2031)
* Remove `_assertValidFill()` (#2031)
* Add `wrapper_unit_tests` tests and `TestWrapperFunctions` contract (#2042)
* Disallow `signerAddress == 0` in signature validation functions. (#2042)
* Update `Wallet` signature type behavior to be in line with v2.1. (#2042)
* Add (semi) automated reentrancy tests and remove manual ones (#2042)
* Refactor to use new `LibFillResults`, `LibOrder`, `LibZeroExTransaction`, and `LibMath` to libraries (#2055)
* Remove `LibExchangeRichErrors` and `IExchangeRichErrors` (#2055)
* Use built in selectors instead of `LibExchangeSelectors` constants (#2055)
* Move `calculateFillResults` and `calculateMatchedFillResults` to `LibFillResults` in `exchange-libs` package (#2055)
* Compile and export all contracts, artifacts, and wrappers by default (#2055)
* Rename `marketSellOrders` and `marketBuyOrders` back to `marketSellOrdersNoThrow` and `marketBuyOrdersNoThrow`. (#2075)
* Introduce new `marketSellOrdersFillOrKill` and `marketBuyOrdersFillOrKill` functions. (#2075)
* Use `abi.decode()` in `LibExchangeRichErrorDecoder` over `LibBytes`. (#2075)
* Overridden functions in `ReentrancyTester` now return sane values. (#2075)
## v2.1.14 - _September 17, 2019_
* Dependencies updated

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v4.1.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v4.0.8 - _September 17, 2019_
* Dependencies updated
@ -40,6 +44,9 @@ CHANGELOG
## v4.0.0 - _July 13, 2019_
* Move `OrderValidator` to contracts/dev-utils package as `OrderValidationUtils` (#1848)
* Remove unused `LibOrder` inheritance (#1742)
* Refactor BalanceThresholdFilter to use new ITransactions interface (#1753)
* Update tests for rich reverts (#1761)
## v3.1.5 - _May 24, 2019_

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v3.2.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v3.1.14 - _September 17, 2019_
* Dependencies updated

View File

@ -70,6 +70,7 @@
"note": "Removed explicit dependency on epoch+1 when delegating.",
"pr": 2188
}
]
],
"timestamp": 1570135330
}
]

View File

@ -4,3 +4,23 @@ Edit the package's CHANGELOG.json file only.
-->
CHANGELOG
## v1.1.0-beta.0 - _October 3, 2019_
* Created package (#1821)
* First implementation (#1910)
* Replace `LibFeeMath` with `LibFixedMath`. (#2109)
* Use a more precise cobb-douglas implementation. (#2109)
* Change the way operator stake is computed. (#2109)
* Denominate pool operator shares in parts-per-million. (#2109)
* New stake management mechanics. Delay before delegation. Nixed shadow rewards. (#2118)
* Tests for new stake management mechanics. (#2126)
* Add `init()` pattern to contracts. (#2131)
* Replace `MixinDeploymentConstants` with `MixinParams`. (#2131)
* Reference counting for cumulative rewards. (#2154)
* Refactored Staking Reward Vault. Moved pool management logic into staking contract. (#2156)
* Removed MixinStakingPoolRewardVault.sol (#2156)
* Refactored out `_cobbDouglas()` into its own library (#2179)
* Introduce multi-block finalization. (#2155)
* Removed reference counting for cumulative rewards. (#2188)
* Removed explicit dependency on epoch+1 when delegating. (#2188)

View File

@ -98,7 +98,8 @@
"note": "Add `number_utils.ts` and `hexSize()`",
"pr": 2220
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,33 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v3.2.0-beta.0 - _October 3, 2019_
* Add `chainId` to `TransactionFactory` constructor (#1742)
* Use new `Order` structure with `domain` field (#1742)
* Inherit `chaiSetup` from `@0x/dev-utils` (#1761)
* Add `generatePseudoRandomOrderHash()` to `orderUtils` (#1761)
* Inherit `OrderStatus` from `@0x/types` (#1761)
* Update types for arbitrary fee tokens (#1819)
* Remove formatters (#1834)
* Add `hexConcat()` in `hex_utils.ts` (#1885)
* Introduce Mocha blockchain extensions (#2007)
* Move `*FillResults`, `OrderInfo` types to `@0x/types` (#2031)
* Add `log_utils.ts` (#2031)
* Add `haxRandom()` to `hex_utils.ts` (#2031)
* Add the constants: `MAX_UINT256`, `ADDRESS_LENGTH`, `MAX_UINT256_ROOT`, `ONE_ETHER` (#2031)
* Make `testCombinatoriallyWithReferenceFuncAsync` non-async (#2031)
* Update `testWithReferenceFuncAsync` to work with `RevertErrors` (#2031)
* `web3Wrapper` is created with `shouldAllowUnlimitedContractSize` if `UNLIMITED_CONTRACT_SIZE` environment variable is set. (#2075)
* Add `toHex()`, `hexLeftPad()`, `hexRightPad()`, and 'hexInvert()' hex utils (#2109)
* Add `PPM_DENOMINATOR` and `PPM_100_PERCENT` constants. (#2109)
* Increase the number of ganache accounts to 20 (#2109)
* Add `Numberish` type. (#2131)
* Tweaks/Upgrades to `hex_utils`, most notably `hexSlice()` (#2155)
* Add `hexHash()` to `hex_utils` (#2155)
* Add `shortZip()` to `lang_utils.ts` (#2155)
* Add `number_utils.ts` and `hexSize()` (#2220)
## v3.1.16 - _September 17, 2019_
* Dependencies updated

View File

@ -62,7 +62,8 @@
"note": "Introduce automatic normalization and some zero-value shortcuts in `LibFractions`.",
"pr": 2155
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,24 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v3.3.0-beta.0 - _October 3, 2019_
* Change ReentrancyGuard implementation to cheaper one (#1699)
* Add LibEIP712 contract (#1753)
* Add `RichErrors` and `mixins/MRichErrors` (#1761)
* Break out types/interaces from `MRichErrors` into `MRichErrorTypes`. (#1790)
* Add LibEIP1271.sol (#1885)
* Updated RichErrors to the library pattern, and implemented RichErrors for all remaining reverts and requires (#1913)
* Added unit tests for all of the internal functions in the package (#2014)
* Updated Ownable to revert when the owner attempts to transfer ownership to the zero address (#2019)
* Add reference functions for `SafeMath` functions. (#2031)
* Throw a `SafeMathError` in `SafeMath._safeDiv()` when denominator is zero. (#2031)
* Create `LibSafeMath` (#2055)
* Rename `_rrevert` to `rrevert` in `LibRichErrors` contract (#2055)
* Compile and export all contracts, artifacts, and wrappers by default (#2055)
* Added LibFractions (#2118)
* Introduce automatic normalization and some zero-value shortcuts in `LibFractions`. (#2155)
## v3.2.4 - _September 17, 2019_
* Dependencies updated

View File

@ -5,7 +5,8 @@
{
"note": "Updated to work with 0x v3"
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v7.1.0-beta.0 - _October 3, 2019_
* Updated to work with 0x v3
## v7.0.2 - _September 17, 2019_
* Dependencies updated

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,8 @@
"note": "Hardcode bytecode for local EVM execution",
"pr": 2198
}
]
],
"timestamp": 1570135330
},
{
"version": "5.3.2",

View File

@ -5,6 +5,11 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v5.4.0-beta.0 - _October 3, 2019_
* Use V3 contracts (#2181)
* Hardcode bytecode for local EVM execution (#2198)
## v5.3.2 - _September 17, 2019_
* Redirect `callAsync` to use local EVM instead of eth_call for pure functions (#2108)
@ -47,7 +52,9 @@ CHANGELOG
## v4.3.0 - _May 10, 2019_
* Update Coordinator and Exchange wrappers (#1742)
* Update wrapper functions to expose `awaitTransactionSuccessAsync()` methods (#1797)
* Update wrappers to automatically throw `RevertError` types when possible. (#1819)
## v4.2.0 - _April 11, 2019_

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"version": "4.2.1",

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v4.3.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v4.2.1 - _September 17, 2019_
* Redirect to `evmExecAsync` to use local EVM instead of eth_call for pure functions (#2108)

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.2.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v2.1.6 - _September 17, 2019_
* Dependencies updated
@ -32,6 +36,7 @@ CHANGELOG
## v2.1.0 - _July 13, 2019_
* Add new assertions: `isArray`, `isBlockParam` and `isNumberOrBigNumber` (#1823)
* Add `isNumberLike()` assertion (#1819)
## v2.0.10 - _May 10, 2019_

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v6.2.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v6.1.14 - _September 17, 2019_
* Dependencies updated

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"version": "2.0.0",

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.1.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v2.0.0 - _September 17, 2019_
* AssetSwapper to use `@0x/orderbook` to fetch and subscribe to order updates (#2056)

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,8 @@
"note": "Properly encode `BigNumber` indexed filter values in `getTopicsForIndexedArgs()`",
"pr": 2155
}
]
],
"timestamp": 1570135330
},
{
"version": "5.4.0",

View File

@ -5,6 +5,14 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v5.5.0-beta.0 - _October 3, 2019_
* Automatically decode and throw rich reverts in `_throwIfRevertWithReasonCallResult` (#1761)
* Remove dependency on ethers.js (#1761)
* Add more RevertError decoding functions (#1819)
* Make the Promise returned by `awaitTransactionSuccessAsync` compatible with base Promise type (#1885)
* Properly encode `BigNumber` indexed filter values in `getTopicsForIndexedArgs()` (#2155)
## v5.4.0 - _September 17, 2019_
* Add `evmExecAsync` to use local EVM instead of eth_call for pure functions (#2108)

View File

@ -5,7 +5,8 @@
{
"note": "Dependencies updated"
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v5.1.0-beta.0 - _October 3, 2019_
* Dependencies updated
## v5.0.19 - _September 17, 2019_
* Dependencies updated

View File

@ -1,204 +1,170 @@
# Class: HttpClient
This class includes all the functionality related to interacting with a set of HTTP endpoints
that implement the standard relayer API v2
## Constructors
\+ **new HttpClient**(`url`: string): *[HttpClient](#class-httpclient)*
*Defined in [connect/src/http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/connect/src/http_client.ts#L44)*
## Type aliases
### AssetPairsResponse
Ƭ **AssetPairsResponse**: *[PaginatedCollection](#interface-paginatedcollection)*[AssetPairsItem](#interface-assetpairsitem)**
*Defined in [types/src/index.ts:411](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L411)*
___
### FeeRecipientsResponse
Ƭ **FeeRecipientsResponse**: *[PaginatedCollection](#interface-paginatedcollection)*string**
*Defined in [types/src/index.ts:475](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L475)*
___
### OrdersResponse
Ƭ **OrdersResponse**: *[PaginatedCollection](#interface-paginatedcollection)*[APIOrder](#interface-apiorder)**
*Defined in [types/src/index.ts:399](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L399)*
___
# Interface: Client
## Implemented by
* [HttpClient](#class-httpclient)
## Properties
### getAssetPairsAsync
• **getAssetPairsAsync**: *function*
*Defined in [connect/src/types.ts:18](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/connect/src/types.ts#L18)*
#### Type declaration:
▸ (`requestOpts?`: `AssetPairsRequestOpts` & `PagedRequestOpts`): *`Promise<PaginatedCollection<AssetPairsItem>>`*
Instantiates a new HttpClient instance
**Parameters:**
Name | Type |
------ | ------ |
`requestOpts?` | `AssetPairsRequestOpts` & `PagedRequestOpts` |
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<AssetPairsResponse>`*
*Defined in [connect/src/http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/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<AssetPairsResponse>`*
The resulting AssetPairsResponse that match the request
___
### getFeeRecipientsAsync
• **getFeeRecipientsAsync**: *function*
▸ **getFeeRecipientsAsync**(`requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise<FeeRecipientsResponse>`*
*Defined in [connect/src/types.ts:25](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/connect/src/types.ts#L25)*
*Defined in [connect/src/http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/connect/src/http_client.ts#L160)*
#### Type declaration:
▸ (`requestOpts?`: [PagedRequestOpts](#class-pagedrequestopts)): *`Promise<FeeRecipientsResponse>`*
Retrieve the list of fee recipient addresses used by the relayer.
**Parameters:**
Name | Type |
------ | ------ |
`requestOpts?` | [PagedRequestOpts](#class-pagedrequestopts) |
Name | Type | Description |
------ | ------ | ------ |
`requestOpts?` | `RequestOpts` & `PagedRequestOpts` | Options specifying page information, and network id. |
**Returns:** *`Promise<FeeRecipientsResponse>`*
The resulting FeeRecipientsResponse
___
### getOrderAsync
• **getOrderAsync**: *function*
▸ **getOrderAsync**(`orderHash`: string, `requestOpts?`: [RequestOpts](#interface-requestopts)): *`Promise<APIOrder>`*
*Defined in [connect/src/types.ts:22](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/connect/src/types.ts#L22)*
*Defined in [connect/src/http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/connect/src/http_client.ts#L99)*
#### Type declaration:
▸ (`orderHash`: string): *`Promise<APIOrder>`*
Retrieve a specific order from the API
**Parameters:**
Name | Type |
------ | ------ |
`orderHash` | string |
Name | Type | Description |
------ | ------ | ------ |
`orderHash` | string | An orderHash generated from the desired order |
`requestOpts?` | [RequestOpts](#interface-requestopts) | - |
**Returns:** *`Promise<APIOrder>`*
The APIOrder that matches the supplied orderHash
___
### getOrderConfigAsync
• **getOrderConfigAsync**: *function*
▸ **getOrderConfigAsync**(`request`: `OrderConfigRequest`, `requestOpts?`: [RequestOpts](#interface-requestopts)): *`Promise<OrderConfigResponse>`*
*Defined in [connect/src/types.ts:24](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/connect/src/types.ts#L24)*
*Defined in [connect/src/http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/connect/src/http_client.ts#L139)*
#### Type declaration:
▸ (`request`: `OrderConfigRequest`): *`Promise<OrderConfigResponse>`*
Retrieve fee information from the API
**Parameters:**
Name | Type |
------ | ------ |
`request` | `OrderConfigRequest` |
Name | Type | Description |
------ | ------ | ------ |
`request` | `OrderConfigRequest` | A OrderConfigRequest instance describing the specific fees to retrieve |
`requestOpts?` | [RequestOpts](#interface-requestopts) | Options specifying network id. |
**Returns:** *`Promise<OrderConfigResponse>`*
The resulting OrderConfigResponse that matches the request
___
### getOrderbookAsync
• **getOrderbookAsync**: *function*
▸ **getOrderbookAsync**(`request`: `OrderbookRequest`, `requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise<OrderbookResponse>`*
*Defined in [connect/src/types.ts:23](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/connect/src/types.ts#L23)*
*Defined in [connect/src/http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/connect/src/http_client.ts#L117)*
#### Type declaration:
▸ (`request`: `OrderbookRequest`, `requestOpts?`: [PagedRequestOpts](#class-pagedrequestopts)): *`Promise<OrderbookResponse>`*
Retrieve an orderbook from the API
**Parameters:**
Name | Type |
------ | ------ |
`request` | `OrderbookRequest` |
`requestOpts?` | [PagedRequestOpts](#class-pagedrequestopts) |
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<OrderbookResponse>`*
The resulting OrderbookResponse that matches the request
___
### getOrdersAsync
• **getOrdersAsync**: *function*
▸ **getOrdersAsync**(`requestOpts?`: `RequestOpts` & `OrdersRequestOpts` & `PagedRequestOpts`): *`Promise<OrdersResponse>`*
*Defined in [connect/src/types.ts:21](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/connect/src/types.ts#L21)*
*Defined in [connect/src/http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/connect/src/http_client.ts#L79)*
#### Type declaration:
▸ (`requestOpts?`: `OrdersRequestOpts` & `PagedRequestOpts`): *`Promise<PaginatedCollection<APIOrder>>`*
Retrieve orders from the API
**Parameters:**
Name | Type |
------ | ------ |
`requestOpts?` | `OrdersRequestOpts` & `PagedRequestOpts` |
Name | Type | Description |
------ | ------ | ------ |
`requestOpts?` | `RequestOpts` & `OrdersRequestOpts` & `PagedRequestOpts` | Options specifying orders to retrieve and page information, page information, and network id. |
**Returns:** *`Promise<OrdersResponse>`*
The resulting OrdersResponse that match the request
___
### submitOrderAsync
• **submitOrderAsync**: *function*
▸ **submitOrderAsync**(`signedOrder`: `SignedOrder`, `requestOpts?`: [RequestOpts](#interface-requestopts)): *`Promise<void>`*
*Defined in [connect/src/types.ts:26](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/connect/src/types.ts#L26)*
*Defined in [connect/src/http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/connect/src/http_client.ts#L177)*
#### Type declaration:
▸ (`signedOrder`: `SignedOrder`): *`Promise<void>`*
Submit a signed order to the API
**Parameters:**
Name | Type |
------ | ------ |
`signedOrder` | `SignedOrder` |
Name | Type | Description |
------ | ------ | ------ |
`signedOrder` | `SignedOrder` | A SignedOrder instance to submit |
`requestOpts?` | [RequestOpts](#interface-requestopts) | Options specifying network id. |
**Returns:** *`Promise<void>`*
<hr />
@ -208,6 +174,32 @@ Name | Type |
# Interface: APIOrder
@ -217,7 +209,7 @@ Name | Type |
• **metaData**: *object*
*Defined in [types/src/index.ts:403](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L403)*
*Defined in [types/src/index.ts:408](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L408)*
___
@ -225,7 +217,7 @@ ___
• **order**: *[SignedOrder](#class-signedorder)*
*Defined in [types/src/index.ts:402](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L402)*
*Defined in [types/src/index.ts:407](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L407)*
<hr />
@ -273,6 +265,10 @@ ___
@ -281,181 +277,12 @@ ___
# Class: HttpClient
This class includes all the functionality related to interacting with a set of HTTP endpoints
that implement the standard relayer API v2
## Implements
* [Client](#interface-client)
## Constructors
\+ **new HttpClient**(`url`: string): *[HttpClient](#class-httpclient)*
*Defined in [connect/src/http_client.ts:44](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/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<AssetPairsResponse>`*
*Defined in [connect/src/http_client.ts:59](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/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<AssetPairsResponse>`*
The resulting AssetPairsResponse that match the request
___
### getFeeRecipientsAsync
▸ **getFeeRecipientsAsync**(`requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise<FeeRecipientsResponse>`*
*Defined in [connect/src/http_client.ts:160](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/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<FeeRecipientsResponse>`*
The resulting FeeRecipientsResponse
___
### getOrderAsync
▸ **getOrderAsync**(`orderHash`: string, `requestOpts?`: [RequestOpts](#interface-requestopts)): *`Promise<APIOrder>`*
*Defined in [connect/src/http_client.ts:99](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/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](#interface-requestopts) | - |
**Returns:** *`Promise<APIOrder>`*
The APIOrder that matches the supplied orderHash
___
### getOrderConfigAsync
▸ **getOrderConfigAsync**(`request`: `OrderConfigRequest`, `requestOpts?`: [RequestOpts](#interface-requestopts)): *`Promise<OrderConfigResponse>`*
*Defined in [connect/src/http_client.ts:139](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/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](#interface-requestopts) | Options specifying network id. |
**Returns:** *`Promise<OrderConfigResponse>`*
The resulting OrderConfigResponse that matches the request
___
### getOrderbookAsync
▸ **getOrderbookAsync**(`request`: `OrderbookRequest`, `requestOpts?`: `RequestOpts` & `PagedRequestOpts`): *`Promise<OrderbookResponse>`*
*Defined in [connect/src/http_client.ts:117](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/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<OrderbookResponse>`*
The resulting OrderbookResponse that matches the request
___
### getOrdersAsync
▸ **getOrdersAsync**(`requestOpts?`: `RequestOpts` & `OrdersRequestOpts` & `PagedRequestOpts`): *`Promise<OrdersResponse>`*
*Defined in [connect/src/http_client.ts:79](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/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<OrdersResponse>`*
The resulting OrdersResponse that match the request
___
### submitOrderAsync
▸ **submitOrderAsync**(`signedOrder`: `SignedOrder`, `requestOpts?`: [RequestOpts](#interface-requestopts)): *`Promise<void>`*
*Defined in [connect/src/http_client.ts:177](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/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](#interface-requestopts) | Options specifying network id. |
**Returns:** *`Promise<void>`*
<hr />
@ -493,7 +320,7 @@ Name | Type | Description |
• **page**? : *undefined | number*
*Defined in [types/src/index.ts:482](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L482)*
*Defined in [types/src/index.ts:491](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L491)*
___
@ -501,7 +328,7 @@ ___
• **perPage**? : *undefined | number*
*Defined in [types/src/index.ts:483](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L483)*
*Defined in [types/src/index.ts:492](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L492)*
<hr />
@ -518,7 +345,7 @@ ___
• **page**: *number*
*Defined in [types/src/index.ts:452](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L452)*
*Defined in [types/src/index.ts:459](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L459)*
___
@ -526,7 +353,7 @@ ___
• **perPage**: *number*
*Defined in [types/src/index.ts:453](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L453)*
*Defined in [types/src/index.ts:460](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L460)*
___
@ -534,7 +361,7 @@ ___
• **records**: *`T`[]*
*Defined in [types/src/index.ts:454](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L454)*
*Defined in [types/src/index.ts:461](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L461)*
___
@ -542,7 +369,7 @@ ___
• **total**: *number*
*Defined in [types/src/index.ts:451](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L451)*
*Defined in [types/src/index.ts:458](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L458)*
<hr />
@ -559,7 +386,7 @@ ___
• **networkId**? : *undefined | number*
*Defined in [types/src/index.ts:478](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L478)*
*Defined in [types/src/index.ts:487](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L487)*
<hr />
@ -568,13 +395,23 @@ ___
## Properties
### chainId
• **chainId**: *number*
*Inherited from [Order](#interface-order).[chainId](#chainid)*
*Defined in [types/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L14)*
___
### exchangeAddress
• **exchangeAddress**: *string*
*Inherited from [Order](#interface-order).[exchangeAddress](#exchangeaddress)*
*Defined in [types/src/index.ts:20](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L20)*
*Defined in [types/src/index.ts:15](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L15)*
___
@ -584,7 +421,7 @@ ___
*Inherited from [Order](#interface-order).[expirationTimeSeconds](#expirationtimeseconds)*
*Defined in [types/src/index.ts:22](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L22)*
*Defined in [types/src/index.ts:24](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L24)*
___
@ -594,7 +431,7 @@ ___
*Inherited from [Order](#interface-order).[feeRecipientAddress](#feerecipientaddress)*
*Defined in [types/src/index.ts:21](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L21)*
*Defined in [types/src/index.ts:18](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L18)*
___
@ -604,7 +441,7 @@ ___
*Inherited from [Order](#interface-order).[makerAddress](#makeraddress)*
*Defined in [types/src/index.ts:11](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L11)*
*Defined in [types/src/index.ts:16](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L16)*
___
@ -614,7 +451,7 @@ ___
*Inherited from [Order](#interface-order).[makerAssetAmount](#makerassetamount)*
*Defined in [types/src/index.ts:15](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L15)*
*Defined in [types/src/index.ts:20](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L20)*
___
@ -624,7 +461,7 @@ ___
*Inherited from [Order](#interface-order).[makerAssetData](#makerassetdata)*
*Defined in [types/src/index.ts:17](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L17)*
*Defined in [types/src/index.ts:26](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L26)*
___
@ -634,7 +471,17 @@ ___
*Inherited from [Order](#interface-order).[makerFee](#makerfee)*
*Defined in [types/src/index.ts:13](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L13)*
*Defined in [types/src/index.ts:22](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L22)*
___
### makerFeeAssetData
• **makerFeeAssetData**: *string*
*Inherited from [Order](#interface-order).[makerFeeAssetData](#makerfeeassetdata)*
*Defined in [types/src/index.ts:28](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L28)*
___
@ -644,7 +491,7 @@ ___
*Inherited from [Order](#interface-order).[salt](#salt)*
*Defined in [types/src/index.ts:19](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L19)*
*Defined in [types/src/index.ts:25](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L25)*
___
@ -654,7 +501,7 @@ ___
*Inherited from [Order](#interface-order).[senderAddress](#senderaddress)*
*Defined in [types/src/index.ts:10](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L10)*
*Defined in [types/src/index.ts:19](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L19)*
___
@ -662,7 +509,7 @@ ___
• **signature**: *string*
*Defined in [types/src/index.ts:41](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L41)*
*Defined in [types/src/index.ts:33](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L33)*
___
@ -672,7 +519,7 @@ ___
*Inherited from [Order](#interface-order).[takerAddress](#takeraddress)*
*Defined in [types/src/index.ts:12](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L12)*
*Defined in [types/src/index.ts:17](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L17)*
___
@ -682,7 +529,7 @@ ___
*Inherited from [Order](#interface-order).[takerAssetAmount](#takerassetamount)*
*Defined in [types/src/index.ts:16](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L16)*
*Defined in [types/src/index.ts:21](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L21)*
___
@ -692,7 +539,7 @@ ___
*Inherited from [Order](#interface-order).[takerAssetData](#takerassetdata)*
*Defined in [types/src/index.ts:18](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L18)*
*Defined in [types/src/index.ts:27](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L27)*
___
@ -702,7 +549,17 @@ ___
*Inherited from [Order](#interface-order).[takerFee](#takerfee)*
*Defined in [types/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/types/src/index.ts#L14)*
*Defined in [types/src/index.ts:23](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L23)*
___
### takerFeeAssetData
• **takerFeeAssetData**: *string*
*Inherited from [Order](#interface-order).[takerFeeAssetData](#takerfeeassetdata)*
*Defined in [types/src/index.ts:29](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L29)*
<hr />
@ -753,10 +610,6 @@ ___
<hr />
<hr />
@ -769,13 +622,13 @@ ___
#### ▪ **ordersChannelFactory**: *object*
*Defined in [connect/src/orders_channel_factory.ts:7](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/connect/src/orders_channel_factory.ts#L7)*
*Defined in [connect/src/orders_channel_factory.ts:7](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/connect/src/orders_channel_factory.ts#L7)*
#### createWebSocketOrdersChannelAsync
▸ **createWebSocketOrdersChannelAsync**(`url`: string, `handler`: [OrdersChannelHandler](#interface-orderschannelhandler)): *`Promise<OrdersChannel>`*
*Defined in [connect/src/orders_channel_factory.ts:15](https://github.com/0xProject/0x-monorepo/blob/23602ec6b/packages/connect/src/orders_channel_factory.ts#L15)*
*Defined in [connect/src/orders_channel_factory.ts:15](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/connect/src/orders_channel_factory.ts#L15)*
Instantiates a new WebSocketOrdersChannel instance
@ -792,3 +645,52 @@ An OrdersChannel Promise
<hr />
<hr />
## Type aliases
### AssetPairsResponse
Ƭ **AssetPairsResponse**: *[PaginatedCollection](#interface-paginatedcollection)*[AssetPairsItem](#interface-assetpairsitem)**
*Defined in [types/src/index.ts:416](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L416)*
___
### FeeRecipientsResponse
Ƭ **FeeRecipientsResponse**: *[PaginatedCollection](#interface-paginatedcollection)*string**
*Defined in [types/src/index.ts:484](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L484)*
___
### OrdersResponse
Ƭ **OrdersResponse**: *[PaginatedCollection](#interface-paginatedcollection)*[APIOrder](#interface-apiorder)**
*Defined in [types/src/index.ts:404](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L404)*
___

View File

@ -6,7 +6,8 @@
"note": "Removed `getNetworkIdByExchangeAddressOrThrow`. It's not needed with V3 tooling.",
"pr": 2170
}
]
],
"timestamp": 1570135330
},
{
"version": "3.2.0",

View File

@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v3.3.0-beta.0 - _October 3, 2019_
* Removed `getNetworkIdByExchangeAddressOrThrow`. It's not needed with V3 tooling. (#2170)
## v3.2.0 - _September 17, 2019_
* Added `getNetworkIdByExchangeAddressOrThrow` (#2096)

View File

@ -10,7 +10,8 @@
"note": "Add `deployedBytecode` field",
"pr": 2181
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,11 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.3.0-beta.0 - _October 3, 2019_
* Use V3 contracts (#2181)
* Add `deployedBytecode` field (#2181)
## v2.2.2 - _September 17, 2019_
* Dependencies updated

View File

@ -10,7 +10,8 @@
"note": "Update exchange wrapper",
"pr": 1742
}
]
],
"timestamp": 1570135330
},
{
"version": "12.1.0",

View File

@ -5,6 +5,11 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v12.2.0-beta.0 - _October 3, 2019_
* Use new `Order` and `ZeroExTransaction` structures with `domain` field (#1742)
* Update exchange wrapper (#1742)
## v12.1.0 - _September 17, 2019_
* Add `devUtils` to `ContractWrappers` class. (#2146)

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,8 @@
"note": "Fixed sorting in artifact generation",
"pr": 1910
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,11 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v1.1.0-beta.0 - _October 3, 2019_
* Generate boilerplate for all contracts if none are specified or if all contracts identifier is used (#2055)
* Fixed sorting in artifact generation (#1910)
## v1.0.15 - _September 17, 2019_
* Dependencies updated

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{67:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=t(177),r=t(178),a=t(179),s=t(14);i.registerLanguage("javascript",r),i.registerLanguage("json",a);var u={"+":"addition","-":"deletion","!":"change"};n.highlight=function(e){var n=e.language,t=e.code,r=e.isDiff,a=e.gutter,g=e.isEtc;if(r)return function(e,n,t){return s.map(n.split(/\r?\n/g),function(n,r){var a,s=n;/^-{3} [^-]+ -{4}$|^\*{3} [^*]+ \*{4}$|^@@ [^@]+ @@$/.test(s)?a="chunk":/^Index: |^[+\-*]{3}|^[*=]{5,}$/.test(s)?a="header":(a=u[s[0]]||"null",s=s.replace(/^[+\-! ]/,""));var g=t[r];return'<span data-gutter="'+(void 0!==g?g+"x":"")+'" class="line-'+a+'">'+i.highlight(e,s).value+"</span>"}).join("\n")}(n,t,a);var l=i.highlight(n,t).value;if(!g)return l;var c=l.split(/\r?\n/g);return c.splice(1,0," ..."),c.splice(c.length-1,0," ..."),c.join("\n")}}}]);
//# sourceMappingURL=bundle-highlightjs.b689062270f1d37ff7fb.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./ts/highlight.tsx"],"names":["hljs","__webpack_require__","javascript","json","_","registerLanguage","PATCH_TYPES","+","-","!","exports","highlight","_a","language","code","isDiff","gutter","isEtc","map","split","line","index","type","currentLine","test","replace","g","undefined","value","join","diffHighlight","hlCode","hc","splice","length"],"mappings":"0IAAA,IAAAA,EAAAC,EAAA,KACAC,EAAAD,EAAA,KACAE,EAAAF,EAAA,KACAG,EAAAH,EAAA,IAEAD,EAAKK,iBAAiB,aAAcH,GACpCF,EAAKK,iBAAiB,OAAQF,GAM9B,IAAMG,EAA8B,CAChCC,IAAK,WACLC,IAAK,WACLC,IAAK,UAmDAC,EAAAC,UAlBT,SAAmBC,OAAEC,EAAAD,EAAAC,SAAUC,EAAAF,EAAAE,KAAMC,EAAAH,EAAAG,OAAQC,EAAAJ,EAAAI,OAAQC,EAAAL,EAAAK,MACjD,GAAIF,EACA,OAhCR,SAAuBF,EAAkBC,EAAWE,GAChD,OAAOZ,EAAEc,IAAIJ,EAAKK,MAAM,UAAW,SAACC,EAAcC,GAC9C,IAAIC,EACAC,EAAcH,EAEd,sDAAsDI,KAAKD,GAC3DD,EAAO,QACA,iCAAiCE,KAAKD,GAC7CD,EAAO,UAEPA,EAAOhB,EAAYiB,EAAY,KAAO,OACtCA,EAAcA,EAAYE,QAAQ,WAAY,KAGlD,IAAMC,EAAIV,EAAOK,GAEjB,MAAO,4BAA4BM,IAAND,EAAqBA,EAAC,IAAM,IAAE,iBAAiBJ,EAAI,KAC5EtB,EAAKW,UAAUE,EAAUU,GAAaK,MAAK,YAEhDC,KAAK,MAaGC,CAAcjB,EAAUC,EAAME,GAGzC,IAAMe,EAAS/B,EAAKW,UAAUE,EAAUC,GAAMc,MAE9C,IAAKX,EACD,OAAOc,EAGX,IAAMC,EAAKD,EAAOZ,MAAM,UAIxB,OAHAa,EAAGC,OAAO,EAAG,EAAG,WAChBD,EAAGC,OAAOD,EAAGE,OAAS,EAAG,EAAG,WAErBF,EAAGH,KAAK","file":"bundle-highlightjs.b689062270f1d37ff7fb.js","sourcesContent":["import * as hljs from 'highlight.js/lib/highlight';\nimport * as javascript from 'highlight.js/lib/languages/javascript';\nimport * as json from 'highlight.js/lib/languages/json';\nimport * as _ from 'lodash';\n\nhljs.registerLanguage('javascript', javascript);\nhljs.registerLanguage('json', json);\n\ninterface PatchInterface {\n [key: string]: string;\n}\n\nconst PATCH_TYPES: PatchInterface = {\n '+': 'addition',\n '-': 'deletion',\n '!': 'change',\n};\n\nfunction diffHighlight(language: string, code: any, gutter: any): string {\n return _.map(code.split(/\\r?\\n/g), (line: string, index: number) => {\n let type;\n let currentLine = line;\n\n if (/^-{3} [^-]+ -{4}$|^\\*{3} [^*]+ \\*{4}$|^@@ [^@]+ @@$/.test(currentLine)) {\n type = 'chunk';\n } else if (/^Index: |^[+\\-*]{3}|^[*=]{5,}$/.test(currentLine)) {\n type = 'header';\n } else {\n type = PATCH_TYPES[currentLine[0]] || 'null';\n currentLine = currentLine.replace(/^[+\\-! ]/, '');\n }\n\n const g = gutter[index];\n\n return `<span data-gutter=\"${g !== undefined ? `${g}x` : ''}\" class=\"line-${type}\">${\n hljs.highlight(language, currentLine).value\n }</span>`;\n }).join('\\n');\n}\n\ninterface HighlightProps {\n language: string;\n code: string;\n isDiff?: boolean;\n gutter?: [];\n isEtc?: boolean;\n}\n\nfunction highlight({ language, code, isDiff, gutter, isEtc }: HighlightProps): string {\n if (isDiff) {\n return diffHighlight(language, code, gutter);\n }\n\n const hlCode = hljs.highlight(language, code).value;\n\n if (!isEtc) {\n return hlCode;\n }\n\n const hc = hlCode.split(/\\r?\\n/g);\n hc.splice(1, 0, ' ...');\n hc.splice(hc.length - 1, 0, ' ...');\n\n return hc.join('\\n');\n}\n\nexport { highlight };\n"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="preload" href="/fonts/MaisonNeue-Book-subset.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/MaisonNeue-Bold-subset.woff2" as="font" type="font/woff2" crossorigin>
<title>sol-compiler</title>
<meta name="description" content="Solidity compilation that just works"><meta property="og:title" content="sol-compiler"><meta property="og:description" content="Solidity compilation that just works"><meta property="og:type" content="website"><meta property="og:image" content="/images/og-compiler.png"><meta name="twitter:site" content="@0xproject"><meta name="twitter:image" content="/images/og-compiler.png"><link rel="shortcut icon" href="/compiler.ico"></head>
<body>
<!-- Heap SDK -->
<script type="text/javascript">
if ('production' !== 'development') {
(window.heap = window.heap || []),
(heap.load = function(e, t) {
(window.heap.appid = e), (window.heap.config = t = t || {});
var r = t.forceSSL || 'https:' === document.location.protocol,
a = document.createElement('script');
(a.type = 'text/javascript'),
(a.async = !0),
(a.src = (r ? 'https:' : 'http:') + '//cdn.heapanalytics.com/js/heap-' + e + '.js');
var n = document.getElementsByTagName('script')[0];
n.parentNode.insertBefore(a, n);
for (
var o = function(e) {
return function() {
heap.push([e].concat(Array.prototype.slice.call(arguments, 0)));
};
},
p = [
'addEventProperties',
'addUserProperties',
'clearEventProperties',
'identify',
'resetIdentity',
'removeEventProperty',
'setEventProperties',
'track',
'unsetEventProperty',
],
c = 0;
c < p.length;
c++
)
heap[p[c]] = o(p[c]);
});
heap.load('3772819976');
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-98720122-4"></script>
<script>
if ('production' !== 'development') {
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-98720122-4');
}
</script>
<!-- End Google Analytics -->
<div id="app"></div>
<script type="text/javascript" src="/bundle-compiler.e7d3a5bb143e462b27d6.js"></script></body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Test</title>
</head>
<body>
<ul>
<li><a href="/compiler">Compiler</a></li>
<li><a href="/coverage">Coverage</a></li>
<li><a href="/profiler">Profiler</a></li>
<li><a href="/trace">Trace</a></li>
</ul>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="preload" href="/fonts/MaisonNeue-Book-subset.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/MaisonNeue-Bold-subset.woff2" as="font" type="font/woff2" crossorigin>
<title>sol-profiler</title>
<meta name="description" content="Gas profiling for Solidity"><meta property="og:title" content="sol-profiler"><meta property="og:description" content="Gas profiling for Solidity"><meta property="og:type" content="website"><meta property="og:image" content="/images/og-profiler.png"><meta name="twitter:site" content="@0xproject"><meta name="twitter:image" content="/images/og-profiler.png"><link rel="shortcut icon" href="/profiler.ico"></head>
<body>
<!-- Heap SDK -->
<script type="text/javascript">
if ('production' !== 'development') {
(window.heap = window.heap || []),
(heap.load = function(e, t) {
(window.heap.appid = e), (window.heap.config = t = t || {});
var r = t.forceSSL || 'https:' === document.location.protocol,
a = document.createElement('script');
(a.type = 'text/javascript'),
(a.async = !0),
(a.src = (r ? 'https:' : 'http:') + '//cdn.heapanalytics.com/js/heap-' + e + '.js');
var n = document.getElementsByTagName('script')[0];
n.parentNode.insertBefore(a, n);
for (
var o = function(e) {
return function() {
heap.push([e].concat(Array.prototype.slice.call(arguments, 0)));
};
},
p = [
'addEventProperties',
'addUserProperties',
'clearEventProperties',
'identify',
'resetIdentity',
'removeEventProperty',
'setEventProperties',
'track',
'unsetEventProperty',
],
c = 0;
c < p.length;
c++
)
heap[p[c]] = o(p[c]);
});
heap.load('3776009943');
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-98720122-5"></script>
<script>
if ('production' !== 'development') {
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-98720122-5');
}
</script>
<!-- End Google Analytics -->
<div id="app"></div>
<script type="text/javascript" src="/bundle-profiler.91964b961f74227fe9e0.js"></script></body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="preload" href="/fonts/MaisonNeue-Book-subset.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/MaisonNeue-Bold-subset.woff2" as="font" type="font/woff2" crossorigin>
<title>sol-trace</title>
<meta name="description" content="Human-readable stack traces"><meta property="og:title" content="sol-trace"><meta property="og:description" content="Human-readable stack traces"><meta property="og:type" content="website"><meta property="og:image" content="/images/og-trace.png"><meta name="twitter:site" content="@0xproject"><meta name="twitter:image" content="/images/og-trace.png"><link rel="shortcut icon" href="/trace.ico"></head>
<body>
<!-- Heap SDK -->
<script type="text/javascript">
if ('production' !== 'development') {
(window.heap = window.heap || []),
(heap.load = function(e, t) {
(window.heap.appid = e), (window.heap.config = t = t || {});
var r = t.forceSSL || 'https:' === document.location.protocol,
a = document.createElement('script');
(a.type = 'text/javascript'),
(a.async = !0),
(a.src = (r ? 'https:' : 'http:') + '//cdn.heapanalytics.com/js/heap-' + e + '.js');
var n = document.getElementsByTagName('script')[0];
n.parentNode.insertBefore(a, n);
for (
var o = function(e) {
return function() {
heap.push([e].concat(Array.prototype.slice.call(arguments, 0)));
};
},
p = [
'addEventProperties',
'addUserProperties',
'clearEventProperties',
'identify',
'resetIdentity',
'removeEventProperty',
'setEventProperties',
'track',
'unsetEventProperty',
],
c = 0;
c < p.length;
c++
)
heap[p[c]] = o(p[c]);
});
heap.load('4172106583');
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-98720122-6"></script>
<script>
if ('production' !== 'development') {
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-98720122-6');
}
</script>
<!-- End Google Analytics -->
<div id="app"></div>
<script type="text/javascript" src="/bundle-trace.0d48ab0672b1a0ffa89a.js"></script></body>
</html>

View File

@ -26,7 +26,8 @@
"note": "Refactor out `Error` coercion code into the `utils` package",
"pr": 1819
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,15 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.4.0-beta.0 - _October 3, 2019_
* `revertWith` mocha extensions now accept Promise-like objects instead of just Promises (#2031)
* Add `shouldAllowUnlimitedContractSize` to `Web3Config`. (#2075)
* Add `UNLIMITED_CONTRACT_SIZE` to `EnvVars`. (#2075)
* Add `total_accounts` option to `Web3Config`. (#2109)
* Add `chaiSetup` function with `RevertError` testing support (#1761)
* Refactor out `Error` coercion code into the `utils` package (#1819)
## v2.3.3 - _September 17, 2019_
* Dependencies updated

View File

@ -10,7 +10,8 @@
"note": "Add `DecodedLogs` type",
"pr": 2220
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,11 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v2.2.0-beta.0 - _October 3, 2019_
* Add `RevertErrorAbi` interface as part of `AbiDefinition` types (#1761)
* Add `DecodedLogs` type (#2220)
## v2.1.6 - _September 17, 2019_
* Dependencies updated

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,8 @@
"note": "Add `expirationTimeSeconds` to `ZeroExTransaction` schema",
"pr": 1832
}
]
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

View File

@ -5,6 +5,13 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v4.1.0-beta.0 - _October 3, 2019_
* Add `eip712DomainSchema` schema (#1742)
* Add required field `domain` to `order` and `zeroExTransaction` schemas (#1742)
* Add `makerAssetData` and `takerAssetData` to `Order` schemas (#1819)
* Add `expirationTimeSeconds` to `ZeroExTransaction` schema (#1832)
## v4.0.2 - _September 17, 2019_
* Dependencies updated

Some files were not shown because too many files have changed in this diff Show More