Revert "Updated CHANGELOGS & MD docs"
This reverts commit f65d8cc32529564a374fcd4674fa88493652ba0d.
This commit is contained in:
parent
8811a5387a
commit
deffdabc30
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.3.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.3.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.3.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## 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)
|
||||
@ -17,8 +13,6 @@ CHANGELOG
|
||||
* Remove unused dependency on IAuthorizable in IAssetProxy (#1910)
|
||||
* Add `ERC20BridgeProxy` (#2220)
|
||||
* Add `Eth2DaiBridge` (#2221)
|
||||
* Add `UniswapBridge` (#2233)
|
||||
* Replaced `SafeMath` with `LibSafeMath` (#2254)
|
||||
|
||||
## v2.2.8 - _September 17, 2019_
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Add chainId to domain separator (#1742)
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "0.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "0.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v0.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v0.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Use built in selectors instead of hard coded constants (#2055)
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "1.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "1.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,14 +5,9 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v1.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v1.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Add `mintKnownFungibleTokensAsync()`, `isNonFungibleItemAsync()`, `isFungibleItemAsync()`, `getOwnerOfAsync()`, `getBalanceAsync()` to `Erc1155Wrapper`. (#1819)
|
||||
* Replaced `SafeMath` with `LibSafeMath` (#2254)
|
||||
|
||||
## v1.1.15 - _September 17, 2019_
|
||||
|
||||
|
@ -6,8 +6,7 @@
|
||||
"note": "Create `LibERC20Token`",
|
||||
"pr": 2309
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "2.3.0-beta.0",
|
||||
|
@ -5,14 +5,9 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.3.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Create `LibERC20Token` (#2309)
|
||||
|
||||
## v2.3.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
* Replaced `SafeMath` with `LibSafeMath` (#2254)
|
||||
|
||||
## v2.2.14 - _September 17, 2019_
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,14 +5,9 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
* Replaced `SafeMath` with `LibSafeMath` (#2254)
|
||||
|
||||
## v2.1.15 - _September 17, 2019_
|
||||
|
||||
|
@ -6,8 +6,7 @@
|
||||
"note": "Use `LibERC20Token` in `MixinAssets`",
|
||||
"pr": 2309
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.1.0-beta.0",
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v3.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Use `LibERC20Token` in `MixinAssets` (#2309)
|
||||
|
||||
## v3.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "3.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "3.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v3.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v3.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Break up `LibEIP712` into reusable components (#1742)
|
||||
@ -37,7 +33,6 @@ CHANGELOG
|
||||
* 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)
|
||||
* Move `IWallet.sol` from `asset-proxy` and `exchange` packages to here. (#2233)
|
||||
|
||||
## v3.0.8 - _September 17, 2019_
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Use new/cheaper reentrancy guard/mutex (#1699)
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "4.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "4.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,14 +5,9 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v4.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v4.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
* Replaced the use of `SafeMath` with `LibSafeMath` (#2254)
|
||||
|
||||
## v4.0.8 - _September 17, 2019_
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "1.0.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"changes": [
|
||||
|
@ -1,15 +0,0 @@
|
||||
<!--
|
||||
changelogUtils.file is auto-generated using the monorepo-scripts package. Don't edit directly.
|
||||
Edit the package's CHANGELOG.json file only.
|
||||
-->
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v1.0.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v1.0.0 - _Invalid date_
|
||||
|
||||
* Created package (#2240)
|
||||
* Added the deployment manager class (#2240)
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "3.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "3.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v3.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v3.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -34,8 +34,7 @@
|
||||
"note": "Unit tests for MixinCumulativeRewards",
|
||||
"pr": 2316
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.1.0-beta.0",
|
||||
|
@ -5,17 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v1.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Add more overflow safeguards to `LibFixedMath` (#2255)
|
||||
* Refactored finalization state. (#2276)
|
||||
* Removed protocol fee != 0 assertion. (#2278)
|
||||
* Call `StakingProxy.assertValidStorageParams()` in `MixinParams.setParams()` (#2279)
|
||||
* The fallback function in `StakingProxy` reverts if there is no staking contract attached (#2310)
|
||||
* Fix overflow w/ `LibFixedMath._mul(-1, -2*255) (#2311)
|
||||
* Unit tests for MixinScheduler (#2314)
|
||||
* Unit tests for MixinCumulativeRewards (#2316)
|
||||
|
||||
## v1.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Created package (#1821)
|
||||
@ -35,10 +24,3 @@ CHANGELOG
|
||||
* Introduce multi-block finalization. (#2155)
|
||||
* Removed reference counting for cumulative rewards. (#2188)
|
||||
* Removed explicit dependency on epoch+1 when delegating. (#2188)
|
||||
|
||||
## v1.1.0-beta.1 - _Invalid date_
|
||||
|
||||
* Removed handshake when adding maker to pool. (#2250)
|
||||
* Removed upper limit on number of makers in a pool. (#2250)
|
||||
* Removed operator permissions from makers. (#2250)
|
||||
* Pool Id starts at 1 and increases by 1. (#2250)
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "3.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "3.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v3.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v3.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Add `chainId` to `TransactionFactory` constructor (#1742)
|
||||
@ -35,7 +31,6 @@ CHANGELOG
|
||||
* Add `hexHash()` to `hex_utils` (#2155)
|
||||
* Add `shortZip()` to `lang_utils.ts` (#2155)
|
||||
* Add `number_utils.ts` and `hexSize()` (#2220)
|
||||
* Add `verifyEventsFromLogs()` (#2287)
|
||||
|
||||
## v3.1.16 - _September 17, 2019_
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"timestamp": 1573001598,
|
||||
"version": "0.0.2",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "0.0.1",
|
||||
"changes": [
|
||||
|
@ -1,14 +0,0 @@
|
||||
<!--
|
||||
changelogUtils.file is auto-generated using the monorepo-scripts package. Don't edit directly.
|
||||
Edit the package's CHANGELOG.json file only.
|
||||
-->
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v0.0.2 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v0.0.1 - _Invalid date_
|
||||
|
||||
* Created package (#2261)
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "3.3.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "3.3.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v3.3.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v3.3.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Change ReentrancyGuard implementation to cheaper one (#1699)
|
||||
@ -26,9 +22,6 @@ CHANGELOG
|
||||
* 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)
|
||||
* Emit an event in `transferOwnership` (#2253)
|
||||
* Removed `deepCopyBytes`, `popLast20Bytes`, `readBytesWithLength`, and `writeBytesWithLength` in `LibBytes`. (#2265)
|
||||
* Replaced `SafeMath` with `LibSafeMath` (#2254)
|
||||
|
||||
## v3.2.4 - _September 17, 2019_
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "7.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "7.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v7.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v7.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Updated to work with 0x v3
|
||||
|
File diff suppressed because one or more lines are too long
@ -18,8 +18,7 @@
|
||||
"note": "Remove `validateAndSendTransactionAsync`. Replaced with `shouldValidate` key in TxOpts. Defaults to true",
|
||||
"pr": 2243
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "5.4.0-beta.0",
|
||||
|
@ -5,13 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v5.4.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Remove debug functions `getABIDecodedTransactionData` and `getABIDecodedReturnData` (#2243)
|
||||
* Remove `getABIEncodedTransactionData` for constant functions (pure and view) (#2243)
|
||||
* Introduce TxOpts object for `sendTransactionAsync` and `awaitTransactionSuccessAsync`. Replaces `timeoutMs` and `pollingIntervalMs` arguments for `awaitTransactionSuccessAsync` (#2243)
|
||||
* Remove `validateAndSendTransactionAsync`. Replaced with `shouldValidate` key in TxOpts. Defaults to true (#2243)
|
||||
|
||||
## v5.4.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Use V3 contracts (#2181)
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "4.4.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "4.4.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,14 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v4.4.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v4.4.0-beta.0 - _Invalid date_
|
||||
|
||||
* Add `getSelector` method to all functions (#2224)
|
||||
|
||||
## v4.3.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "6.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "6.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v6.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v6.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -10,8 +10,7 @@
|
||||
"note": "Remove duplicate types `IndexedFilterValues`, `DecodedLogEvent`, `EventCallback`",
|
||||
"pr": 2243
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "5.5.0-beta.0",
|
||||
|
@ -5,11 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v5.5.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Make `evmExecAsync` protected and rename to `_evmExecAsync` (#2243)
|
||||
* Remove duplicate types `IndexedFilterValues`, `DecodedLogEvent`, `EventCallback` (#2243)
|
||||
|
||||
## v5.5.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Automatically decode and throw rich reverts in `_throwIfRevertWithReasonCallResult` (#1761)
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "5.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "5.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v5.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v5.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,73 +1,196 @@
|
||||
# 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)*
|
||||
|
||||
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/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>`*
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### AssetPairsResponse
|
||||
|
||||
Ƭ **AssetPairsResponse**: *[PaginatedCollection](#interface-paginatedcollection)‹*[AssetPairsItem](#interface-assetpairsitem)*›*
|
||||
|
||||
*Defined in [types/src/index.ts:416](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L416)*
|
||||
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/9fe6c196a/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. |
|
||||
|
||||
### FeeRecipientsResponse
|
||||
**Returns:** *`Promise<FeeRecipientsResponse>`*
|
||||
|
||||
Ƭ **FeeRecipientsResponse**: *[PaginatedCollection](#interface-paginatedcollection)‹*string*›*
|
||||
|
||||
*Defined in [types/src/index.ts:484](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L484)*
|
||||
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/9fe6c196a/packages/connect/src/http_client.ts#L99)*
|
||||
|
||||
Retrieve a specific order from the API
|
||||
|
||||
### OrdersResponse
|
||||
**Parameters:**
|
||||
|
||||
Ƭ **OrdersResponse**: *[PaginatedCollection](#interface-paginatedcollection)‹*[APIOrder](#interface-apiorder)*›*
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`orderHash` | string | An orderHash generated from the desired order |
|
||||
`requestOpts?` | [RequestOpts](#interface-requestopts) | - |
|
||||
|
||||
*Defined in [types/src/index.ts:404](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L404)*
|
||||
**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/9fe6c196a/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/9fe6c196a/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/9fe6c196a/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/9fe6c196a/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 />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -86,7 +209,7 @@ ___
|
||||
|
||||
• **metaData**: *object*
|
||||
|
||||
*Defined in [types/src/index.ts:408](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L408)*
|
||||
*Defined in [types/src/index.ts:408](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L408)*
|
||||
|
||||
___
|
||||
|
||||
@ -94,7 +217,7 @@ ___
|
||||
|
||||
• **order**: *[SignedOrder](#class-signedorder)*
|
||||
|
||||
*Defined in [types/src/index.ts:407](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L407)*
|
||||
*Defined in [types/src/index.ts:407](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L407)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -146,8 +269,6 @@ ___
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -199,7 +320,7 @@ ___
|
||||
|
||||
• **page**? : *undefined | number*
|
||||
|
||||
*Defined in [types/src/index.ts:491](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L491)*
|
||||
*Defined in [types/src/index.ts:491](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L491)*
|
||||
|
||||
___
|
||||
|
||||
@ -207,7 +328,7 @@ ___
|
||||
|
||||
• **perPage**? : *undefined | number*
|
||||
|
||||
*Defined in [types/src/index.ts:492](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L492)*
|
||||
*Defined in [types/src/index.ts:492](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L492)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -224,7 +345,7 @@ ___
|
||||
|
||||
• **page**: *number*
|
||||
|
||||
*Defined in [types/src/index.ts:459](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L459)*
|
||||
*Defined in [types/src/index.ts:459](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L459)*
|
||||
|
||||
___
|
||||
|
||||
@ -232,7 +353,7 @@ ___
|
||||
|
||||
• **perPage**: *number*
|
||||
|
||||
*Defined in [types/src/index.ts:460](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L460)*
|
||||
*Defined in [types/src/index.ts:460](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L460)*
|
||||
|
||||
___
|
||||
|
||||
@ -240,7 +361,7 @@ ___
|
||||
|
||||
• **records**: *`T`[]*
|
||||
|
||||
*Defined in [types/src/index.ts:461](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L461)*
|
||||
*Defined in [types/src/index.ts:461](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L461)*
|
||||
|
||||
___
|
||||
|
||||
@ -248,7 +369,7 @@ ___
|
||||
|
||||
• **total**: *number*
|
||||
|
||||
*Defined in [types/src/index.ts:458](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L458)*
|
||||
*Defined in [types/src/index.ts:458](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L458)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -265,12 +386,10 @@ ___
|
||||
|
||||
• **networkId**? : *undefined | number*
|
||||
|
||||
*Defined in [types/src/index.ts:487](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L487)*
|
||||
*Defined in [types/src/index.ts:487](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L487)*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
# Interface: SignedOrder
|
||||
|
||||
|
||||
@ -282,7 +401,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[chainId](#chainid)*
|
||||
|
||||
*Defined in [types/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L14)*
|
||||
*Defined in [types/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L14)*
|
||||
|
||||
___
|
||||
|
||||
@ -292,7 +411,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[exchangeAddress](#exchangeaddress)*
|
||||
|
||||
*Defined in [types/src/index.ts:15](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L15)*
|
||||
*Defined in [types/src/index.ts:15](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L15)*
|
||||
|
||||
___
|
||||
|
||||
@ -302,7 +421,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[expirationTimeSeconds](#expirationtimeseconds)*
|
||||
|
||||
*Defined in [types/src/index.ts:24](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L24)*
|
||||
*Defined in [types/src/index.ts:24](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L24)*
|
||||
|
||||
___
|
||||
|
||||
@ -312,7 +431,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[feeRecipientAddress](#feerecipientaddress)*
|
||||
|
||||
*Defined in [types/src/index.ts:18](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L18)*
|
||||
*Defined in [types/src/index.ts:18](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L18)*
|
||||
|
||||
___
|
||||
|
||||
@ -322,7 +441,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[makerAddress](#makeraddress)*
|
||||
|
||||
*Defined in [types/src/index.ts:16](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L16)*
|
||||
*Defined in [types/src/index.ts:16](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L16)*
|
||||
|
||||
___
|
||||
|
||||
@ -332,7 +451,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[makerAssetAmount](#makerassetamount)*
|
||||
|
||||
*Defined in [types/src/index.ts:20](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L20)*
|
||||
*Defined in [types/src/index.ts:20](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L20)*
|
||||
|
||||
___
|
||||
|
||||
@ -342,7 +461,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[makerAssetData](#makerassetdata)*
|
||||
|
||||
*Defined in [types/src/index.ts:26](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L26)*
|
||||
*Defined in [types/src/index.ts:26](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L26)*
|
||||
|
||||
___
|
||||
|
||||
@ -352,7 +471,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[makerFee](#makerfee)*
|
||||
|
||||
*Defined in [types/src/index.ts:22](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L22)*
|
||||
*Defined in [types/src/index.ts:22](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L22)*
|
||||
|
||||
___
|
||||
|
||||
@ -362,7 +481,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[makerFeeAssetData](#makerfeeassetdata)*
|
||||
|
||||
*Defined in [types/src/index.ts:28](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L28)*
|
||||
*Defined in [types/src/index.ts:28](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L28)*
|
||||
|
||||
___
|
||||
|
||||
@ -372,7 +491,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[salt](#salt)*
|
||||
|
||||
*Defined in [types/src/index.ts:25](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L25)*
|
||||
*Defined in [types/src/index.ts:25](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L25)*
|
||||
|
||||
___
|
||||
|
||||
@ -382,7 +501,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[senderAddress](#senderaddress)*
|
||||
|
||||
*Defined in [types/src/index.ts:19](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L19)*
|
||||
*Defined in [types/src/index.ts:19](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@ -390,7 +509,7 @@ ___
|
||||
|
||||
• **signature**: *string*
|
||||
|
||||
*Defined in [types/src/index.ts:33](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L33)*
|
||||
*Defined in [types/src/index.ts:33](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L33)*
|
||||
|
||||
___
|
||||
|
||||
@ -400,7 +519,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[takerAddress](#takeraddress)*
|
||||
|
||||
*Defined in [types/src/index.ts:17](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L17)*
|
||||
*Defined in [types/src/index.ts:17](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L17)*
|
||||
|
||||
___
|
||||
|
||||
@ -410,7 +529,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[takerAssetAmount](#takerassetamount)*
|
||||
|
||||
*Defined in [types/src/index.ts:21](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L21)*
|
||||
*Defined in [types/src/index.ts:21](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L21)*
|
||||
|
||||
___
|
||||
|
||||
@ -420,7 +539,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[takerAssetData](#takerassetdata)*
|
||||
|
||||
*Defined in [types/src/index.ts:27](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L27)*
|
||||
*Defined in [types/src/index.ts:27](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L27)*
|
||||
|
||||
___
|
||||
|
||||
@ -430,7 +549,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[takerFee](#takerfee)*
|
||||
|
||||
*Defined in [types/src/index.ts:23](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L23)*
|
||||
*Defined in [types/src/index.ts:23](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L23)*
|
||||
|
||||
___
|
||||
|
||||
@ -440,7 +559,7 @@ ___
|
||||
|
||||
*Inherited from [Order](#interface-order).[takerFeeAssetData](#takerfeeassetdata)*
|
||||
|
||||
*Defined in [types/src/index.ts:29](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/types/src/index.ts#L29)*
|
||||
*Defined in [types/src/index.ts:29](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L29)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -491,10 +610,6 @@ ___
|
||||
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
@ -507,13 +622,13 @@ ___
|
||||
|
||||
#### ▪ **ordersChannelFactory**: *object*
|
||||
|
||||
*Defined in [connect/src/orders_channel_factory.ts:7](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/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/44793a9cf/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
|
||||
|
||||
@ -530,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)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[
|
||||
{
|
||||
"version": "3.3.0-beta.1",
|
||||
"version": "3.4.0-beta.0",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Remove `readOnlyProxy` from addresses interface",
|
||||
@ -14,8 +14,7 @@
|
||||
"note": "Update `exchange`, `staking`, `stakingProxy`, `zeroExGovernor`, `assetProxyOwner`, and `erc20BridgeProxy` addresses for each tesnet",
|
||||
"pr": 2296
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.3.0-beta.0",
|
||||
|
@ -5,17 +5,9 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v3.3.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Remove `readOnlyProxy` from addresses interface (#2295)
|
||||
* Add `zeroExGovernor` and `erc20BridgeProxy` to addresses interface (#2296)
|
||||
* Update `exchange`, `staking`, `stakingProxy`, `zeroExGovernor`, `assetProxyOwner`, and `erc20BridgeProxy` addresses for each tesnet (#2296)
|
||||
|
||||
## v3.3.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Removed `getNetworkIdByExchangeAddressOrThrow`. It's not needed with V3 tooling. (#2170)
|
||||
* Add `zrxVault`, `readOnlyProxy`, `staking`, and `stakingProxy` schema with addresses for each tesnet (#2224)
|
||||
* Update `assetProxyOwner` address for each testnet (#2224)
|
||||
|
||||
## v3.2.0 - _September 17, 2019_
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.3.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.3.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.3.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.3.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Use V3 contracts (#2181)
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "12.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "12.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v12.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v12.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Use new `Order` and `ZeroExTransaction` structures with `domain` field (#1742)
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "1.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "1.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v1.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## 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)
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.4.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.4.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.4.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.4.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* `revertWith` mocha extensions now accept Promise-like objects instead of just Promises (#2031)
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Add `RevertErrorAbi` interface as part of `AbiDefinition` types (#1761)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "4.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "4.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v4.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v4.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Add `eip712DomainSchema` schema (#1742)
|
||||
|
@ -9,7 +9,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/44793a9cf/packages/json-schemas/src/schema_validator.ts#L15)*
|
||||
*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/json-schemas/src/schema_validator.ts#L15)*
|
||||
|
||||
Instantiates a SchemaValidator instance
|
||||
|
||||
@ -21,7 +21,7 @@ Instantiates a SchemaValidator instance
|
||||
|
||||
▸ **addSchema**(`schema`: `Schema`): *void*
|
||||
|
||||
*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/json-schemas/src/schema_validator.ts#L32)*
|
||||
*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/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
|
||||
@ -41,7 +41,7 @@ ___
|
||||
|
||||
▸ **isValid**(`instance`: any, `schema`: `Schema`): *boolean*
|
||||
|
||||
*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/json-schemas/src/schema_validator.ts#L57)*
|
||||
*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/json-schemas/src/schema_validator.ts#L57)*
|
||||
|
||||
Check whether an instance properly adheres to a JSON schema
|
||||
|
||||
@ -62,7 +62,7 @@ ___
|
||||
|
||||
▸ **validate**(`instance`: any, `schema`: `Schema`): *`ValidatorResult`*
|
||||
|
||||
*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/json-schemas/src/schema_validator.ts#L46)*
|
||||
*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/json-schemas/src/schema_validator.ts#L46)*
|
||||
|
||||
Validate the JS object conforms to a specific JSON schema
|
||||
|
||||
|
@ -6,8 +6,7 @@
|
||||
"note": "Update all contract deployments to pass the actual chain ID (rather than the network ID) via the newly modified @0x/utils/provider_utils",
|
||||
"pr": 2270
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "4.4.0-beta.0",
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v4.4.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Update all contract deployments to pass the actual chain ID (rather than the network ID) via the newly modified @0x/utils/provider_utils (#2270)
|
||||
|
||||
## v4.4.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Update Coordinator and Exchange deployments to pass `chainId` (#1742)
|
||||
|
@ -1,25 +1,5 @@
|
||||
# Interface: GanacheProvider
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
### sendAsync
|
||||
|
||||
▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) |
|
||||
`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) |
|
||||
|
||||
**Returns:** *void*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
@ -37,7 +17,7 @@ Name | Type |
|
||||
|
||||
• **assetProxyOwner**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:10](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L10)*
|
||||
*Defined in [contract-addresses/src/index.ts:9](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L9)*
|
||||
|
||||
___
|
||||
|
||||
@ -45,7 +25,7 @@ ___
|
||||
|
||||
• **coordinator**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:16](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L16)*
|
||||
*Defined in [contract-addresses/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L14)*
|
||||
|
||||
___
|
||||
|
||||
@ -53,7 +33,7 @@ ___
|
||||
|
||||
• **coordinatorRegistry**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:15](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L15)*
|
||||
*Defined in [contract-addresses/src/index.ts:13](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L13)*
|
||||
|
||||
___
|
||||
|
||||
@ -61,7 +41,7 @@ ___
|
||||
|
||||
• **devUtils**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:20](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L20)*
|
||||
*Defined in [contract-addresses/src/index.ts:18](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L18)*
|
||||
|
||||
___
|
||||
|
||||
@ -69,7 +49,7 @@ ___
|
||||
|
||||
• **dutchAuction**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L14)*
|
||||
*Defined in [contract-addresses/src/index.ts:12](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L12)*
|
||||
|
||||
___
|
||||
|
||||
@ -77,15 +57,7 @@ ___
|
||||
|
||||
• **erc1155Proxy**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:19](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
### erc20BridgeProxy
|
||||
|
||||
• **erc20BridgeProxy**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:24](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L24)*
|
||||
*Defined in [contract-addresses/src/index.ts:17](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L17)*
|
||||
|
||||
___
|
||||
|
||||
@ -93,7 +65,7 @@ ___
|
||||
|
||||
• **erc20Proxy**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:4](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L4)*
|
||||
*Defined in [contract-addresses/src/index.ts:4](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L4)*
|
||||
|
||||
___
|
||||
|
||||
@ -101,7 +73,7 @@ ___
|
||||
|
||||
• **erc721Proxy**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:5](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L5)*
|
||||
*Defined in [contract-addresses/src/index.ts:5](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L5)*
|
||||
|
||||
___
|
||||
|
||||
@ -109,7 +81,7 @@ ___
|
||||
|
||||
• **etherToken**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:7](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L7)*
|
||||
*Defined in [contract-addresses/src/index.ts:7](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L7)*
|
||||
|
||||
___
|
||||
|
||||
@ -117,15 +89,7 @@ ___
|
||||
|
||||
• **exchange**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:9](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L9)*
|
||||
|
||||
___
|
||||
|
||||
### exchangeV2
|
||||
|
||||
• **exchangeV2**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:8](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L8)*
|
||||
*Defined in [contract-addresses/src/index.ts:8](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L8)*
|
||||
|
||||
___
|
||||
|
||||
@ -133,7 +97,7 @@ ___
|
||||
|
||||
• **forwarder**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:12](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L12)*
|
||||
*Defined in [contract-addresses/src/index.ts:10](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L10)*
|
||||
|
||||
___
|
||||
|
||||
@ -141,7 +105,7 @@ ___
|
||||
|
||||
• **multiAssetProxy**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:17](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L17)*
|
||||
*Defined in [contract-addresses/src/index.ts:15](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L15)*
|
||||
|
||||
___
|
||||
|
||||
@ -149,23 +113,7 @@ ___
|
||||
|
||||
• **orderValidator**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:13](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L13)*
|
||||
|
||||
___
|
||||
|
||||
### staking
|
||||
|
||||
• **staking**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:22](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L22)*
|
||||
|
||||
___
|
||||
|
||||
### stakingProxy
|
||||
|
||||
• **stakingProxy**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:23](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L23)*
|
||||
*Defined in [contract-addresses/src/index.ts:11](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L11)*
|
||||
|
||||
___
|
||||
|
||||
@ -173,15 +121,7 @@ ___
|
||||
|
||||
• **staticCallProxy**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:18](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L18)*
|
||||
|
||||
___
|
||||
|
||||
### zeroExGovernor
|
||||
|
||||
• **zeroExGovernor**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:11](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L11)*
|
||||
*Defined in [contract-addresses/src/index.ts:16](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L16)*
|
||||
|
||||
___
|
||||
|
||||
@ -189,15 +129,7 @@ ___
|
||||
|
||||
• **zrxToken**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:6](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L6)*
|
||||
|
||||
___
|
||||
|
||||
### zrxVault
|
||||
|
||||
• **zrxVault**: *string*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:21](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L21)*
|
||||
*Defined in [contract-addresses/src/index.ts:6](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L6)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -246,7 +178,7 @@ ___
|
||||
|
||||
• **isEIP1193**: *boolean*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:73](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L73)*
|
||||
*Defined in [ethereum-types/src/index.ts:73](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L73)*
|
||||
|
||||
## Methods
|
||||
|
||||
@ -254,7 +186,7 @@ ___
|
||||
|
||||
▸ **on**(`event`: [EIP1193Event](#eip1193event), `listener`: function): *this*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:75](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L75)*
|
||||
*Defined in [ethereum-types/src/index.ts:75](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@ -278,7 +210,7 @@ ___
|
||||
|
||||
▸ **send**(`method`: string, `params?`: any[]): *`Promise<any>`*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:74](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L74)*
|
||||
*Defined in [ethereum-types/src/index.ts:74](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L74)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@ -303,8 +235,28 @@ Name | Type |
|
||||
|
||||
|
||||
|
||||
# Interface: GanacheProvider
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
### sendAsync
|
||||
|
||||
▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) |
|
||||
`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) |
|
||||
|
||||
**Returns:** *void*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
# Interface: JSONRPCRequestPayload
|
||||
@ -316,7 +268,7 @@ Name | Type |
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:330](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L330)*
|
||||
*Defined in [ethereum-types/src/index.ts:330](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L330)*
|
||||
|
||||
___
|
||||
|
||||
@ -324,7 +276,7 @@ ___
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:331](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L331)*
|
||||
*Defined in [ethereum-types/src/index.ts:331](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L331)*
|
||||
|
||||
___
|
||||
|
||||
@ -332,7 +284,7 @@ ___
|
||||
|
||||
• **method**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:329](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L329)*
|
||||
*Defined in [ethereum-types/src/index.ts:329](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L329)*
|
||||
|
||||
___
|
||||
|
||||
@ -340,7 +292,7 @@ ___
|
||||
|
||||
• **params**: *any[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:328](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L328)*
|
||||
*Defined in [ethereum-types/src/index.ts:328](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L328)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -353,7 +305,7 @@ ___
|
||||
|
||||
• **code**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:336](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L336)*
|
||||
*Defined in [ethereum-types/src/index.ts:336](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L336)*
|
||||
|
||||
___
|
||||
|
||||
@ -361,7 +313,7 @@ ___
|
||||
|
||||
• **message**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:335](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L335)*
|
||||
*Defined in [ethereum-types/src/index.ts:335](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L335)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -374,7 +326,7 @@ ___
|
||||
|
||||
• **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:343](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L343)*
|
||||
*Defined in [ethereum-types/src/index.ts:343](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L343)*
|
||||
|
||||
___
|
||||
|
||||
@ -382,7 +334,7 @@ ___
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:341](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L341)*
|
||||
*Defined in [ethereum-types/src/index.ts:341](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L341)*
|
||||
|
||||
___
|
||||
|
||||
@ -390,7 +342,7 @@ ___
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:342](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L342)*
|
||||
*Defined in [ethereum-types/src/index.ts:342](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L342)*
|
||||
|
||||
___
|
||||
|
||||
@ -398,7 +350,7 @@ ___
|
||||
|
||||
• **result**: *any*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:340](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L340)*
|
||||
*Defined in [ethereum-types/src/index.ts:340](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L340)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -453,7 +405,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[data](#optional-data)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:393](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L393)*
|
||||
*Defined in [ethereum-types/src/index.ts:393](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L393)*
|
||||
|
||||
___
|
||||
|
||||
@ -461,7 +413,7 @@ ___
|
||||
|
||||
• **from**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:398](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L398)*
|
||||
*Defined in [ethereum-types/src/index.ts:398](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L398)*
|
||||
|
||||
___
|
||||
|
||||
@ -471,7 +423,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gas](#optional-gas)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:391](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L391)*
|
||||
*Defined in [ethereum-types/src/index.ts:391](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L391)*
|
||||
|
||||
___
|
||||
|
||||
@ -481,7 +433,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gasPrice](#optional-gasprice)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:392](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L392)*
|
||||
*Defined in [ethereum-types/src/index.ts:392](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L392)*
|
||||
|
||||
___
|
||||
|
||||
@ -491,7 +443,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[nonce](#optional-nonce)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:394](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L394)*
|
||||
*Defined in [ethereum-types/src/index.ts:394](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L394)*
|
||||
|
||||
___
|
||||
|
||||
@ -501,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[to](#optional-to)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:389](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L389)*
|
||||
*Defined in [ethereum-types/src/index.ts:389](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L389)*
|
||||
|
||||
___
|
||||
|
||||
@ -511,7 +463,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[value](#optional-value)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:390](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L390)*
|
||||
*Defined in [ethereum-types/src/index.ts:390](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L390)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -526,7 +478,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[data](#optional-data)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:393](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L393)*
|
||||
*Defined in [ethereum-types/src/index.ts:393](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L393)*
|
||||
|
||||
___
|
||||
|
||||
@ -536,7 +488,7 @@ ___
|
||||
|
||||
*Inherited from [TxData](#interface-txdata).[from](#from)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:398](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L398)*
|
||||
*Defined in [ethereum-types/src/index.ts:398](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L398)*
|
||||
|
||||
___
|
||||
|
||||
@ -546,7 +498,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gas](#optional-gas)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:391](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L391)*
|
||||
*Defined in [ethereum-types/src/index.ts:391](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L391)*
|
||||
|
||||
___
|
||||
|
||||
@ -556,7 +508,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gasPrice](#optional-gasprice)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:392](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L392)*
|
||||
*Defined in [ethereum-types/src/index.ts:392](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L392)*
|
||||
|
||||
___
|
||||
|
||||
@ -566,7 +518,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[nonce](#optional-nonce)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:394](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L394)*
|
||||
*Defined in [ethereum-types/src/index.ts:394](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L394)*
|
||||
|
||||
___
|
||||
|
||||
@ -576,7 +528,7 @@ ___
|
||||
|
||||
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[to](#optional-to)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:389](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L389)*
|
||||
*Defined in [ethereum-types/src/index.ts:389](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L389)*
|
||||
|
||||
___
|
||||
|
||||
@ -586,7 +538,7 @@ ___
|
||||
|
||||
*Overrides [CallTxDataBase](_ethereum_types_src_index_.calltxdatabase.md).[value](#optional-value)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:442](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L442)*
|
||||
*Defined in [ethereum-types/src/index.ts:442](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L442)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -603,7 +555,7 @@ This interface allowed sending synchonous requests, support for which was later
|
||||
|
||||
▸ **send**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md)): *[JSONRPCResponsePayload](#class-jsonrpcresponsepayload)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:45](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L45)*
|
||||
*Defined in [ethereum-types/src/index.ts:45](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@ -619,7 +571,7 @@ ___
|
||||
|
||||
▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:44](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L44)*
|
||||
*Defined in [ethereum-types/src/index.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@ -645,7 +597,7 @@ before the first attempts to conform to EIP1193
|
||||
|
||||
▸ **send**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:54](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L54)*
|
||||
*Defined in [ethereum-types/src/index.ts:54](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L54)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@ -671,7 +623,7 @@ however it does not conform entirely.
|
||||
|
||||
▸ **send**(`method`: string, `params?`: any[]): *`Promise<any>`*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:63](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L63)*
|
||||
*Defined in [ethereum-types/src/index.ts:63](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@ -697,7 +649,7 @@ add here
|
||||
|
||||
• **isMetaMask**? : *undefined | false | true*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:31](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L31)*
|
||||
*Defined in [ethereum-types/src/index.ts:31](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L31)*
|
||||
|
||||
___
|
||||
|
||||
@ -705,7 +657,7 @@ ___
|
||||
|
||||
• **isParity**? : *undefined | false | true*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:32](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L32)*
|
||||
*Defined in [ethereum-types/src/index.ts:32](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L32)*
|
||||
|
||||
___
|
||||
|
||||
@ -713,7 +665,7 @@ ___
|
||||
|
||||
• **isZeroExProvider**? : *undefined | false | true*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:30](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L30)*
|
||||
*Defined in [ethereum-types/src/index.ts:30](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L30)*
|
||||
|
||||
## Methods
|
||||
|
||||
@ -721,7 +673,7 @@ ___
|
||||
|
||||
▸ **enable**(): *`Promise<void>`*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:34](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L34)*
|
||||
*Defined in [ethereum-types/src/index.ts:34](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L34)*
|
||||
|
||||
**Returns:** *`Promise<void>`*
|
||||
|
||||
@ -731,7 +683,7 @@ ___
|
||||
|
||||
▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:35](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L35)*
|
||||
*Defined in [ethereum-types/src/index.ts:35](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@ -748,7 +700,7 @@ ___
|
||||
|
||||
▸ **stop**(): *void*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:33](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L33)*
|
||||
*Defined in [ethereum-types/src/index.ts:33](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L33)*
|
||||
|
||||
**Returns:** *void*
|
||||
|
||||
@ -757,63 +709,13 @@ ___
|
||||
|
||||
|
||||
|
||||
## Functions
|
||||
|
||||
### runMigrationsAsync
|
||||
|
||||
▸ **runMigrationsAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `TxData`): *`Promise<ContractAddresses>`*
|
||||
|
||||
*Defined in [migrations/src/migration.ts:49](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/migrations/src/migration.ts#L49)*
|
||||
|
||||
Creates and deploys all the contracts that are required for the latest
|
||||
version of the 0x protocol.
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider instance. Your provider instance should connect to the testnet you want to deploy to. |
|
||||
`txDefaults` | `TxData` | Default transaction values to use when deploying contracts (e.g., specify the desired contract creator with the `from` parameter). |
|
||||
|
||||
**Returns:** *`Promise<ContractAddresses>`*
|
||||
|
||||
The addresses of the contracts that were deployed.
|
||||
|
||||
___
|
||||
|
||||
### runMigrationsOnceAsync
|
||||
|
||||
▸ **runMigrationsOnceAsync**(`provider`: `Web3ProviderEngine`, `txDefaults`: `TxData`): *`Promise<ContractAddresses>`*
|
||||
|
||||
*Defined in [migrations/src/migration.ts:317](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/migrations/src/migration.ts#L317)*
|
||||
|
||||
Exactly like runMigrationsAsync but will only run the migrations the first
|
||||
time it is called. Any subsequent calls will return the cached contract
|
||||
addresses.
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`provider` | `Web3ProviderEngine` | Web3 provider instance. Your provider instance should connect to the testnet you want to deploy to. |
|
||||
`txDefaults` | `TxData` | Default transaction values to use when deploying contracts (e.g., specify the desired contract creator with the `from` parameter). |
|
||||
|
||||
**Returns:** *`Promise<ContractAddresses>`*
|
||||
|
||||
The addresses of the contracts that were deployed.
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
## Functions
|
||||
|
||||
### getContractAddressesForNetworkOrThrow
|
||||
|
||||
▸ **getContractAddressesForNetworkOrThrow**(`networkId`: [NetworkId](#enumeration-networkid)): *[ContractAddresses](#interface-contractaddresses)*
|
||||
|
||||
*Defined in [contract-addresses/src/index.ts:164](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/contract-addresses/src/index.ts#L164)*
|
||||
*Defined in [contract-addresses/src/index.ts:128](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L128)*
|
||||
|
||||
Used to get addresses of contracts that have been deployed to either the
|
||||
Ethereum mainnet or a supported testnet. Throws if there are no known
|
||||
@ -853,7 +755,7 @@ given networkId.
|
||||
|
||||
Ƭ **EIP1193Event**: *"accountsChanged" | "networkChanged" | "close" | "connect" | "notification"*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:70](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L70)*
|
||||
*Defined in [ethereum-types/src/index.ts:70](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L70)*
|
||||
|
||||
Interface for providers that conform to EIP 1193
|
||||
Source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md
|
||||
@ -870,7 +772,7 @@ ___
|
||||
|
||||
Ƭ **JSONRPCErrorCallback**: *function*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:3](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L3)*
|
||||
*Defined in [ethereum-types/src/index.ts:3](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L3)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
@ -899,7 +801,7 @@ ___
|
||||
|
||||
Ƭ **SupportedProvider**: *[Web3JsProvider](_ethereum_types_src_index_.md#web3jsprovider) | [GanacheProvider](#interface-ganacheprovider) | [EIP1193Provider](#interface-eip1193provider) | [ZeroExProvider](#interface-zeroexprovider)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:9](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L9)*
|
||||
*Defined in [ethereum-types/src/index.ts:9](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L9)*
|
||||
|
||||
Do not create your own provider. Use an existing provider from a Web3 or ProviderEngine library
|
||||
Read more about Providers in the guides section of the 0x docs.
|
||||
@ -914,7 +816,57 @@ ___
|
||||
|
||||
Ƭ **Web3JsProvider**: *[Web3JsV1Provider](#interface-web3jsv1provider) | [Web3JsV2Provider](#interface-web3jsv2provider) | [Web3JsV3Provider](#interface-web3jsv3provider)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:11](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L11)*
|
||||
*Defined in [ethereum-types/src/index.ts:11](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L11)*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
## Functions
|
||||
|
||||
### runMigrationsAsync
|
||||
|
||||
▸ **runMigrationsAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `TxData`): *`Promise<ContractAddresses>`*
|
||||
|
||||
*Defined in [migrations/src/migration.ts:48](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/migrations/src/migration.ts#L48)*
|
||||
|
||||
Creates and deploys all the contracts that are required for the latest
|
||||
version of the 0x protocol.
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider instance. Your provider instance should connect to the testnet you want to deploy to. |
|
||||
`txDefaults` | `TxData` | Default transaction values to use when deploying contracts (e.g., specify the desired contract creator with the `from` parameter). |
|
||||
|
||||
**Returns:** *`Promise<ContractAddresses>`*
|
||||
|
||||
The addresses of the contracts that were deployed.
|
||||
|
||||
___
|
||||
|
||||
### runMigrationsOnceAsync
|
||||
|
||||
▸ **runMigrationsOnceAsync**(`provider`: `Web3ProviderEngine`, `txDefaults`: `TxData`): *`Promise<ContractAddresses>`*
|
||||
|
||||
*Defined in [migrations/src/migration.ts:335](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/migrations/src/migration.ts#L335)*
|
||||
|
||||
Exactly like runMigrationsAsync but will only run the migrations the first
|
||||
time it is called. Any subsequent calls will return the cached contract
|
||||
addresses.
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`provider` | `Web3ProviderEngine` | Web3 provider instance. Your provider instance should connect to the testnet you want to deploy to. |
|
||||
`txDefaults` | `TxData` | Default transaction values to use when deploying contracts (e.g., specify the desired contract creator with the `from` parameter). |
|
||||
|
||||
**Returns:** *`Promise<ContractAddresses>`*
|
||||
|
||||
The addresses of the contracts that were deployed.
|
||||
|
||||
<hr />
|
||||
|
||||
|
@ -6,8 +6,7 @@
|
||||
"note": "Remove `TransferFailedError` from `ForwarderRevertErrors`.",
|
||||
"pr": 2309
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "8.5.0-beta.0",
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v8.5.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Remove `TransferFailedError` from `ForwarderRevertErrors`. (#2309)
|
||||
|
||||
## v8.5.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Add `chainId` `OrderValidationUtils`, `OrderFactory` (#1742)
|
||||
@ -38,8 +34,6 @@ CHANGELOG
|
||||
* Remove `validateOrderFillableOrThrowAsync`, `simpleValidateOrderFillableOrThrowAsync`, `validateMakerTransferThrowIfInvalidAsync` (#2181)
|
||||
* Add `PreviousEpochNotFinalizedError` to `StakingRevertErrors`. (#2155)
|
||||
* Add `InvalidMinimumPoolStake` to `StakingRevertErrors.InvalidParamValueErrorCode`. (#2155)
|
||||
* Renamed `OnlyCallableByPoolOperatorOrMakerError` to `OnlyCallableByPoolOperatorError`. (#2250)
|
||||
* Removed protocol fee != 0 error. (#2278)
|
||||
|
||||
## v8.4.0 - _September 17, 2019_
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "0.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "0.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v0.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v0.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "3.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "3.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v3.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v3.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Convert `getContractNamesToCompile` to public function of `Compiler` class (#2055)
|
||||
|
@ -1,3 +1,81 @@
|
||||
# Class: Compiler
|
||||
|
||||
The Compiler facilitates compiling Solidity smart contracts and saves the results
|
||||
to artifact files.
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new Compiler**(`opts?`: [CompilerOptions](#interface-compileroptions)): *[Compiler](#class-compiler)*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:94](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-compiler/src/compiler.ts#L94)*
|
||||
|
||||
Instantiates a new instance of the Compiler class.
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`opts?` | [CompilerOptions](#interface-compileroptions) | Optional compiler options |
|
||||
|
||||
**Returns:** *[Compiler](#class-compiler)*
|
||||
|
||||
An instance of the Compiler class.
|
||||
|
||||
## Methods
|
||||
|
||||
### compileAsync
|
||||
|
||||
▸ **compileAsync**(): *`Promise<void>`*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:132](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-compiler/src/compiler.ts#L132)*
|
||||
|
||||
Compiles selected Solidity files found in `contractsDir` and writes JSON artifacts to `artifactsDir`.
|
||||
|
||||
**Returns:** *`Promise<void>`*
|
||||
|
||||
___
|
||||
|
||||
### getCompilerOutputsAsync
|
||||
|
||||
▸ **getCompilerOutputsAsync**(): *`Promise<StandardOutput[]>`*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:145](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/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<StandardOutput[]>`*
|
||||
|
||||
___
|
||||
|
||||
### getContractNamesToCompile
|
||||
|
||||
▸ **getContractNamesToCompile**(): *string[]*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:186](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-compiler/src/compiler.ts#L186)*
|
||||
|
||||
Gets a list of contracts to compile.
|
||||
|
||||
**Returns:** *string[]*
|
||||
|
||||
___
|
||||
|
||||
### watchAsync
|
||||
|
||||
▸ **watchAsync**(): *`Promise<void>`*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:149](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-compiler/src/compiler.ts#L149)*
|
||||
|
||||
**Returns:** *`Promise<void>`*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
@ -10,11 +88,6 @@
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -45,7 +118,7 @@ contracts to compile with the the version specified here.
|
||||
|
||||
• **artifactsDir**? : *undefined | string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:731](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L731)*
|
||||
*Defined in [ethereum-types/src/index.ts:731](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L731)*
|
||||
|
||||
___
|
||||
|
||||
@ -53,7 +126,7 @@ ___
|
||||
|
||||
• **compilerSettings**? : *[CompilerSettings](#class-compilersettings)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:732](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L732)*
|
||||
*Defined in [ethereum-types/src/index.ts:732](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L732)*
|
||||
|
||||
___
|
||||
|
||||
@ -61,7 +134,7 @@ ___
|
||||
|
||||
• **contracts**? : *string[] | "*"*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:733](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L733)*
|
||||
*Defined in [ethereum-types/src/index.ts:733](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L733)*
|
||||
|
||||
___
|
||||
|
||||
@ -69,7 +142,7 @@ ___
|
||||
|
||||
• **contractsDir**? : *undefined | string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:730](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L730)*
|
||||
*Defined in [ethereum-types/src/index.ts:730](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L730)*
|
||||
|
||||
___
|
||||
|
||||
@ -77,7 +150,7 @@ ___
|
||||
|
||||
• **isOfflineMode**? : *undefined | false | true*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:735](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L735)*
|
||||
*Defined in [ethereum-types/src/index.ts:735](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L735)*
|
||||
|
||||
___
|
||||
|
||||
@ -85,7 +158,7 @@ ___
|
||||
|
||||
• **solcVersion**? : *undefined | string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:736](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L736)*
|
||||
*Defined in [ethereum-types/src/index.ts:736](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L736)*
|
||||
|
||||
___
|
||||
|
||||
@ -93,7 +166,7 @@ ___
|
||||
|
||||
• **useDockerisedSolc**? : *undefined | false | true*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:734](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L734)*
|
||||
*Defined in [ethereum-types/src/index.ts:734](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L734)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -108,7 +181,7 @@ ___
|
||||
|
||||
• **evmVersion**? : *"homestead" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople"*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:689](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L689)*
|
||||
*Defined in [ethereum-types/src/index.ts:689](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L689)*
|
||||
|
||||
___
|
||||
|
||||
@ -116,7 +189,7 @@ ___
|
||||
|
||||
• **libraries**? : *undefined | object*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:691](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L691)*
|
||||
*Defined in [ethereum-types/src/index.ts:691](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L691)*
|
||||
|
||||
___
|
||||
|
||||
@ -124,7 +197,7 @@ ___
|
||||
|
||||
• **metadata**? : *[CompilerSettingsMetadata](#class-compilersettingsmetadata)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:690](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L690)*
|
||||
*Defined in [ethereum-types/src/index.ts:690](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L690)*
|
||||
|
||||
___
|
||||
|
||||
@ -132,7 +205,7 @@ ___
|
||||
|
||||
• **optimizer**? : *[OptimizerSettings](#class-optimizersettings)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:688](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L688)*
|
||||
*Defined in [ethereum-types/src/index.ts:688](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L688)*
|
||||
|
||||
___
|
||||
|
||||
@ -140,7 +213,7 @@ ___
|
||||
|
||||
• **outputSelection**: *object*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:696](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L696)*
|
||||
*Defined in [ethereum-types/src/index.ts:696](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L696)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
@ -154,7 +227,7 @@ ___
|
||||
|
||||
• **remappings**? : *string[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:687](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L687)*
|
||||
*Defined in [ethereum-types/src/index.ts:687](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L687)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -167,7 +240,7 @@ ___
|
||||
|
||||
• **useLiteralContent**: *true*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:704](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L704)*
|
||||
*Defined in [ethereum-types/src/index.ts:704](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L704)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -180,7 +253,7 @@ ___
|
||||
|
||||
• **inputs**: *[DataItem](#class-dataitem)[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:103](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L103)*
|
||||
*Defined in [ethereum-types/src/index.ts:103](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L103)*
|
||||
|
||||
___
|
||||
|
||||
@ -188,7 +261,7 @@ ___
|
||||
|
||||
• **payable**: *boolean*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:104](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L104)*
|
||||
*Defined in [ethereum-types/src/index.ts:104](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L104)*
|
||||
|
||||
___
|
||||
|
||||
@ -196,7 +269,7 @@ ___
|
||||
|
||||
• **stateMutability**: *[ConstructorStateMutability](#constructorstatemutability)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:105](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L105)*
|
||||
*Defined in [ethereum-types/src/index.ts:105](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L105)*
|
||||
|
||||
___
|
||||
|
||||
@ -204,7 +277,7 @@ ___
|
||||
|
||||
• **type**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:102](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L102)*
|
||||
*Defined in [ethereum-types/src/index.ts:102](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L102)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -223,7 +296,7 @@ ___
|
||||
|
||||
• **components**? : *[DataItem](#class-dataitem)[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:137](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L137)*
|
||||
*Defined in [ethereum-types/src/index.ts:137](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L137)*
|
||||
|
||||
___
|
||||
|
||||
@ -231,7 +304,7 @@ ___
|
||||
|
||||
• **name**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:135](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L135)*
|
||||
*Defined in [ethereum-types/src/index.ts:135](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L135)*
|
||||
|
||||
___
|
||||
|
||||
@ -239,7 +312,7 @@ ___
|
||||
|
||||
• **type**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:136](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L136)*
|
||||
*Defined in [ethereum-types/src/index.ts:136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L136)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -256,7 +329,7 @@ ___
|
||||
|
||||
• **author**? : *undefined | string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:628](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L628)*
|
||||
*Defined in [ethereum-types/src/index.ts:628](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L628)*
|
||||
|
||||
___
|
||||
|
||||
@ -264,7 +337,7 @@ ___
|
||||
|
||||
• **methods**: *object*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:629](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L629)*
|
||||
*Defined in [ethereum-types/src/index.ts:629](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L629)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
@ -276,7 +349,7 @@ ___
|
||||
|
||||
• **title**? : *undefined | string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:627](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L627)*
|
||||
*Defined in [ethereum-types/src/index.ts:627](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L627)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -291,7 +364,7 @@ ___
|
||||
|
||||
• **anonymous**: *boolean*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:131](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L131)*
|
||||
*Defined in [ethereum-types/src/index.ts:131](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L131)*
|
||||
|
||||
___
|
||||
|
||||
@ -299,7 +372,7 @@ ___
|
||||
|
||||
• **inputs**: *[EventParameter](#class-eventparameter)[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:130](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L130)*
|
||||
*Defined in [ethereum-types/src/index.ts:130](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L130)*
|
||||
|
||||
___
|
||||
|
||||
@ -307,7 +380,7 @@ ___
|
||||
|
||||
• **name**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:129](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L129)*
|
||||
*Defined in [ethereum-types/src/index.ts:129](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L129)*
|
||||
|
||||
___
|
||||
|
||||
@ -315,7 +388,7 @@ ___
|
||||
|
||||
• **type**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:128](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L128)*
|
||||
*Defined in [ethereum-types/src/index.ts:128](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L128)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -330,7 +403,7 @@ ___
|
||||
|
||||
*Inherited from [DataItem](#interface-dataitem).[components](#optional-components)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:137](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L137)*
|
||||
*Defined in [ethereum-types/src/index.ts:137](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L137)*
|
||||
|
||||
___
|
||||
|
||||
@ -338,7 +411,7 @@ ___
|
||||
|
||||
• **indexed**: *boolean*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:116](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L116)*
|
||||
*Defined in [ethereum-types/src/index.ts:116](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L116)*
|
||||
|
||||
___
|
||||
|
||||
@ -348,7 +421,7 @@ ___
|
||||
|
||||
*Inherited from [DataItem](#interface-dataitem).[name](#name)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:135](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L135)*
|
||||
*Defined in [ethereum-types/src/index.ts:135](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L135)*
|
||||
|
||||
___
|
||||
|
||||
@ -358,7 +431,7 @@ ___
|
||||
|
||||
*Inherited from [DataItem](#interface-dataitem).[type](#type)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:136](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L136)*
|
||||
*Defined in [ethereum-types/src/index.ts:136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L136)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -371,7 +444,7 @@ ___
|
||||
|
||||
• **object**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:622](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L622)*
|
||||
*Defined in [ethereum-types/src/index.ts:622](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L622)*
|
||||
|
||||
___
|
||||
|
||||
@ -379,7 +452,7 @@ ___
|
||||
|
||||
• **sourceMap**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:623](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L623)*
|
||||
*Defined in [ethereum-types/src/index.ts:623](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L623)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -392,7 +465,7 @@ ___
|
||||
|
||||
• **bytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:617](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L617)*
|
||||
*Defined in [ethereum-types/src/index.ts:617](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L617)*
|
||||
|
||||
___
|
||||
|
||||
@ -400,7 +473,7 @@ ___
|
||||
|
||||
• **deployedBytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:618](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L618)*
|
||||
*Defined in [ethereum-types/src/index.ts:618](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L618)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -413,7 +486,7 @@ ___
|
||||
|
||||
• **payable**: *boolean*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:112](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L112)*
|
||||
*Defined in [ethereum-types/src/index.ts:112](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L112)*
|
||||
|
||||
___
|
||||
|
||||
@ -421,90 +494,13 @@ ___
|
||||
|
||||
• **type**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:111](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L111)*
|
||||
*Defined in [ethereum-types/src/index.ts:111](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L111)*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
# Class: Compiler
|
||||
|
||||
The Compiler facilitates compiling Solidity smart contracts and saves the results
|
||||
to artifact files.
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new Compiler**(`opts?`: [CompilerOptions](#interface-compileroptions)): *[Compiler](#class-compiler)*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:97](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-compiler/src/compiler.ts#L97)*
|
||||
|
||||
Instantiates a new instance of the Compiler class.
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`opts?` | [CompilerOptions](#interface-compileroptions) | Optional compiler options |
|
||||
|
||||
**Returns:** *[Compiler](#class-compiler)*
|
||||
|
||||
An instance of the Compiler class.
|
||||
|
||||
## Methods
|
||||
|
||||
### compileAsync
|
||||
|
||||
▸ **compileAsync**(): *`Promise<void>`*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:138](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-compiler/src/compiler.ts#L138)*
|
||||
|
||||
Compiles selected Solidity files found in `contractsDir` and writes JSON artifacts to `artifactsDir`.
|
||||
|
||||
**Returns:** *`Promise<void>`*
|
||||
|
||||
___
|
||||
|
||||
### getCompilerOutputsAsync
|
||||
|
||||
▸ **getCompilerOutputsAsync**(): *`Promise<StandardOutput[]>`*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:151](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-compiler/src/compiler.ts#L151)*
|
||||
|
||||
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<StandardOutput[]>`*
|
||||
|
||||
___
|
||||
|
||||
### getContractNamesToCompile
|
||||
|
||||
▸ **getContractNamesToCompile**(): *string[]*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:192](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-compiler/src/compiler.ts#L192)*
|
||||
|
||||
Gets a list of contracts to compile.
|
||||
|
||||
**Returns:** *string[]*
|
||||
|
||||
___
|
||||
|
||||
### watchAsync
|
||||
|
||||
▸ **watchAsync**(): *`Promise<void>`*
|
||||
|
||||
*Defined in [sol-compiler/src/compiler.ts:155](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-compiler/src/compiler.ts#L155)*
|
||||
|
||||
**Returns:** *`Promise<void>`*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
@ -529,7 +525,7 @@ ___
|
||||
|
||||
• **constant**: *boolean*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:94](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L94)*
|
||||
*Defined in [ethereum-types/src/index.ts:94](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L94)*
|
||||
|
||||
___
|
||||
|
||||
@ -537,7 +533,7 @@ ___
|
||||
|
||||
• **inputs**: *[DataItem](#class-dataitem)[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:92](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L92)*
|
||||
*Defined in [ethereum-types/src/index.ts:92](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L92)*
|
||||
|
||||
___
|
||||
|
||||
@ -545,7 +541,7 @@ ___
|
||||
|
||||
• **name**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:91](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L91)*
|
||||
*Defined in [ethereum-types/src/index.ts:91](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L91)*
|
||||
|
||||
___
|
||||
|
||||
@ -553,7 +549,7 @@ ___
|
||||
|
||||
• **outputs**: *[DataItem](#class-dataitem)[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:93](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L93)*
|
||||
*Defined in [ethereum-types/src/index.ts:93](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L93)*
|
||||
|
||||
___
|
||||
|
||||
@ -561,7 +557,7 @@ ___
|
||||
|
||||
• **payable**: *boolean*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:96](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L96)*
|
||||
*Defined in [ethereum-types/src/index.ts:96](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L96)*
|
||||
|
||||
___
|
||||
|
||||
@ -569,7 +565,7 @@ ___
|
||||
|
||||
• **stateMutability**: *[StateMutability](#statemutability)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:95](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L95)*
|
||||
*Defined in [ethereum-types/src/index.ts:95](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L95)*
|
||||
|
||||
___
|
||||
|
||||
@ -577,7 +573,7 @@ ___
|
||||
|
||||
• **type**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:90](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L90)*
|
||||
*Defined in [ethereum-types/src/index.ts:90](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L90)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -590,7 +586,7 @@ ___
|
||||
|
||||
• **enabled**: *boolean*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:708](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L708)*
|
||||
*Defined in [ethereum-types/src/index.ts:708](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L708)*
|
||||
|
||||
___
|
||||
|
||||
@ -598,7 +594,7 @@ ___
|
||||
|
||||
• **runs**? : *undefined | number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:709](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L709)*
|
||||
*Defined in [ethereum-types/src/index.ts:709](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L709)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -615,7 +611,7 @@ ___
|
||||
|
||||
• **arguments**? : *[DataItem](#class-dataitem)[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:122](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L122)*
|
||||
*Defined in [ethereum-types/src/index.ts:122](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L122)*
|
||||
|
||||
___
|
||||
|
||||
@ -623,7 +619,7 @@ ___
|
||||
|
||||
• **name**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:121](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L121)*
|
||||
*Defined in [ethereum-types/src/index.ts:121](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L121)*
|
||||
|
||||
___
|
||||
|
||||
@ -631,7 +627,7 @@ ___
|
||||
|
||||
• **type**: *"error"*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:120](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L120)*
|
||||
*Defined in [ethereum-types/src/index.ts:120](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L120)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -644,7 +640,7 @@ ___
|
||||
|
||||
• **component**: *"general" | "ewasm"*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:604](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L604)*
|
||||
*Defined in [ethereum-types/src/index.ts:604](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L604)*
|
||||
|
||||
___
|
||||
|
||||
@ -652,7 +648,7 @@ ___
|
||||
|
||||
• **formattedMessage**? : *undefined | string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:607](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L607)*
|
||||
*Defined in [ethereum-types/src/index.ts:607](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L607)*
|
||||
|
||||
___
|
||||
|
||||
@ -660,7 +656,7 @@ ___
|
||||
|
||||
• **message**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:606](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L606)*
|
||||
*Defined in [ethereum-types/src/index.ts:606](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L606)*
|
||||
|
||||
___
|
||||
|
||||
@ -668,7 +664,7 @@ ___
|
||||
|
||||
• **severity**: *[ErrorSeverity](#errorseverity)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:605](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L605)*
|
||||
*Defined in [ethereum-types/src/index.ts:605](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L605)*
|
||||
|
||||
___
|
||||
|
||||
@ -676,7 +672,7 @@ ___
|
||||
|
||||
• **sourceLocation**? : *[SourceLocation](#class-sourcelocation)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:602](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L602)*
|
||||
*Defined in [ethereum-types/src/index.ts:602](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L602)*
|
||||
|
||||
___
|
||||
|
||||
@ -684,7 +680,7 @@ ___
|
||||
|
||||
• **type**: *[ErrorType](#errortype)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:603](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L603)*
|
||||
*Defined in [ethereum-types/src/index.ts:603](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L603)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -701,7 +697,7 @@ ___
|
||||
|
||||
• **abi**: *[ContractAbi](#contractabi)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:564](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L564)*
|
||||
*Defined in [ethereum-types/src/index.ts:564](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L564)*
|
||||
|
||||
___
|
||||
|
||||
@ -709,7 +705,7 @@ ___
|
||||
|
||||
• **devdoc**? : *[DevdocOutput](#class-devdocoutput)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:566](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L566)*
|
||||
*Defined in [ethereum-types/src/index.ts:566](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L566)*
|
||||
|
||||
___
|
||||
|
||||
@ -717,7 +713,7 @@ ___
|
||||
|
||||
• **evm**: *[EvmOutput](#class-evmoutput)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:565](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L565)*
|
||||
*Defined in [ethereum-types/src/index.ts:565](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L565)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -730,7 +726,7 @@ ___
|
||||
|
||||
• **contracts**: *object*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:578](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L578)*
|
||||
*Defined in [ethereum-types/src/index.ts:578](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L578)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
@ -744,7 +740,7 @@ ___
|
||||
|
||||
• **errors**: *[SolcError](#class-solcerror)[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:570](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L570)*
|
||||
*Defined in [ethereum-types/src/index.ts:570](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L570)*
|
||||
|
||||
___
|
||||
|
||||
@ -752,7 +748,7 @@ ___
|
||||
|
||||
• **sources**: *object*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:571](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L571)*
|
||||
*Defined in [ethereum-types/src/index.ts:571](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L571)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
@ -783,7 +779,7 @@ ___
|
||||
|
||||
*Overrides [DataItem](_ethereum_types_src_index_.dataitem.md).[components](#optional-components)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:141](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L141)*
|
||||
*Defined in [ethereum-types/src/index.ts:141](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L141)*
|
||||
|
||||
___
|
||||
|
||||
@ -793,7 +789,7 @@ ___
|
||||
|
||||
*Inherited from [DataItem](#interface-dataitem).[name](#name)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:135](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L135)*
|
||||
*Defined in [ethereum-types/src/index.ts:135](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L135)*
|
||||
|
||||
___
|
||||
|
||||
@ -803,7 +799,7 @@ ___
|
||||
|
||||
*Inherited from [DataItem](#interface-dataitem).[type](#type)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:136](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L136)*
|
||||
*Defined in [ethereum-types/src/index.ts:136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L136)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -828,7 +824,7 @@ ___
|
||||
|
||||
Ƭ **AbiDefinition**: *[FunctionAbi](_ethereum_types_src_index_.md#functionabi) | [EventAbi](#interface-eventabi) | [RevertErrorAbi](#interface-reverterrorabi)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:80](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L80)*
|
||||
*Defined in [ethereum-types/src/index.ts:80](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L80)*
|
||||
|
||||
___
|
||||
|
||||
@ -838,7 +834,7 @@ ___
|
||||
|
||||
Ƭ **ConstructorStateMutability**: *"nonpayable" | "payable"*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:84](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L84)*
|
||||
*Defined in [ethereum-types/src/index.ts:84](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L84)*
|
||||
|
||||
___
|
||||
|
||||
@ -846,7 +842,7 @@ ___
|
||||
|
||||
Ƭ **ContractAbi**: *[AbiDefinition](#abidefinition)[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:78](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L78)*
|
||||
*Defined in [ethereum-types/src/index.ts:78](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L78)*
|
||||
|
||||
___
|
||||
|
||||
@ -860,7 +856,7 @@ ___
|
||||
|
||||
Ƭ **ErrorSeverity**: *"error" | "warning"*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:599](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L599)*
|
||||
*Defined in [ethereum-types/src/index.ts:599](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L599)*
|
||||
|
||||
___
|
||||
|
||||
@ -868,7 +864,7 @@ ___
|
||||
|
||||
Ƭ **ErrorType**: *"JSONError" | "IOError" | "ParserError" | "DocstringParsingError" | "SyntaxError" | "DeclarationError" | "TypeError" | "UnimplementedFeatureError" | "InternalCompilerError" | "Exception" | "CompilerError" | "FatalError" | "Warning"*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:585](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L585)*
|
||||
*Defined in [ethereum-types/src/index.ts:585](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L585)*
|
||||
|
||||
___
|
||||
|
||||
@ -876,7 +872,7 @@ ___
|
||||
|
||||
Ƭ **FunctionAbi**: *[MethodAbi](#interface-methodabi) | [ConstructorAbi](#interface-constructorabi) | [FallbackAbi](#interface-fallbackabi)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:82](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L82)*
|
||||
*Defined in [ethereum-types/src/index.ts:82](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L82)*
|
||||
|
||||
___
|
||||
|
||||
@ -888,7 +884,7 @@ ___
|
||||
|
||||
Ƭ **OutputField**: *"*" | "ast" | "legacyAST" | "abi" | "devdoc" | "userdoc" | "metadata" | "ir" | "evm.assembly" | "evm.legacyAssembly" | "evm.bytecode.object" | "evm.bytecode.opcodes" | "evm.bytecode.sourceMap" | "evm.bytecode.linkReferences" | "evm.deployedBytecode.object" | "evm.deployedBytecode.opcodes" | "evm.deployedBytecode.sourceMap" | "evm.deployedBytecode.linkReferences" | "evm.methodIdentifiers" | "evm.gasEstimates" | "ewasm.wast" | "ewasm.wasm"*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:525](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L525)*
|
||||
*Defined in [ethereum-types/src/index.ts:525](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L525)*
|
||||
|
||||
___
|
||||
|
||||
@ -896,7 +892,7 @@ ___
|
||||
|
||||
Ƭ **ParamDescription**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:561](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L561)*
|
||||
*Defined in [ethereum-types/src/index.ts:561](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L561)*
|
||||
|
||||
___
|
||||
|
||||
@ -906,7 +902,7 @@ ___
|
||||
|
||||
Ƭ **StateMutability**: *"pure" | "view" | [ConstructorStateMutability](#constructorstatemutability)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:85](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L85)*
|
||||
*Defined in [ethereum-types/src/index.ts:85](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L85)*
|
||||
|
||||
___
|
||||
|
||||
@ -918,3 +914,7 @@ ___
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "3.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "3.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v3.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v3.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,367 +1,3 @@
|
||||
|
||||
|
||||
# Class: AbstractArtifactAdapter
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
### `Abstract` collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts:4](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts#L4)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: SolCompilerArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new SolCompilerArtifactAdapter**(`artifactsPath?`: undefined | string, `sourcesPath?`: undefined | string): *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:18](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L18)*
|
||||
|
||||
Instantiates a SolCompilerArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`artifactsPath?` | undefined \| string | Path to your artifacts directory |
|
||||
`sourcesPath?` | undefined \| string | Path to your contract sources directory |
|
||||
|
||||
**Returns:** *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:44](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L44)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: TruffleArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new TruffleArtifactAdapter**(`projectRoot`: string, `solcVersion`: string): *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:29](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L29)*
|
||||
|
||||
Instantiates a TruffleArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`projectRoot` | string | Path to the truffle project's root directory |
|
||||
`solcVersion` | string | Solidity version with which to compile all the contracts |
|
||||
|
||||
**Returns:** *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:40](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L40)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
### Callback
|
||||
|
||||
Ƭ **Callback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:131](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L131)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (): *void*
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### ErrorCallback
|
||||
|
||||
Ƭ **ErrorCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:130](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L130)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `data?`: any): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`data?` | any |
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### NextCallback
|
||||
|
||||
Ƭ **NextCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:133](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L133)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`callback?`: [OnNextCompleted](#onnextcompleted)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`callback?` | [OnNextCompleted](#onnextcompleted) |
|
||||
|
||||
___
|
||||
|
||||
### OnNextCompleted
|
||||
|
||||
Ƭ **OnNextCompleted**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:132](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L132)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `result`: any, `cb`: [Callback](#callback)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`result` | any |
|
||||
`cb` | [Callback](#callback) |
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Interface: JSONRPCRequestPayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:330](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L330)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:331](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L331)*
|
||||
|
||||
___
|
||||
|
||||
### method
|
||||
|
||||
• **method**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:329](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L329)*
|
||||
|
||||
___
|
||||
|
||||
### params
|
||||
|
||||
• **params**: *any[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:328](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L328)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponseError
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### code
|
||||
|
||||
• **code**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:336](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L336)*
|
||||
|
||||
___
|
||||
|
||||
### message
|
||||
|
||||
• **message**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:335](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L335)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponsePayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### `Optional` error
|
||||
|
||||
• **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:343](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L343)*
|
||||
|
||||
___
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:341](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L341)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:342](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L342)*
|
||||
|
||||
___
|
||||
|
||||
### result
|
||||
|
||||
• **result**: *any*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:340](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L340)*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Class: CoverageSubprovider
|
||||
|
||||
This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface.
|
||||
@ -376,7 +12,7 @@ It's used to compute your code coverage while running solidity tests.
|
||||
|
||||
*Overrides void*
|
||||
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-coverage/src/coverage_subprovider.ts#L44)*
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-coverage/src/coverage_subprovider.ts#L44)*
|
||||
|
||||
Instantiates a CoverageSubprovider instance
|
||||
|
||||
@ -498,7 +134,7 @@ ___
|
||||
|
||||
▸ **writeCoverageAsync**(): *`Promise<void>`*
|
||||
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-coverage/src/coverage_subprovider.ts#L78)*
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:78](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-coverage/src/coverage_subprovider.ts#L78)*
|
||||
|
||||
Write the test coverage results to a file in Istanbul format.
|
||||
|
||||
@ -506,6 +142,292 @@ Write the test coverage results to a file in Istanbul format.
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: AbstractArtifactAdapter
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
### `Abstract` collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts:4](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts#L4)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: SolCompilerArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new SolCompilerArtifactAdapter**(`artifactsPath?`: undefined | string, `sourcesPath?`: undefined | string): *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:18](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L18)*
|
||||
|
||||
Instantiates a SolCompilerArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`artifactsPath?` | undefined \| string | Path to your artifacts directory |
|
||||
`sourcesPath?` | undefined \| string | Path to your contract sources directory |
|
||||
|
||||
**Returns:** *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L44)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: TruffleArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new TruffleArtifactAdapter**(`projectRoot`: string, `solcVersion`: string): *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:29](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L29)*
|
||||
|
||||
Instantiates a TruffleArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`projectRoot` | string | Path to the truffle project's root directory |
|
||||
`solcVersion` | string | Solidity version with which to compile all the contracts |
|
||||
|
||||
**Returns:** *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:40](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L40)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Interface: JSONRPCRequestPayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:330](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L330)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:331](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L331)*
|
||||
|
||||
___
|
||||
|
||||
### method
|
||||
|
||||
• **method**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:329](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L329)*
|
||||
|
||||
___
|
||||
|
||||
### params
|
||||
|
||||
• **params**: *any[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:328](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L328)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponseError
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### code
|
||||
|
||||
• **code**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:336](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L336)*
|
||||
|
||||
___
|
||||
|
||||
### message
|
||||
|
||||
• **message**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:335](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L335)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponsePayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### `Optional` error
|
||||
|
||||
• **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:343](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L343)*
|
||||
|
||||
___
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:341](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L341)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:342](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L342)*
|
||||
|
||||
___
|
||||
|
||||
### result
|
||||
|
||||
• **result**: *any*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:340](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L340)*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -595,7 +517,7 @@ ___
|
||||
|
||||
*Overrides void*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:136](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L136)*
|
||||
*Defined in [subproviders/src/types.ts:136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L136)*
|
||||
|
||||
___
|
||||
|
||||
@ -655,19 +577,6 @@ Defined in ethereum-types/lib/index.d.ts:265
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -706,7 +615,7 @@ Defined in ethereum-types/lib/index.d.ts:265
|
||||
|
||||
Ƭ **CoverageSubproviderPartialConfig**: *`Partial<CoverageSubproviderConfig>`*
|
||||
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:31](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-coverage/src/coverage_subprovider.ts#L31)*
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:31](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-coverage/src/coverage_subprovider.ts#L31)*
|
||||
|
||||
## Object literals
|
||||
|
||||
@ -714,19 +623,19 @@ Defined in ethereum-types/lib/index.d.ts:265
|
||||
|
||||
#### ▪ **DEFAULT_COVERAGE_SUBPROVIDER_CONFIG**: *object*
|
||||
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-coverage/src/coverage_subprovider.ts#L33)*
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:33](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-coverage/src/coverage_subprovider.ts#L33)*
|
||||
|
||||
#### ignoreFilesGlobs
|
||||
|
||||
• **ignoreFilesGlobs**: *never[]* = []
|
||||
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-coverage/src/coverage_subprovider.ts#L35)*
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:35](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-coverage/src/coverage_subprovider.ts#L35)*
|
||||
|
||||
#### isVerbose
|
||||
|
||||
• **isVerbose**: *boolean* = true
|
||||
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:34](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-coverage/src/coverage_subprovider.ts#L34)*
|
||||
*Defined in [sol-coverage/src/coverage_subprovider.ts:34](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-coverage/src/coverage_subprovider.ts#L34)*
|
||||
|
||||
<hr />
|
||||
|
||||
@ -742,3 +651,94 @@ Defined in ethereum-types/lib/index.d.ts:265
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
### Callback
|
||||
|
||||
Ƭ **Callback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:131](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L131)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (): *void*
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### ErrorCallback
|
||||
|
||||
Ƭ **ErrorCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:130](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L130)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `data?`: any): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`data?` | any |
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### NextCallback
|
||||
|
||||
Ƭ **NextCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:133](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L133)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`callback?`: [OnNextCompleted](#onnextcompleted)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`callback?` | [OnNextCompleted](#onnextcompleted) |
|
||||
|
||||
___
|
||||
|
||||
### OnNextCompleted
|
||||
|
||||
Ƭ **OnNextCompleted**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:132](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L132)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `result`: any, `cb`: [Callback](#callback)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`result` | any |
|
||||
`cb` | [Callback](#callback) |
|
||||
|
||||
<hr />
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "3.2.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "3.2.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v3.2.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v3.2.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,367 +1,3 @@
|
||||
|
||||
|
||||
# Class: AbstractArtifactAdapter
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
### `Abstract` collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts:4](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts#L4)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: SolCompilerArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new SolCompilerArtifactAdapter**(`artifactsPath?`: undefined | string, `sourcesPath?`: undefined | string): *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:18](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L18)*
|
||||
|
||||
Instantiates a SolCompilerArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`artifactsPath?` | undefined \| string | Path to your artifacts directory |
|
||||
`sourcesPath?` | undefined \| string | Path to your contract sources directory |
|
||||
|
||||
**Returns:** *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:44](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L44)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: TruffleArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new TruffleArtifactAdapter**(`projectRoot`: string, `solcVersion`: string): *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:29](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L29)*
|
||||
|
||||
Instantiates a TruffleArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`projectRoot` | string | Path to the truffle project's root directory |
|
||||
`solcVersion` | string | Solidity version with which to compile all the contracts |
|
||||
|
||||
**Returns:** *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:40](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L40)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
### Callback
|
||||
|
||||
Ƭ **Callback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:131](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L131)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (): *void*
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### ErrorCallback
|
||||
|
||||
Ƭ **ErrorCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:130](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L130)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `data?`: any): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`data?` | any |
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### NextCallback
|
||||
|
||||
Ƭ **NextCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:133](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L133)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`callback?`: [OnNextCompleted](#onnextcompleted)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`callback?` | [OnNextCompleted](#onnextcompleted) |
|
||||
|
||||
___
|
||||
|
||||
### OnNextCompleted
|
||||
|
||||
Ƭ **OnNextCompleted**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:132](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L132)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `result`: any, `cb`: [Callback](#callback)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`result` | any |
|
||||
`cb` | [Callback](#callback) |
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Interface: JSONRPCRequestPayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:330](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L330)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:331](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L331)*
|
||||
|
||||
___
|
||||
|
||||
### method
|
||||
|
||||
• **method**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:329](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L329)*
|
||||
|
||||
___
|
||||
|
||||
### params
|
||||
|
||||
• **params**: *any[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:328](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L328)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponseError
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### code
|
||||
|
||||
• **code**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:336](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L336)*
|
||||
|
||||
___
|
||||
|
||||
### message
|
||||
|
||||
• **message**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:335](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L335)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponsePayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### `Optional` error
|
||||
|
||||
• **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:343](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L343)*
|
||||
|
||||
___
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:341](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L341)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:342](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L342)*
|
||||
|
||||
___
|
||||
|
||||
### result
|
||||
|
||||
• **result**: *any*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:340](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L340)*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Class: ProfilerSubprovider
|
||||
|
||||
This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface.
|
||||
@ -376,7 +12,7 @@ ProfilerSubprovider is used to profile Solidity code while running tests.
|
||||
|
||||
*Overrides void*
|
||||
|
||||
*Defined in [sol-profiler/src/profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-profiler/src/profiler_subprovider.ts#L30)*
|
||||
*Defined in [sol-profiler/src/profiler_subprovider.ts:30](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-profiler/src/profiler_subprovider.ts#L30)*
|
||||
|
||||
Instantiates a ProfilerSubprovider instance
|
||||
|
||||
@ -498,7 +134,7 @@ ___
|
||||
|
||||
▸ **writeProfilerOutputAsync**(): *`Promise<void>`*
|
||||
|
||||
*Defined in [sol-profiler/src/profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-profiler/src/profiler_subprovider.ts#L104)*
|
||||
*Defined in [sol-profiler/src/profiler_subprovider.ts:104](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-profiler/src/profiler_subprovider.ts#L104)*
|
||||
|
||||
Write the test profiler results to a file in Istanbul format.
|
||||
|
||||
@ -506,6 +142,292 @@ Write the test profiler results to a file in Istanbul format.
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: AbstractArtifactAdapter
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
### `Abstract` collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts:4](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts#L4)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: SolCompilerArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new SolCompilerArtifactAdapter**(`artifactsPath?`: undefined | string, `sourcesPath?`: undefined | string): *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:18](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L18)*
|
||||
|
||||
Instantiates a SolCompilerArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`artifactsPath?` | undefined \| string | Path to your artifacts directory |
|
||||
`sourcesPath?` | undefined \| string | Path to your contract sources directory |
|
||||
|
||||
**Returns:** *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L44)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: TruffleArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new TruffleArtifactAdapter**(`projectRoot`: string, `solcVersion`: string): *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:29](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L29)*
|
||||
|
||||
Instantiates a TruffleArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`projectRoot` | string | Path to the truffle project's root directory |
|
||||
`solcVersion` | string | Solidity version with which to compile all the contracts |
|
||||
|
||||
**Returns:** *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:40](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L40)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Interface: JSONRPCRequestPayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:330](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L330)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:331](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L331)*
|
||||
|
||||
___
|
||||
|
||||
### method
|
||||
|
||||
• **method**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:329](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L329)*
|
||||
|
||||
___
|
||||
|
||||
### params
|
||||
|
||||
• **params**: *any[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:328](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L328)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponseError
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### code
|
||||
|
||||
• **code**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:336](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L336)*
|
||||
|
||||
___
|
||||
|
||||
### message
|
||||
|
||||
• **message**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:335](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L335)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponsePayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### `Optional` error
|
||||
|
||||
• **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:343](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L343)*
|
||||
|
||||
___
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:341](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L341)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:342](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L342)*
|
||||
|
||||
___
|
||||
|
||||
### result
|
||||
|
||||
• **result**: *any*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:340](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L340)*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -593,7 +515,7 @@ ___
|
||||
|
||||
*Overrides void*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:136](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L136)*
|
||||
*Defined in [subproviders/src/types.ts:136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L136)*
|
||||
|
||||
___
|
||||
|
||||
@ -653,19 +575,6 @@ Defined in ethereum-types/lib/index.d.ts:265
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -704,7 +613,7 @@ Defined in ethereum-types/lib/index.d.ts:265
|
||||
|
||||
▸ **profilerHandler**(`contractData`: `ContractData`, `subtrace`: [Subtrace](#subtrace), `pcToSourceRange`: object, `fileIndex`: number): *`Coverage`*
|
||||
|
||||
*Defined in [sol-profiler/src/profiler_subprovider.ts:118](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-profiler/src/profiler_subprovider.ts#L118)*
|
||||
*Defined in [sol-profiler/src/profiler_subprovider.ts:118](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-profiler/src/profiler_subprovider.ts#L118)*
|
||||
|
||||
Computed partial coverage for a single file & subtrace for the purposes of
|
||||
gas profiling.
|
||||
@ -736,3 +645,94 @@ Partial istanbul coverage for that file & subtrace
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
### Callback
|
||||
|
||||
Ƭ **Callback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:131](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L131)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (): *void*
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### ErrorCallback
|
||||
|
||||
Ƭ **ErrorCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:130](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L130)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `data?`: any): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`data?` | any |
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### NextCallback
|
||||
|
||||
Ƭ **NextCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:133](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L133)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`callback?`: [OnNextCompleted](#onnextcompleted)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`callback?` | [OnNextCompleted](#onnextcompleted) |
|
||||
|
||||
___
|
||||
|
||||
### OnNextCompleted
|
||||
|
||||
Ƭ **OnNextCompleted**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:132](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L132)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `result`: any, `cb`: [Callback](#callback)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`result` | any |
|
||||
`cb` | [Callback](#callback) |
|
||||
|
||||
<hr />
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,367 +1,3 @@
|
||||
|
||||
|
||||
# Class: AbstractArtifactAdapter
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
### `Abstract` collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts:4](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts#L4)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: SolCompilerArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new SolCompilerArtifactAdapter**(`artifactsPath?`: undefined | string, `sourcesPath?`: undefined | string): *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:18](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L18)*
|
||||
|
||||
Instantiates a SolCompilerArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`artifactsPath?` | undefined \| string | Path to your artifacts directory |
|
||||
`sourcesPath?` | undefined \| string | Path to your contract sources directory |
|
||||
|
||||
**Returns:** *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:44](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L44)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: TruffleArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new TruffleArtifactAdapter**(`projectRoot`: string, `solcVersion`: string): *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:29](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L29)*
|
||||
|
||||
Instantiates a TruffleArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`projectRoot` | string | Path to the truffle project's root directory |
|
||||
`solcVersion` | string | Solidity version with which to compile all the contracts |
|
||||
|
||||
**Returns:** *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:40](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L40)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
### Callback
|
||||
|
||||
Ƭ **Callback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:131](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L131)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (): *void*
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### ErrorCallback
|
||||
|
||||
Ƭ **ErrorCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:130](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L130)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `data?`: any): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`data?` | any |
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### NextCallback
|
||||
|
||||
Ƭ **NextCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:133](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L133)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`callback?`: [OnNextCompleted](#onnextcompleted)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`callback?` | [OnNextCompleted](#onnextcompleted) |
|
||||
|
||||
___
|
||||
|
||||
### OnNextCompleted
|
||||
|
||||
Ƭ **OnNextCompleted**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:132](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L132)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `result`: any, `cb`: [Callback](#callback)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`result` | any |
|
||||
`cb` | [Callback](#callback) |
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Interface: JSONRPCRequestPayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:330](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L330)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:331](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L331)*
|
||||
|
||||
___
|
||||
|
||||
### method
|
||||
|
||||
• **method**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:329](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L329)*
|
||||
|
||||
___
|
||||
|
||||
### params
|
||||
|
||||
• **params**: *any[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:328](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L328)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponseError
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### code
|
||||
|
||||
• **code**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:336](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L336)*
|
||||
|
||||
___
|
||||
|
||||
### message
|
||||
|
||||
• **message**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:335](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L335)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponsePayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### `Optional` error
|
||||
|
||||
• **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:343](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L343)*
|
||||
|
||||
___
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:341](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L341)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:342](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L342)*
|
||||
|
||||
___
|
||||
|
||||
### result
|
||||
|
||||
• **result**: *any*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:340](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/ethereum-types/src/index.ts#L340)*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Class: RevertTraceSubprovider
|
||||
|
||||
This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface.
|
||||
@ -376,7 +12,7 @@ It is used to report call stack traces whenever a revert occurs.
|
||||
|
||||
*Overrides void*
|
||||
|
||||
*Defined in [sol-trace/src/revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/sol-trace/src/revert_trace_subprovider.ts#L27)*
|
||||
*Defined in [sol-trace/src/revert_trace_subprovider.ts:27](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-trace/src/revert_trace_subprovider.ts#L27)*
|
||||
|
||||
Instantiates a RevertTraceSubprovider instance
|
||||
|
||||
@ -494,6 +130,292 @@ Stops trace collection
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: AbstractArtifactAdapter
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
### `Abstract` collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts:4](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/abstract_artifact_adapter.ts#L4)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: SolCompilerArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new SolCompilerArtifactAdapter**(`artifactsPath?`: undefined | string, `sourcesPath?`: undefined | string): *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:18](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L18)*
|
||||
|
||||
Instantiates a SolCompilerArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`artifactsPath?` | undefined \| string | Path to your artifacts directory |
|
||||
`sourcesPath?` | undefined \| string | Path to your contract sources directory |
|
||||
|
||||
**Returns:** *[SolCompilerArtifactAdapter](#class-solcompilerartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/sol_compiler_artifact_adapter.ts#L44)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
# Class: TruffleArtifactAdapter
|
||||
|
||||
|
||||
## Constructors
|
||||
|
||||
|
||||
|
||||
\+ **new TruffleArtifactAdapter**(`projectRoot`: string, `solcVersion`: string): *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:29](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L29)*
|
||||
|
||||
Instantiates a TruffleArtifactAdapter
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type | Description |
|
||||
------ | ------ | ------ |
|
||||
`projectRoot` | string | Path to the truffle project's root directory |
|
||||
`solcVersion` | string | Solidity version with which to compile all the contracts |
|
||||
|
||||
**Returns:** *[TruffleArtifactAdapter](#class-truffleartifactadapter)*
|
||||
|
||||
## Methods
|
||||
|
||||
### collectContractsDataAsync
|
||||
|
||||
▸ **collectContractsDataAsync**(): *`Promise<ContractData[]>`*
|
||||
|
||||
*Overrides [AbstractArtifactAdapter](_sol_tracing_utils_src_artifact_adapters_abstract_artifact_adapter_.abstractartifactadapter.md).[collectContractsDataAsync](#abstract-collectcontractsdataasync)*
|
||||
|
||||
*Defined in [sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts:40](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/sol-tracing-utils/src/artifact_adapters/truffle_artifact_adapter.ts#L40)*
|
||||
|
||||
**Returns:** *`Promise<ContractData[]>`*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Interface: JSONRPCRequestPayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:330](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L330)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:331](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L331)*
|
||||
|
||||
___
|
||||
|
||||
### method
|
||||
|
||||
• **method**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:329](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L329)*
|
||||
|
||||
___
|
||||
|
||||
### params
|
||||
|
||||
• **params**: *any[]*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:328](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L328)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponseError
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### code
|
||||
|
||||
• **code**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:336](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L336)*
|
||||
|
||||
___
|
||||
|
||||
### message
|
||||
|
||||
• **message**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:335](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L335)*
|
||||
|
||||
<hr />
|
||||
|
||||
# Interface: JSONRPCResponsePayload
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
### `Optional` error
|
||||
|
||||
• **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:343](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L343)*
|
||||
|
||||
___
|
||||
|
||||
### id
|
||||
|
||||
• **id**: *number*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:341](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L341)*
|
||||
|
||||
___
|
||||
|
||||
### jsonrpc
|
||||
|
||||
• **jsonrpc**: *string*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:342](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L342)*
|
||||
|
||||
___
|
||||
|
||||
### result
|
||||
|
||||
• **result**: *any*
|
||||
|
||||
*Defined in [ethereum-types/src/index.ts:340](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L340)*
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -581,7 +503,7 @@ ___
|
||||
|
||||
*Overrides void*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:136](https://github.com/0xProject/0x-monorepo/blob/44793a9cf/packages/subproviders/src/types.ts#L136)*
|
||||
*Defined in [subproviders/src/types.ts:136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L136)*
|
||||
|
||||
___
|
||||
|
||||
@ -641,6 +563,54 @@ Defined in ethereum-types/lib/index.d.ts:265
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
|
||||
@ -654,48 +624,78 @@ Defined in ethereum-types/lib/index.d.ts:265
|
||||
|
||||
|
||||
|
||||
## Type aliases
|
||||
|
||||
### Callback
|
||||
|
||||
Ƭ **Callback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:131](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L131)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (): *void*
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### ErrorCallback
|
||||
|
||||
Ƭ **ErrorCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:130](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L130)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `data?`: any): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`data?` | any |
|
||||
|
||||
___
|
||||
|
||||
|
||||
|
||||
### NextCallback
|
||||
|
||||
Ƭ **NextCallback**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:133](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L133)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`callback?`: [OnNextCompleted](#onnextcompleted)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`callback?` | [OnNextCompleted](#onnextcompleted) |
|
||||
|
||||
___
|
||||
|
||||
### OnNextCompleted
|
||||
|
||||
Ƭ **OnNextCompleted**: *function*
|
||||
|
||||
*Defined in [subproviders/src/types.ts:132](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L132)*
|
||||
|
||||
#### Type declaration:
|
||||
|
||||
▸ (`err`: `Error` | null, `result`: any, `cb`: [Callback](#callback)): *void*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
Name | Type |
|
||||
------ | ------ |
|
||||
`err` | `Error` \| null |
|
||||
`result` | any |
|
||||
`cb` | [Callback](#callback) |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
|
||||
<hr />
|
||||
<hr />
|
||||
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "6.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "6.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v6.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v6.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "2.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "2.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v2.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v2.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
@ -1,13 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "5.1.0-beta.1",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Dependencies updated"
|
||||
}
|
||||
],
|
||||
"timestamp": 1573001598
|
||||
},
|
||||
{
|
||||
"version": "5.1.0-beta.0",
|
||||
"changes": [
|
||||
|
@ -5,10 +5,6 @@ Edit the package's CHANGELOG.json file only.
|
||||
|
||||
CHANGELOG
|
||||
|
||||
## v5.1.0-beta.1 - _November 6, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
||||
## v5.1.0-beta.0 - _October 3, 2019_
|
||||
|
||||
* Dependencies updated
|
||||
|
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user